Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dcn10k_macsec.c239 static int cn10k_mcs_alloc_txsa(struct otx2_nic *pfvf, u16 *hw_sa_id) in cn10k_mcs_alloc_txsa() argument
241 return cn10k_mcs_alloc_rsrc(pfvf, MCS_TX, MCS_RSRC_TYPE_SA, hw_sa_id); in cn10k_mcs_alloc_txsa()
244 static int cn10k_mcs_alloc_rxsa(struct otx2_nic *pfvf, u16 *hw_sa_id) in cn10k_mcs_alloc_rxsa() argument
246 return cn10k_mcs_alloc_rsrc(pfvf, MCS_RX, MCS_RSRC_TYPE_SA, hw_sa_id); in cn10k_mcs_alloc_rxsa()
249 static void cn10k_mcs_free_txsa(struct otx2_nic *pfvf, u16 hw_sa_id) in cn10k_mcs_free_txsa() argument
251 cn10k_mcs_free_rsrc(pfvf, MCS_TX, MCS_RSRC_TYPE_SA, hw_sa_id, false); in cn10k_mcs_free_txsa()
254 static void cn10k_mcs_free_rxsa(struct otx2_nic *pfvf, u16 hw_sa_id) in cn10k_mcs_free_rxsa() argument
256 cn10k_mcs_free_rsrc(pfvf, MCS_RX, MCS_RSRC_TYPE_SA, hw_sa_id, false); in cn10k_mcs_free_rxsa()
453 plcy_req->sa_index[0] = rxsc->hw_sa_id[assoc_num]; in cn10k_mcs_write_rx_sa_plcy()
457 map_req->sa_index = rxsc->hw_sa_id[assoc_num]; in cn10k_mcs_write_rx_sa_plcy()
[all …]
Dotx2_common.h414 u16 hw_sa_id[CN10K_MCS_SA_PER_SC]; member
430 u16 hw_sa_id[CN10K_MCS_SA_PER_SC]; member