Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/
Dmcs_cnf10kb.c183 event.sa_id = val & 0x7F; in cnf10kb_mcs_tx_pn_thresh_reached_handler()
185 event.sa_id = (val >> 7) & 0x7F; in cnf10kb_mcs_tx_pn_thresh_reached_handler()
187 event.pcifunc = mcs->tx.sa2pf_map[event.sa_id]; in cnf10kb_mcs_tx_pn_thresh_reached_handler()
209 event.sa_id = (val >> 7) & 0x7F; in cnf10kb_mcs_tx_pn_wrapped_handler()
212 event.sa_id = val & 0x7F; in cnf10kb_mcs_tx_pn_wrapped_handler()
214 event.pcifunc = mcs->tx.sa2pf_map[event.sa_id]; in cnf10kb_mcs_tx_pn_wrapped_handler()
Dmcs.c372 void mcs_sa_plcy_write(struct mcs *mcs, u64 *plcy, int sa_id, int dir) in mcs_sa_plcy_write() argument
379 reg = MCSX_CPM_RX_SLAVE_SA_PLCY_MEMX(reg_id, sa_id); in mcs_sa_plcy_write()
384 reg = MCSX_CPM_TX_SLAVE_SA_PLCY_MEMX(reg_id, sa_id); in mcs_sa_plcy_write()
827 event.sa_id = (val >> 9) & 0xFF; in cn10kb_mcs_tx_pn_wrapped_handler()
830 event.sa_id = val & 0xFF; in cn10kb_mcs_tx_pn_wrapped_handler()
832 event.pcifunc = mcs->tx.sa2pf_map[event.sa_id]; in cn10kb_mcs_tx_pn_wrapped_handler()
867 event.sa_id = val & 0xFF; in cn10kb_mcs_tx_pn_thresh_reached_handler()
869 event.sa_id = (val >> 9) & 0xFF; in cn10kb_mcs_tx_pn_thresh_reached_handler()
871 event.pcifunc = mcs->tx.sa2pf_map[event.sa_id]; in cn10kb_mcs_tx_pn_thresh_reached_handler()
894 event.sa_id = sa + (reg * 64); in mcs_rx_pn_thresh_reached_handler()
[all …]
Drvu_debugfs.c271 int sa_id; in rvu_dbg_mcs_sa_stats_display() local
276 for_each_set_bit(sa_id, map->bmap, mcs->hw->sa_entries) { in rvu_dbg_mcs_sa_stats_display()
278 mcs_get_sa_stats(mcs, &stats, sa_id, MCS_TX); in rvu_dbg_mcs_sa_stats_display()
279 seq_printf(filp, "sa%d: Pkts encrypted: %lld\n", sa_id, in rvu_dbg_mcs_sa_stats_display()
282 seq_printf(filp, "sa%d: Pkts protected: %lld\n", sa_id, in rvu_dbg_mcs_sa_stats_display()
292 for_each_set_bit(sa_id, map->bmap, mcs->hw->sa_entries) { in rvu_dbg_mcs_sa_stats_display()
294 mcs_get_sa_stats(mcs, &stats, sa_id, MCS_RX); in rvu_dbg_mcs_sa_stats_display()
295 seq_printf(filp, "sa%d: Invalid pkts: %lld\n", sa_id, stats.pkt_invalid_cnt); in rvu_dbg_mcs_sa_stats_display()
296 seq_printf(filp, "sa%d: Pkts no sa error: %lld\n", sa_id, stats.pkt_nosaerror_cnt); in rvu_dbg_mcs_sa_stats_display()
297 seq_printf(filp, "sa%d: Pkts not valid: %lld\n", sa_id, stats.pkt_notvalid_cnt); in rvu_dbg_mcs_sa_stats_display()
[all …]
Dmcs.h90 u64 sa_id; member
Dmcs_rvu_if.c138 req->sa_id = event->sa_id; in mcs_notify_pfvf()
Dmbox.h2307 int sa_id; member
/linux-6.12.1/net/xfrm/
Dxfrm_user.c2543 memset(&id->sa_id, 0, sizeof(id->sa_id)); in build_aevent()
2544 memcpy(&id->sa_id.daddr, &x->id.daddr, sizeof(x->id.daddr)); in build_aevent()
2545 id->sa_id.spi = x->id.spi; in build_aevent()
2546 id->sa_id.family = x->props.family; in build_aevent()
2547 id->sa_id.proto = x->id.proto; in build_aevent()
2611 struct xfrm_usersa_id *id = &p->sa_id; in xfrm_get_ae()
2673 x = xfrm_state_lookup(net, mark, &p->sa_id.daddr, p->sa_id.spi, p->sa_id.proto, p->sa_id.family); in xfrm_new_ae()
/linux-6.12.1/include/uapi/linux/
Dxfrm.h414 struct xfrm_usersa_id sa_id; member
/linux-6.12.1/Documentation/networking/
Dxfrm_sync.rst55 struct xfrm_usersa_id sa_id;
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dcn10k_macsec.c1757 if (txsc->hw_sa_id[an] == event->sa_id) { in cn10k_handle_mcs_event()