[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080902122722.GA5040@ff.dom.local>
Date: Tue, 2 Sep 2008 12:27:22 +0000
From: Jarek Poplawski <jarkao2@...il.com>
To: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Cc: jeff@...zik.org, netdev@...r.kernel.org, davem@...emloft.net,
Alexander Duyck <alexander.h.duyck@...el.com>
Subject: Re: [UPDATED] [NET-NEXT PATCH 2/2] pkt_action: add new action
skbedit
On 30-08-2008 09:24, Jeff Kirsher wrote:
> From: Alexander Duyck <alexander.h.duyck@...el.com>
>
> This new action will have the ability to change the priority and/or
> queue_mapping fields on an sk_buff.
>
> Signed-off-by: Alexander Duyck <alexander.h.duyck@...el.com>
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Two cosmetic suggestions:
Probably: include/linux/tc_act/Kbuild should be updated too.
> include/linux/tc_act/tc_skbedit.h | 23 ++++
> include/net/tc_act/tc_skbedit.h | 15 +++
> net/sched/Kconfig | 11 ++
> net/sched/Makefile | 1
> net/sched/act_skbedit.c | 200 +++++++++++++++++++++++++++++++++++++
...
> diff --git a/net/sched/act_skbedit.c b/net/sched/act_skbedit.c
> new file mode 100644
> index 0000000..0bc4616
> --- /dev/null
> +++ b/net/sched/act_skbedit.c
...
> +#include <net/pkt_sched.h>
> +
> +#define TCA_ACT_SKBEDIT 11
Doesn't matter, but most of others (except act_simple) keep this TCA_
in include/linux/tc_act/tc_xyz.h.
Otherwise it looks OK to me.
Jarek P.
--
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