Home
last modified time | relevance | path

Searched refs:encoding_sa (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/nic/
Dcn10k_macsec.c635 if (txsc->encoding_sa != sa_num) in cn10k_mcs_link_tx_sa2sc()
1186 sa_num = txsc->encoding_sa; in cn10k_mdo_open()
1229 txsc->encoding_sa = secy->tx_sc.encoding_sa; in cn10k_mdo_add_secy()
1258 if (txsc->encoding_sa != secy->tx_sc.encoding_sa) { in cn10k_mdo_upd_secy()
1259 txsc->encoding_sa = secy->tx_sc.encoding_sa; in cn10k_mdo_upd_secy()
1260 sa_num = txsc->encoding_sa; in cn10k_mdo_upd_secy()
Dotx2_common.h418 u8 encoding_sa; member
/linux-6.6.21/include/net/
Dmacsec.h206 u8 encoding_sa; member
/linux-6.6.21/drivers/net/
Dmacsec.c316 h->tci_an |= tx_sc->encoding_sa; in macsec_fill_sectag()
600 tx_sa = macsec_txsa_get(tx_sc->sa[tx_sc->encoding_sa]); in macsec_encrypt()
2056 if (assoc_num == tx_sc->encoding_sa && tx_sa->active) in macsec_add_txsa()
2370 if (assoc_num == tx_sc->encoding_sa) in macsec_upd_txsa()
3015 nla_put_u8(skb, MACSEC_SECY_ATTR_ENCODING_SA, tx_sc->encoding_sa)) in nla_put_secy()
3745 tx_sc->encoding_sa = nla_get_u8(data[IFLA_MACSEC_ENCODING_SA]); in macsec_changelink_common()
3746 tx_sa = rtnl_dereference(tx_sc->sa[tx_sc->encoding_sa]); in macsec_changelink_common()
4015 secy->tx_sc.encoding_sa = DEFAULT_ENCODING_SA; in macsec_add_dev()
4291 nla_put_u8(skb, IFLA_MACSEC_ENCODING_SA, tx_sc->encoding_sa) || in macsec_fill_info()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dmacsec.c530 assoc_num != tx_sc->encoding_sa || in mlx5e_macsec_add_txsa()
594 if (tx_sa->assoc_num != tx_sc->encoding_sa) in mlx5e_macsec_upd_txsa()
1189 if (tx_sa->assoc_num == tx_sc->encoding_sa && tx_sa->active) { in mlx5e_macsec_upd_secy()
/linux-6.6.21/drivers/net/phy/mscc/
Dmscc_macsec.c546 (CONTROL_TYPE_EGRESS | CONTROL_AN(priv->secy->tx_sc.encoding_sa)) : in vsc8584_macsec_transformation()
/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/
Daq_macsec.c375 sc_rec.curr_an = secy->tx_sc.encoding_sa; in aq_set_txsc()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dmacsec_fs.c639 sectag.tci_an |= tx_sc->encoding_sa; in macsec_fs_tx_create_sectag_header()