Home
last modified time | relevance | path

Searched refs:MACSEC_NUM_AN (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/
Daq_macsec.h94 u8 tx_sa_key[MACSEC_NUM_AN][MACSEC_MAX_KEY_LEN];
96 struct aq_macsec_tx_sa_stats tx_sa_stats[MACSEC_NUM_AN];
104 u8 rx_sa_key[MACSEC_NUM_AN][MACSEC_MAX_KEY_LEN];
105 struct aq_macsec_rx_sa_stats rx_sa_stats[MACSEC_NUM_AN];
Daq_macsec.c452 sc_sa = sc_sa_from_num_an(MACSEC_NUM_AN); in aq_mdo_add_secy()
1102 for (i = 0; i < MACSEC_NUM_AN; i++) { in aq_mdo_get_rx_sc_stats()
1186 for (i = 0; i < MACSEC_NUM_AN; i++) { in apply_txsc_cfg()
1214 for (i = 0; i < MACSEC_NUM_AN; i++) { in apply_rxsc_cfg()
1636 for (assoc_num = 0; assoc_num < MACSEC_NUM_AN; assoc_num++) { in aq_macsec_update_stats()
1652 for (assoc_num = 0; assoc_num < MACSEC_NUM_AN; assoc_num++) { in aq_macsec_update_stats()
1723 for (assoc_num = 0; assoc_num < MACSEC_NUM_AN; assoc_num++) { in aq_macsec_get_stats()
1742 for (assoc_num = 0; assoc_num < MACSEC_NUM_AN; assoc_num++) { in aq_macsec_get_stats()
Daq_ethtool.c345 for (sa = 0; sa < MACSEC_NUM_AN; sa++) { in aq_ethtool_get_strings()
365 for (sa = 0; sa < MACSEC_NUM_AN; sa++) { in aq_ethtool_get_strings()
/linux-6.1.9/include/net/
Dmacsec.h17 #define MACSEC_NUM_AN 4 /* 2 bits for the association number */ macro
162 struct macsec_rx_sa __rcu *sa[MACSEC_NUM_AN];
210 struct macsec_tx_sa __rcu *sa[MACSEC_NUM_AN];
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dmacsec.c84 struct mlx5e_macsec_sa *rx_sa[MACSEC_NUM_AN];
118 struct mlx5e_macsec_sa *tx_sa[MACSEC_NUM_AN];
810 for (i = 0; i < MACSEC_NUM_AN; ++i) { in mlx5e_macsec_upd_rxsc()
831 for (i = 0; i < MACSEC_NUM_AN; ++i) { in macsec_del_rxsc_ctx()
1151 for (i = 0; i < MACSEC_NUM_AN; ++i) { in macsec_upd_secy_hw_address()
1161 for (i = 0; i < MACSEC_NUM_AN; ++i) { in macsec_upd_secy_hw_address()
1215 for (i = 0; i < MACSEC_NUM_AN; ++i) { in mlx5e_macsec_upd_secy()
1223 for (i = 0; i < MACSEC_NUM_AN; ++i) { in mlx5e_macsec_upd_secy()
1262 for (i = 0; i < MACSEC_NUM_AN; ++i) { in mlx5e_macsec_del_secy()
1453 for (i = 0; i < MACSEC_NUM_AN; ++i) { in get_macsec_tx_sa_from_obj_id()
[all …]
/linux-6.1.9/drivers/net/
Dmacsec.c159 for (an = 0; an < MACSEC_NUM_AN; an++) { in macsec_active_rxsa_get()
1387 for (i = 0; i < MACSEC_NUM_AN; i++) { in free_rx_sc()
1548 if (*assoc_num >= MACSEC_NUM_AN) in get_txsa_from_nl()
1611 if (*assoc_num >= MACSEC_NUM_AN) in get_rxsa_from_nl()
1704 if (nla_get_u8(attrs[MACSEC_SA_ATTR_AN]) >= MACSEC_NUM_AN) in validate_add_rxsa()
1949 if (nla_get_u8(attrs[MACSEC_SA_ATTR_AN]) >= MACSEC_NUM_AN) in validate_add_txsa()
2304 if (nla_get_u8(attrs[MACSEC_SA_ATTR_AN]) >= MACSEC_NUM_AN) in validate_upd_sa()
2579 for (i = 0; i < MACSEC_NUM_AN; i++) in macsec_is_configured()
3098 for (i = 0, j = 1; i < MACSEC_NUM_AN; i++) { in dump_secy()
3198 for (i = 0, k = 1; i < MACSEC_NUM_AN; i++) { in dump_secy()
[all …]