[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZJMKSUixulTv1+xg@corigine.com>
Date: Wed, 21 Jun 2023 16:33:45 +0200
From: Simon Horman <simon.horman@...igine.com>
To: Sabrina Dubroca <sd@...asysnail.net>
Cc: netdev@...r.kernel.org, kuba@...nel.org
Subject: Re: [PATCH net-next v2] netdevsim: add dummy macsec offload
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@...asysnail.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@...igine.com>
Powered by blists - more mailing lists