aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorSabrina Dubroca <[email protected]>2023-07-13 13:20:23 +0000
committerDavid S. Miller <[email protected]>2023-07-14 08:16:53 +0000
commit02b34d03a24b18970925cf57434be28ba4a29d3a (patch)
tree64156c2bb958098e04850d9dad2e0c4d0e067272 /drivers/net/ethernet/intel/ice/ice_main.c
parentdevlink: remove reload failed checks in params get/set callbacks (diff)
downloadkernel-02b34d03a24b18970925cf57434be28ba4a29d3a.tar.gz
kernel-02b34d03a24b18970925cf57434be28ba4a29d3a.zip
netdevsim: add dummy macsec offload
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. 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) Signed-off-by: Sabrina Dubroca <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions