Commit 9ff40a75 authored by Mark Starovoytov's avatar Mark Starovoytov Committed by David S. Miller

net: atlantic: MACSec ingress offload implementation

This patch adds support for MACSec ingress HW offloading on Atlantic
network cards.
Signed-off-by: default avatarMark Starovoytov <mstarovoitov@marvell.com>
Signed-off-by: default avatarIgor Russkikh <irusskikh@marvell.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b8f8a0b7
...@@ -31,6 +31,11 @@ struct aq_macsec_txsc { ...@@ -31,6 +31,11 @@ struct aq_macsec_txsc {
}; };
struct aq_macsec_rxsc { struct aq_macsec_rxsc {
u32 hw_sc_idx;
unsigned long rx_sa_idx_busy;
const struct macsec_secy *sw_secy;
const struct macsec_rx_sc *sw_rxsc;
u8 rx_sa_key[MACSEC_NUM_AN][MACSEC_KEYID_LEN];
}; };
struct aq_macsec_cfg { struct aq_macsec_cfg {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment