Re: [PATCH v3 next-queue 05/10] ixgbe: add ipsec offload add and remove SA

2017-12-20 Thread Shannon Nelson
On 12/20/2017 6:21 PM, Marcelo Ricardo Leitner wrote: On Wed, Dec 20, 2017 at 05:39:13PM -0800, Shannon Nelson wrote: On 12/20/2017 5:17 PM, Marcelo Ricardo Leitner wrote: Hi, On Tue, Dec 19, 2017 at 03:59:57PM -0800, Shannon Nelson wrote: +} + +static const struct xfrmdev_ops ixgbe_xfrmdev_o

Re: [PATCH v3 next-queue 05/10] ixgbe: add ipsec offload add and remove SA

2017-12-20 Thread Marcelo Ricardo Leitner
On Wed, Dec 20, 2017 at 05:39:13PM -0800, Shannon Nelson wrote: > On 12/20/2017 5:17 PM, Marcelo Ricardo Leitner wrote: > > Hi, > > > > On Tue, Dec 19, 2017 at 03:59:57PM -0800, Shannon Nelson wrote: > > > +} > > > + > > > +static const struct xfrmdev_ops ixgbe_xfrmdev_ops = { > > > + .xdo_dev_sta

Re: [PATCH v3 next-queue 05/10] ixgbe: add ipsec offload add and remove SA

2017-12-20 Thread Shannon Nelson
On 12/20/2017 5:17 PM, Marcelo Ricardo Leitner wrote: Hi, On Tue, Dec 19, 2017 at 03:59:57PM -0800, Shannon Nelson wrote: +} + +static const struct xfrmdev_ops ixgbe_xfrmdev_ops = { + .xdo_dev_state_add = ixgbe_ipsec_add_sa, + .xdo_dev_state_delete = ixgbe_ipsec_del_sa, +}; + This

Re: [PATCH v3 next-queue 05/10] ixgbe: add ipsec offload add and remove SA

2017-12-20 Thread Marcelo Ricardo Leitner
Hi, On Tue, Dec 19, 2017 at 03:59:57PM -0800, Shannon Nelson wrote: > +} > + > +static const struct xfrmdev_ops ixgbe_xfrmdev_ops = { > + .xdo_dev_state_add = ixgbe_ipsec_add_sa, > + .xdo_dev_state_delete = ixgbe_ipsec_del_sa, > +}; > + This struct is only declared if XFRM_OFFLOAD is sele