Searched refs:encoding_sa (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/drivers/net/phy/ |
D | nxp-c45-tja11xx-macsec.c | 1031 struct nxp_c45_sa *next_sa, u8 encoding_sa) in nxp_c45_tx_sa_next() argument 1035 sa = nxp_c45_find_sa(&phy_secy->sa_list, TX_SA, encoding_sa); in nxp_c45_tx_sa_next() 1040 next_sa->an = encoding_sa; in nxp_c45_tx_sa_next() 1046 u8 encoding_sa = ctx->secy->tx_sc.encoding_sa; in nxp_c45_mdo_upd_secy() local 1074 nxp_c45_tx_sa_next(phy_secy, &next_sa, encoding_sa); in nxp_c45_mdo_upd_secy() 1086 u8 encoding_sa = ctx->secy->tx_sc.encoding_sa; in nxp_c45_mdo_del_secy() local 1101 nxp_c45_tx_sa_next(phy_secy, &next_sa, encoding_sa); in nxp_c45_mdo_del_secy() 1305 if (ctx->secy->tx_sc.encoding_sa == sa->an) in nxp_c45_mdo_add_txsa() 1335 if (ctx->secy->tx_sc.encoding_sa == sa->an) in nxp_c45_mdo_upd_txsa() 1362 if (ctx->secy->tx_sc.encoding_sa == sa->an) in nxp_c45_mdo_del_txsa() [all …]
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | cn10k_macsec.c | 635 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()
|
D | otx2_common.h | 417 u8 encoding_sa; member
|
/linux-6.12.1/include/net/ |
D | macsec.h | 206 u8 encoding_sa; member
|
/linux-6.12.1/drivers/net/ |
D | macsec.c | 306 h->tci_an |= tx_sc->encoding_sa; in macsec_fill_sectag() 590 tx_sa = macsec_txsa_get(tx_sc->sa[tx_sc->encoding_sa]); in macsec_encrypt() 2067 if (assoc_num == tx_sc->encoding_sa && tx_sa->active) in macsec_add_txsa() 2381 if (assoc_num == tx_sc->encoding_sa) in macsec_upd_txsa() 3058 nla_put_u8(skb, MACSEC_SECY_ATTR_ENCODING_SA, tx_sc->encoding_sa)) in nla_put_secy() 3835 tx_sc->encoding_sa = nla_get_u8(data[IFLA_MACSEC_ENCODING_SA]); in macsec_changelink_common() 3836 tx_sa = rtnl_dereference(tx_sc->sa[tx_sc->encoding_sa]); in macsec_changelink_common() 4105 secy->tx_sc.encoding_sa = DEFAULT_ENCODING_SA; in macsec_add_dev() 4384 nla_put_u8(skb, IFLA_MACSEC_ENCODING_SA, tx_sc->encoding_sa) || in macsec_fill_info()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | macsec.c | 613 if (tx_sa->assoc_num != tx_sc->encoding_sa) in mlx5e_macsec_upd_txsa() 1209 if (tx_sa->assoc_num == tx_sc->encoding_sa && tx_sa->active) { in mlx5e_macsec_upd_secy()
|
/linux-6.12.1/drivers/net/phy/mscc/ |
D | mscc_macsec.c | 546 (CONTROL_TYPE_EGRESS | CONTROL_AN(priv->secy->tx_sc.encoding_sa)) : in vsc8584_macsec_transformation()
|
/linux-6.12.1/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_macsec.c | 375 sc_rec.curr_an = secy->tx_sc.encoding_sa; in aq_set_txsc()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | macsec_fs.c | 639 sectag.tci_an |= tx_sc->encoding_sa; in macsec_fs_tx_create_sectag_header()
|