Re: [PATCH net-next 3/4] netdevsim: add ipsec offload testing

2018-06-25 Thread Jakub Kicinski
On Mon, 25 Jun 2018 15:37:10 -0700, Shannon Nelson wrote: > On 6/22/2018 9:07 PM, Jakub Kicinski wrote: > > On Fri, 22 Jun 2018 17:31:37 -0700, Shannon Nelson wrote: > >> Implement the IPsec/XFRM offload API for testing. > >> > >> Signed-off-by: Shannon Nelson > >> +#define NSIM_IPSEC_AUTH_BIT

Re: [PATCH net-next 3/4] netdevsim: add ipsec offload testing

2018-06-25 Thread Shannon Nelson
On 6/22/2018 9:07 PM, Jakub Kicinski wrote: On Fri, 22 Jun 2018 17:31:37 -0700, Shannon Nelson wrote: Implement the IPsec/XFRM offload API for testing. Signed-off-by: Shannon Nelson Thanks for the patch! Just a number of stylistic nit picks. diff --git a/drivers/net/netdevsim/ipsec.c b/dr

Re: [PATCH net-next 3/4] netdevsim: add ipsec offload testing

2018-06-23 Thread Shannon Nelson
On 6/22/2018 9:07 PM, Jakub Kicinski wrote: On Fri, 22 Jun 2018 17:31:37 -0700, Shannon Nelson wrote: Implement the IPsec/XFRM offload API for testing. Signed-off-by: Shannon Nelson Thanks for the patch! Just a number of stylistic nit picks. Thanks for the comments, I'll do a v2 in a coup

Re: [PATCH net-next 3/4] netdevsim: add ipsec offload testing

2018-06-22 Thread Jakub Kicinski
On Fri, 22 Jun 2018 17:31:37 -0700, Shannon Nelson wrote: > Implement the IPsec/XFRM offload API for testing. > > Signed-off-by: Shannon Nelson Thanks for the patch! Just a number of stylistic nit picks. > diff --git a/drivers/net/netdevsim/ipsec.c b/drivers/net/netdevsim/ipsec.c > new file mo

[PATCH net-next 3/4] netdevsim: add ipsec offload testing

2018-06-22 Thread Shannon Nelson
Implement the IPsec/XFRM offload API for testing. Signed-off-by: Shannon Nelson --- drivers/net/netdevsim/Makefile| 4 + drivers/net/netdevsim/ipsec.c | 345 ++ drivers/net/netdevsim/netdev.c| 7 + drivers/net/netdevsim/netdevsim.h | 37