[PATCH net v7 0/4] Add update_pn flag

From: Radu Pirea (NXP OSS)
Date: Thu Oct 05 2023 - 14:07:57 EST


Patches extracted from
https://lore.kernel.org/all/20230928084430.1882670-1-radu-nicolae.pirea@xxxxxxxxxxx/
Update_pn flag will let the offloaded MACsec implementations to know when
the PN is updated.

Radu P.

Radu Pirea (NXP OSS) (4):
net: macsec: indicate next pn update when offloading
octeontx2-pf: mcs: update PN only when update_pn is true
net: phy: mscc: macsec: reject PN update requests
net/mlx5e: macsec: use update_pn flag instead of PN comparation

.../ethernet/marvell/octeontx2/nic/cn10k_macsec.c | 13 +++++++++----
.../ethernet/mellanox/mlx5/core/en_accel/macsec.c | 4 ++--
drivers/net/macsec.c | 2 ++
drivers/net/phy/mscc/mscc_macsec.c | 6 ++++++
include/net/macsec.h | 1 +
5 files changed, 20 insertions(+), 6 deletions(-)

--
2.34.1