Searched refs:sa_num (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | cn10k_macsec.c | 492 u8 sa_num, bool sa_active) in cn10k_mcs_link_tx_sa2sc() argument 499 if (txsc->encoding_sa != sa_num) in cn10k_mcs_link_tx_sa2sc() 511 map_req->sa_index0 = txsc->hw_sa_id[sa_num]; in cn10k_mcs_link_tx_sa2sc() 828 u8 sa_num = 0; in cn10k_mcs_delete_txsc() local 833 txsc, sa_num); in cn10k_mcs_delete_txsc() 834 cn10k_mcs_free_txsa(pfvf, txsc->hw_sa_id[sa_num]); in cn10k_mcs_delete_txsc() 836 sa_num++; in cn10k_mcs_delete_txsc() 884 u8 sa_num = 0; in cn10k_mcs_delete_rxsc() local 889 sa_num, false); in cn10k_mcs_delete_rxsc() 890 cn10k_mcs_free_rxsa(pfvf, rxsc->hw_sa_id[sa_num]); in cn10k_mcs_delete_rxsc() [all …]
|
/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_macsec.c | 27 const int sa_num, enum aq_clear_type clear_type); 31 const int sa_num, enum aq_clear_type clear_type); 500 int sa_num; in aq_clear_txsc() local 502 for_each_set_bit (sa_num, &tx_sc->tx_sa_idx_busy, AQ_MACSEC_MAX_SA) { in aq_clear_txsc() 503 ret = aq_clear_txsa(nic, tx_sc, sa_num, clear_type); in aq_clear_txsc() 626 const int sa_num, enum aq_clear_type clear_type) in aq_clear_txsa() argument 628 const int sa_idx = aq_txsc->hw_sc_idx | sa_num; in aq_clear_txsa() 633 clear_bit(sa_num, &aq_txsc->tx_sa_idx_busy); in aq_clear_txsa() 798 int sa_num; in aq_clear_rxsc() local 800 for_each_set_bit (sa_num, &rx_sc->rx_sa_idx_busy, AQ_MACSEC_MAX_SA) { in aq_clear_rxsc() [all …]
|