Netdev List
 help / color / mirror / Atom feed
From: Shannon Nelson <shannon.nelson@oracle.com>
To: Steffen Klassert <steffen.klassert@secunet.com>, yossefe@mellanox.com
Cc: "David S. Miller" <davem@davemloft.net>,
	Herbert Xu <herbert@gondor.apana.org.au>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	borisp@mellanox.com, kliteyn@mellanox.com, yossiku@mellanox.com
Subject: Re: [PATCH net-next 3/3] xfrm: Add ESN support for IPSec HW offload
Date: Fri, 1 Dec 2017 11:23:18 -0800	[thread overview]
Message-ID: <c8c0f366-002b-2de2-bb4f-0ff22775a580@oracle.com> (raw)
In-Reply-To: <20171201062321.dt3jbrfs4svwpgqx@gauss3.secunet.de>

On 11/30/2017 10:23 PM, Steffen Klassert wrote:
> On Tue, Nov 28, 2017 at 11:49:30AM +0200, yossefe@mellanox.com wrote:
>> From: Yossef Efraim <yossefe@mellanox.com>
>>
>> This patch adds ESN support to IPsec device offload.
>> Adding new xfrm device operation to synchronize device ESN.
>>
>> Signed-off-by: Yossef Efraim <yossefe@mellanox.com>
>> ---
>>   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.

Please be sure to specify what the offloading driver is expected to do 
with this.

sln

> 
> Thanks!
> 

  reply	other threads:[~2017-12-01 19:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-28  9:49 [PATCH net-next 1/3] xfrm: Fix xfrm_replay_overflow_offload_esn yossefe
2017-11-28  9:49 ` [PATCH net-next 2/3] xfrm: Fix xfrm_dev_state_add to fail for unsupported HW SA option yossefe
2017-12-01  6:21   ` Steffen Klassert
2017-11-28  9:49 ` [PATCH net-next 3/3] xfrm: Add ESN support for IPSec HW offload yossefe
2017-12-01  6:23   ` Steffen Klassert
2017-12-01 19:23     ` Shannon Nelson [this message]
2018-01-10 10:35     ` Yossef Efraim
2017-12-01 19:23   ` Shannon Nelson
2018-01-10 11:37     ` Yossef Efraim
2017-12-01  6:20 ` [PATCH net-next 1/3] xfrm: Fix xfrm_replay_overflow_offload_esn Steffen Klassert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c8c0f366-002b-2de2-bb4f-0ff22775a580@oracle.com \
    --to=shannon.nelson@oracle.com \
    --cc=borisp@mellanox.com \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=kliteyn@mellanox.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=steffen.klassert@secunet.com \
    --cc=yossefe@mellanox.com \
    --cc=yossiku@mellanox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox