Searched refs:macsec_cfg (Results 1 – 3 of 3) sorted by relevance
49 static int aq_get_txsc_idx_from_secy(struct aq_macsec_cfg *macsec_cfg, in aq_get_txsc_idx_from_secy() argument58 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() argument73 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 …]
187 if (nic->macsec_cfg) { in aq_ethtool_n_stats()317 if (!nic->macsec_cfg) in aq_ethtool_get_strings()325 if (!(test_bit(i, &nic->macsec_cfg->txsc_idx_busy))) in aq_ethtool_get_strings()335 aq_txsc = &nic->macsec_cfg->aq_txsc[i]; in aq_ethtool_get_strings()352 if (!(test_bit(i, &nic->macsec_cfg->rxsc_idx_busy))) in aq_ethtool_get_strings()355 aq_rxsc = &nic->macsec_cfg->aq_rxsc[i]; in aq_ethtool_get_strings()
154 struct aq_macsec_cfg *macsec_cfg; member