Re: [PATCH RFC ipsec-next 2/2] xfrm: Add a device independent napi instance

2017-01-26 Thread Steffen Klassert
On Thu, Jan 26, 2017 at 07:10:22AM -0800, Eric Dumazet wrote: > On Thu, 2017-01-26 at 06:26 -0800, Eric Dumazet wrote: > > > > > Alternative would be to use a > > > > static struct net_device xfrm_napi_anchor_device; > > > > and use gro_cell > > Also take a look at init_dummy_netdev() I alre

Re: [PATCH RFC ipsec-next 2/2] xfrm: Add a device independent napi instance

2017-01-26 Thread Eric Dumazet
On Thu, 2017-01-26 at 06:26 -0800, Eric Dumazet wrote: > > Alternative would be to use a > > static struct net_device xfrm_napi_anchor_device; > > and use gro_cell Also take a look at init_dummy_netdev() Thanks !

Re: [PATCH RFC ipsec-next 2/2] xfrm: Add a device independent napi instance

2017-01-26 Thread Eric Dumazet
On Thu, 2017-01-26 at 07:50 +0100, Steffen Klassert wrote: > This patch adds a napi instance for IPsec GRO. > With this, we handle IPsec GRO with no impact > on the generic networking code. > > Signed-off-by: Steffen Klassert > --- > net/xfrm/xfrm_input.c | 87 >

[PATCH RFC ipsec-next 2/2] xfrm: Add a device independent napi instance

2017-01-25 Thread Steffen Klassert
This patch adds a napi instance for IPsec GRO. With this, we handle IPsec GRO with no impact on the generic networking code. Signed-off-by: Steffen Klassert --- net/xfrm/xfrm_input.c | 87 ++- 1 file changed, 86 insertions(+), 1 deletion(-) diff -