[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 6 Jun 2017 14:22:08 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Jiri Pirko <jiri@...nulli.us>
Cc: netdev@...r.kernel.org, davem@...emloft.net, jhs@...atatu.com,
xiyou.wangcong@...il.com, edumazet@...gle.com,
alexander.h.duyck@...el.com, stephen@...workplumber.org,
daniel@...earbox.net, mlxsw@...lanox.com
Subject: Re: [patch net-next v2 1/6] net: sched: introduce a TRAP control
action
On Tue, Jun 06, 2017 at 02:12:02PM +0200, Jiri Pirko wrote:
> From: Jiri Pirko <jiri@...lanox.com>
>
> There is need to instruct the HW offloaded path to push certain matched
> packets to cpu/kernel for further analysis. So this patch introduces a
> new TRAP control action to TC.
>
> For kernel datapath, this action does not make much sense. So with the
> same logic as in HW, new TRAP behaves similar to STOLEN. The skb is just
> dropped in the datapath (and virtually ejected to an upper level, which
> does not exist in case of kernel).
>
> Signed-off-by: Jiri Pirko <jiri@...lanox.com>
> Reviewed-by: Yotam Gigi <yotamg@...lanox.com>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists