Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/
Daq_macsec.c26 static int aq_clear_txsa(struct aq_nic_s *nic, struct aq_macsec_txsc *aq_txsc,
58 if (macsec_cfg->aq_txsc[i].sw_secy == secy) in aq_get_txsc_idx_from_secy()
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() local
319 const struct macsec_secy *secy = aq_txsc->sw_secy; in aq_set_txsc()
321 unsigned int sc_idx = aq_txsc->hw_sc_idx; in aq_set_txsc()
464 cfg->aq_txsc[txsc_idx].hw_sc_idx = aq_to_hw_sc_idx(txsc_idx, sc_sa); in aq_mdo_add_secy()
465 cfg->aq_txsc[txsc_idx].sw_secy = secy; in aq_mdo_add_secy()
495 struct aq_macsec_txsc *tx_sc = &nic->macsec_cfg->aq_txsc[txsc_idx]; in aq_clear_txsc()
523 nic->macsec_cfg->aq_txsc[txsc_idx].sw_secy = NULL; in aq_clear_txsc()
[all …]
Daq_macsec.h112 struct aq_macsec_txsc aq_txsc[AQ_MACSEC_MAX_SC]; member
Daq_ethtool.c332 struct aq_macsec_txsc *aq_txsc; in aq_ethtool_get_strings() local
344 aq_txsc = &nic->macsec_cfg->aq_txsc[i]; in aq_ethtool_get_strings()
346 if (!(test_bit(sa, &aq_txsc->tx_sa_idx_busy))) in aq_ethtool_get_strings()