Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752515AbdLAGX0 (ORCPT ); Fri, 1 Dec 2017 01:23:26 -0500 Received: from a.mx.secunet.com ([62.96.220.36]:41800 "EHLO a.mx.secunet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750988AbdLAGXY (ORCPT ); Fri, 1 Dec 2017 01:23:24 -0500 Date: Fri, 1 Dec 2017 07:23:21 +0100 From: Steffen Klassert To: CC: "David S. Miller" , Herbert Xu , , , , , Subject: Re: [PATCH net-next 3/3] xfrm: Add ESN support for IPSec HW offload Message-ID: <20171201062321.dt3jbrfs4svwpgqx@gauss3.secunet.de> References: <1511862571-3494-1-git-send-email-yossefe@mellanox.com> <1511862571-3494-3-git-send-email-yossefe@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1511862571-3494-3-git-send-email-yossefe@mellanox.com> User-Agent: NeoMutt/20170609 (1.8.3) X-G-Data-MailSecurity-for-Exchange-State: 0 X-G-Data-MailSecurity-for-Exchange-Error: 0 X-G-Data-MailSecurity-for-Exchange-Sender: 23 X-G-Data-MailSecurity-for-Exchange-Server: d65e63f7-5c15-413f-8f63-c0d707471c93 X-EXCLAIMER-MD-CONFIG: 2c86f778-e09b-4440-8b15-867914633a10 X-G-Data-MailSecurity-for-Exchange-Guid: DCD9045B-4FD5-493C-A41E-372156E53AEF Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1082 Lines: 29 On Tue, Nov 28, 2017 at 11:49:30AM +0200, yossefe@mellanox.com wrote: > From: Yossef Efraim > > This patch adds ESN support to IPsec device offload. > Adding new xfrm device operation to synchronize device ESN. > > Signed-off-by: Yossef Efraim > --- > include/linux/netdevice.h | 1 + > include/net/xfrm.h | 12 ++++++++++++ > net/xfrm/xfrm_device.c | 4 ++-- > net/xfrm/xfrm_replay.c | 2 ++ > 4 files changed, 17 insertions(+), 2 deletions(-) > > diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h > index 7de7656..d4e9198 100644 > --- a/include/linux/netdevice.h > +++ b/include/linux/netdevice.h > @@ -825,6 +825,7 @@ struct xfrmdev_ops { > void (*xdo_dev_state_free) (struct xfrm_state *x); > bool (*xdo_dev_offload_ok) (struct sk_buff *skb, > struct xfrm_state *x); > + void (*xdo_dev_state_advance_esn) (struct xfrm_state *x); We now have a documentation for the xfrm offloadin API in the ipsec-next tree. Please document the new device operation there and resubmit. Thanks!