Home
last modified time | relevance | path

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

/Linux-v5.10/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()
313 if (nic->macsec_cfg->txsc_idx_busy & BIT(i)) in aq_mdo_dev_stop()
314 aq_clear_secy(nic, nic->macsec_cfg->aq_txsc[i].sw_secy, in aq_mdo_dev_stop()
323 struct aq_macsec_txsc *aq_txsc = &nic->macsec_cfg->aq_txsc[txsc_idx]; in aq_set_txsc()
343 tx_class_rec.sc_sa = nic->macsec_cfg->sc_sa; in aq_set_txsc()
449 struct aq_macsec_cfg *cfg = nic->macsec_cfg; in aq_mdo_add_secy()
491 txsc_idx = aq_get_txsc_idx_from_secy(nic->macsec_cfg, secy); in aq_mdo_upd_secy()
[all …]
Daq_ethtool.c186 if (nic->macsec_cfg) { in aq_ethtool_n_stats()
316 if (!nic->macsec_cfg) in aq_ethtool_get_strings()
324 if (!(test_bit(i, &nic->macsec_cfg->txsc_idx_busy))) in aq_ethtool_get_strings()
334 aq_txsc = &nic->macsec_cfg->aq_txsc[i]; in aq_ethtool_get_strings()
351 if (!(test_bit(i, &nic->macsec_cfg->rxsc_idx_busy))) in aq_ethtool_get_strings()
354 aq_rxsc = &nic->macsec_cfg->aq_rxsc[i]; in aq_ethtool_get_strings()
Daq_nic.h154 struct aq_macsec_cfg *macsec_cfg; member