Home
last modified time | relevance | path

Searched refs:macsec_cfg (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/
Daq_macsec.c49 static int aq_get_txsc_idx_from_secy(struct aq_macsec_cfg *macsec_cfg, in aq_get_txsc_idx_from_secy() argument
58 if (macsec_cfg->aq_txsc[i].sw_secy == secy) in aq_get_txsc_idx_from_secy()
64 static int aq_get_rxsc_idx_from_rxsc(struct aq_macsec_cfg *macsec_cfg, in aq_get_rxsc_idx_from_rxsc() argument
73 if (macsec_cfg->aq_rxsc[i].sw_rxsc == rxsc) in aq_get_rxsc_idx_from_rxsc()
307 if (nic->macsec_cfg->txsc_idx_busy & BIT(i)) in aq_mdo_dev_stop()
308 aq_clear_secy(nic, nic->macsec_cfg->aq_txsc[i].sw_secy, in aq_mdo_dev_stop()
317 struct aq_macsec_txsc *aq_txsc = &nic->macsec_cfg->aq_txsc[txsc_idx]; in aq_set_txsc()
337 tx_class_rec.sc_sa = nic->macsec_cfg->sc_sa; in aq_set_txsc()
443 struct aq_macsec_cfg *cfg = nic->macsec_cfg; in aq_mdo_add_secy()
482 txsc_idx = aq_get_txsc_idx_from_secy(nic->macsec_cfg, secy); in aq_mdo_upd_secy()
[all …]
Daq_ethtool.c196 if (nic->macsec_cfg) { in aq_ethtool_n_stats()
326 if (!nic->macsec_cfg) in aq_ethtool_get_strings()
334 if (!(test_bit(i, &nic->macsec_cfg->txsc_idx_busy))) in aq_ethtool_get_strings()
344 aq_txsc = &nic->macsec_cfg->aq_txsc[i]; in aq_ethtool_get_strings()
361 if (!(test_bit(i, &nic->macsec_cfg->rxsc_idx_busy))) in aq_ethtool_get_strings()
364 aq_rxsc = &nic->macsec_cfg->aq_rxsc[i]; in aq_ethtool_get_strings()
Daq_nic.h159 struct aq_macsec_cfg *macsec_cfg; member
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/
Dcn10k_macsec.c925 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; in cn10k_mcs_secy_rx_cfg()
959 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; in cn10k_mcs_disable_rxscs()
988 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; in cn10k_mcs_sync_stats()
1040 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; in cn10k_mdo_open()
1064 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; in cn10k_mdo_stop()
1082 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; in cn10k_mdo_add_secy()
1116 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; in cn10k_mdo_upd_secy()
1146 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; in cn10k_mdo_del_secy()
1166 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; in cn10k_mdo_add_txsa()
1208 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; in cn10k_mdo_upd_txsa()
[all …]
Dotx2_common.h506 struct cn10k_mcs_cfg *macsec_cfg; member