netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Simon Horman <simon.horman@corigine.com>
To: Sabrina Dubroca <sd@queasysnail.net>
Cc: netdev@vger.kernel.org, kuba@kernel.org
Subject: Re: [PATCH net-next v2] netdevsim: add dummy macsec offload
Date: Wed, 21 Jun 2023 16:33:45 +0200	[thread overview]
Message-ID: <ZJMKSUixulTv1+xg@corigine.com> (raw)
In-Reply-To: <d6841a34b9d69af9ad5a652d5cabe3927868d3c6.1686920069.git.sd@queasysnail.net>

On Wed, Jun 21, 2023 at 03:14:46PM +0200, Sabrina Dubroca wrote:
> When the kernel is compiled with MACsec support, add the
> NETIF_F_HW_MACSEC feature to netdevsim devices and implement
> macsec_ops.
> 
> To allow easy testing of failure from the device, support is limited
> to 3 SecY's per netdevsim device, and 1 RXSC per SecY.
> 
> Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
> ---
> v2:
>  - nsim_macsec_add_secy, return -ENOSPC if secy_count isn't full but
>    we can't find an empty slot (Simon Horman)
>  - add sci_to_cpu to make sparse happy (Simon Horman)
>  - remove set but not used secy variable (kernel test robot and Simon Horman)

Thanks!

Reviewed-by: Simon Horman <simon.horman@corigine.com>

  reply	other threads:[~2023-06-21 14:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-21 13:14 [PATCH net-next v2] netdevsim: add dummy macsec offload Sabrina Dubroca
2023-06-21 14:33 ` Simon Horman [this message]
2023-06-21 20:18 ` Jakub Kicinski
2023-06-22 20:02   ` Sabrina Dubroca

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=ZJMKSUixulTv1+xg@corigine.com \
    --to=simon.horman@corigine.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=sd@queasysnail.net \
    /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;
as well as URLs for NNTP newsgroup(s).