Home
last modified time | relevance | path

Searched refs:aq_txsc (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/
H A 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()
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() local
325 const struct macsec_secy *secy = aq_txsc->sw_secy; in aq_set_txsc()
327 unsigned int sc_idx = aq_txsc->hw_sc_idx; in aq_set_txsc()
473 cfg->aq_txsc[txsc_idx].hw_sc_idx = aq_to_hw_sc_idx(txsc_idx, sc_sa); in aq_mdo_add_secy()
474 cfg->aq_txsc[txsc_idx].sw_secy = secy; in aq_mdo_add_secy()
507 struct aq_macsec_txsc *tx_sc = &nic->macsec_cfg->aq_txsc[txsc_id in aq_clear_txsc()
597 struct aq_macsec_txsc *aq_txsc; aq_mdo_add_txsa() local
627 struct aq_macsec_txsc *aq_txsc; aq_mdo_upd_txsa() local
646 aq_clear_txsa(struct aq_nic_s *nic, struct aq_macsec_txsc *aq_txsc, const int sa_num, enum aq_clear_type clear_type) aq_clear_txsa() argument
1071 struct aq_macsec_txsc *aq_txsc; aq_mdo_get_tx_sc_stats() local
1100 struct aq_macsec_txsc *aq_txsc; aq_mdo_get_tx_sa_stats() local
1230 struct aq_macsec_txsc *aq_txsc = &nic->macsec_cfg->aq_txsc[txsc_idx]; apply_txsc_cfg() local
1399 struct aq_macsec_txsc *aq_txsc; aq_check_txsa_expiration() local
1676 struct aq_macsec_txsc *aq_txsc; aq_macsec_update_stats() local
1731 struct aq_macsec_txsc *aq_txsc; aq_macsec_get_stats() local
[all...]
H A Daq_macsec.h112 struct aq_macsec_txsc aq_txsc[AQ_MACSEC_MAX_SC]; member
H A Daq_ethtool.c323 struct aq_macsec_txsc *aq_txsc; in aq_ethtool_get_strings() local
335 aq_txsc = &nic->macsec_cfg->aq_txsc[i]; in aq_ethtool_get_strings()
337 if (!(test_bit(sa, &aq_txsc->tx_sa_idx_busy))) in aq_ethtool_get_strings()
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/
H A 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_id in aq_clear_txsc()
582 struct aq_macsec_txsc *aq_txsc; aq_mdo_add_txsa() local
609 struct aq_macsec_txsc *aq_txsc; aq_mdo_upd_txsa() local
625 aq_clear_txsa(struct aq_nic_s *nic, struct aq_macsec_txsc *aq_txsc, const int sa_num, enum aq_clear_type clear_type) aq_clear_txsa() argument
1026 struct aq_macsec_txsc *aq_txsc; aq_mdo_get_tx_sc_stats() local
1052 struct aq_macsec_txsc *aq_txsc; aq_mdo_get_tx_sa_stats() local
1173 struct aq_macsec_txsc *aq_txsc = &nic->macsec_cfg->aq_txsc[txsc_idx]; apply_txsc_cfg() local
1342 struct aq_macsec_txsc *aq_txsc; aq_check_txsa_expiration() local
1619 struct aq_macsec_txsc *aq_txsc; aq_macsec_update_stats() local
1674 struct aq_macsec_txsc *aq_txsc; aq_macsec_get_stats() local
[all...]
H A Daq_macsec.h112 struct aq_macsec_txsc aq_txsc[AQ_MACSEC_MAX_SC]; member
H A 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()

Completed in 7 milliseconds