All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Simon Horman <simon.horman@corigine.com>
Cc: "David Miller" <davem@davemloft.net>,
	"Jakub Kicinski" <kuba@kernel.org>,
	"Paolo Abeni" <pabeni@redhat.com>,
	"Steffen Klassert" <steffen.klassert@secunet.com>,
	"Herbert Xu" <herbert@gondor.apana.org.au>,
	"Chentian Liu" <chengtian.liu@corigine.com>,
	"Huanhuan Wang" <huanhuan.wang@corigine.com>,
	"Niklas Söderlund" <niklas.soderlund@corigine.com>,
	netdev@vger.kernel.org, oss-drivers@corigine.com
Subject: Re: [PATCH v2 net-next v2] nfp: support IPsec offloading for NFP3800
Date: Thu, 9 Feb 2023 13:54:34 +0200	[thread overview]
Message-ID: <Y+Te+hAoMBlWH23j@unreal> (raw)
In-Reply-To: <20230208091000.4139974-1-simon.horman@corigine.com>

On Wed, Feb 08, 2023 at 10:10:00AM +0100, Simon Horman wrote:
> From: Huanhuan Wang <huanhuan.wang@corigine.com>
> 
> Add IPsec offloading support for NFP3800. Include data
> plane and control plane.
> 
> Data plane: add IPsec packet process flow in NFP3800
> datapath (NFDk).
> 
> Control plane: add an algorithm support distinction flow
> in xfrm hook function xdo_dev_state_add(), as NFP3800 has
> a different set of IPsec algorithm support.
> 
> This matches existing support for the NFP6000/NFP4000 and
> their NFD3 datapath.
> 
> In addition, fixup the md_bytes calculation for NFD3 datapath
> to make sure the two datapahts are keept in sync.
> 
> Signed-off-by: Huanhuan Wang <huanhuan.wang@corigine.com>
> Reviewed-by: Niklas Söderlund <niklas.soderlund@corigine.com>
> Signed-off-by: Simon Horman <simon.horman@corigine.com>
> ---
> Changes in v2:
> * use NL_SET_ERR_MSG_MOD instead of nn_err in nfp_net_xfrm_add_state()
> * Avoid using boolean values as integers
> ---
>  drivers/net/ethernet/netronome/nfp/Makefile   |  2 +-
>  .../net/ethernet/netronome/nfp/crypto/ipsec.c |  9 ++++
>  drivers/net/ethernet/netronome/nfp/nfd3/dp.c  | 11 ++---
>  drivers/net/ethernet/netronome/nfp/nfdk/dp.c  | 49 +++++++++++++++++--
>  .../net/ethernet/netronome/nfp/nfdk/ipsec.c   | 17 +++++++
>  .../net/ethernet/netronome/nfp/nfdk/nfdk.h    |  8 +++
>  6 files changed, 83 insertions(+), 13 deletions(-)
>  create mode 100644 drivers/net/ethernet/netronome/nfp/nfdk/ipsec.c
> 

Thanks,
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>

  reply	other threads:[~2023-02-09 12:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-08  9:10 [PATCH v2 net-next v2] nfp: support IPsec offloading for NFP3800 Simon Horman
2023-02-09 11:54 ` Leon Romanovsky [this message]
2023-02-10  6:30 ` patchwork-bot+netdevbpf

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=Y+Te+hAoMBlWH23j@unreal \
    --to=leon@kernel.org \
    --cc=chengtian.liu@corigine.com \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=huanhuan.wang@corigine.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=niklas.soderlund@corigine.com \
    --cc=oss-drivers@corigine.com \
    --cc=pabeni@redhat.com \
    --cc=simon.horman@corigine.com \
    --cc=steffen.klassert@secunet.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.