Home
last modified time | relevance | path

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

/drivers/net/ethernet/marvell/octeontx2/nic/
Dcn10k_macsec.c509 u8 sa_num, bool sa_active) in cn10k_mcs_link_tx_sa2sc() argument
516 if (txsc->encoding_sa != sa_num) in cn10k_mcs_link_tx_sa2sc()
528 map_req->sa_index0 = txsc->hw_sa_id[sa_num]; in cn10k_mcs_link_tx_sa2sc()
845 u8 sa_num = 0; in cn10k_mcs_delete_txsc() local
850 txsc, sa_num); in cn10k_mcs_delete_txsc()
851 cn10k_mcs_free_txsa(pfvf, txsc->hw_sa_id[sa_num]); in cn10k_mcs_delete_txsc()
853 sa_num++; in cn10k_mcs_delete_txsc()
901 u8 sa_num = 0; in cn10k_mcs_delete_rxsc() local
906 sa_num, false); in cn10k_mcs_delete_rxsc()
907 cn10k_mcs_free_rxsa(pfvf, rxsc->hw_sa_id[sa_num]); in cn10k_mcs_delete_rxsc()
[all …]
/drivers/net/ethernet/aquantia/atlantic/
Daq_macsec.c27 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 …]