Home
last modified time | relevance | path

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

/linux-6.12.1/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.c197 if (nic->macsec_cfg) { in aq_ethtool_n_stats()
323 if (!nic->macsec_cfg) in aq_ethtool_get_strings()
331 if (!(test_bit(i, &nic->macsec_cfg->txsc_idx_busy))) in aq_ethtool_get_strings()
340 aq_txsc = &nic->macsec_cfg->aq_txsc[i]; in aq_ethtool_get_strings()
356 if (!(test_bit(i, &nic->macsec_cfg->rxsc_idx_busy))) in aq_ethtool_get_strings()
359 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.12.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dcn10k_macsec.c1060 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; in cn10k_mcs_secy_rx_cfg()
1094 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; in cn10k_mcs_disable_rxscs()
1123 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; in cn10k_mcs_sync_stats()
1175 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; in cn10k_mdo_open()
1199 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; in cn10k_mdo_stop()
1217 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; in cn10k_mdo_add_secy()
1245 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; in cn10k_mdo_upd_secy()
1280 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; in cn10k_mdo_del_secy()
1300 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; in cn10k_mdo_add_txsa()
1345 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; in cn10k_mdo_upd_txsa()
[all …]
Dotx2_common.h533 struct cn10k_mcs_cfg *macsec_cfg; member