Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_macsec.c24 static int aq_clear_txsc(struct aq_nic_s *nic, const int txsc_idx,
315 static int aq_set_txsc(struct aq_nic_s *nic, const int txsc_idx) in aq_set_txsc() argument
317 struct aq_macsec_txsc *aq_txsc = &nic->macsec_cfg->aq_txsc[txsc_idx]; in aq_set_txsc()
339 ret = aq_mss_set_egress_class_record(hw, &tx_class_rec, txsc_idx); in aq_set_txsc()
446 u32 txsc_idx; in aq_mdo_add_secy() local
459 txsc_idx = ffz(cfg->txsc_idx_busy); in aq_mdo_add_secy()
460 if (txsc_idx == AQ_MACSEC_MAX_SC) in aq_mdo_add_secy()
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()
468 ret = aq_set_txsc(nic, txsc_idx); in aq_mdo_add_secy()
[all …]