Searched refs:hw_sa_id (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | cn10k_macsec.c | 179 static int cn10k_mcs_alloc_txsa(struct otx2_nic *pfvf, u16 *hw_sa_id) in cn10k_mcs_alloc_txsa() argument 181 return cn10k_mcs_alloc_rsrc(pfvf, MCS_TX, MCS_RSRC_TYPE_SA, hw_sa_id); in cn10k_mcs_alloc_txsa() 184 static int cn10k_mcs_alloc_rxsa(struct otx2_nic *pfvf, u16 *hw_sa_id) in cn10k_mcs_alloc_rxsa() argument 186 return cn10k_mcs_alloc_rsrc(pfvf, MCS_RX, MCS_RSRC_TYPE_SA, hw_sa_id); in cn10k_mcs_alloc_rxsa() 189 static void cn10k_mcs_free_txsa(struct otx2_nic *pfvf, u16 hw_sa_id) in cn10k_mcs_free_txsa() argument 191 cn10k_mcs_free_rsrc(pfvf, MCS_TX, MCS_RSRC_TYPE_SA, hw_sa_id, false); in cn10k_mcs_free_txsa() 194 static void cn10k_mcs_free_rxsa(struct otx2_nic *pfvf, u16 hw_sa_id) in cn10k_mcs_free_rxsa() argument 196 cn10k_mcs_free_rsrc(pfvf, MCS_RX, MCS_RSRC_TYPE_SA, hw_sa_id, false); in cn10k_mcs_free_rxsa() 335 plcy_req->sa_index[0] = rxsc->hw_sa_id[assoc_num]; in cn10k_mcs_write_rx_sa_plcy() 339 map_req->sa_index = rxsc->hw_sa_id[assoc_num]; in cn10k_mcs_write_rx_sa_plcy() [all …]
|
D | otx2_common.h | 394 u16 hw_sa_id[CN10K_MCS_SA_PER_SC]; member 407 u16 hw_sa_id[CN10K_MCS_SA_PER_SC]; member
|