[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1405945902.10255.117.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Mon, 21 Jul 2014 14:31:42 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Antonio Quartulli <antonio@...hcoding.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org,
Antonio Quartulli <antonio@...n-mesh.com>,
Jamal Hadi Salim <jhs@...atatu.com>
Subject: Re: [PATCH] skbedit: allow the user to specify bitmask for mark
On Mon, 2014-07-21 at 10:35 +0200, Antonio Quartulli wrote:
> From: Antonio Quartulli <antonio@...n-mesh.com>
>
> The user may want to use only some bits of the skb mark in
> his skbedit rules because the remaining part might be used by
> something else.
>
> Introduce the "mask" parameter to the skbedit actor in order
> to implement such functionality.
>
> When the mask is specified, only those bits selected by the
> latter are altered really changed by the actor, while the
> rest is left untouched.
>
> Cc: Jamal Hadi Salim <jhs@...atatu.com>
> Signed-off-by: Antonio Quartulli <antonio@...n-mesh.com>
> ---
> include/net/tc_act/tc_skbedit.h | 1 +
> include/uapi/linux/tc_act/tc_skbedit.h | 2 ++
> net/sched/act_skbedit.c | 20 +++++++++++++++++---
> 3 files changed, 20 insertions(+), 3 deletions(-)
You forgot to update tcf_skbedit_dump()
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists