Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/af/
Dmcs_cnf10kb.c180 event.sa_id = val & 0x7F; in cnf10kb_mcs_tx_pn_thresh_reached_handler()
182 event.sa_id = (val >> 7) & 0x7F; in cnf10kb_mcs_tx_pn_thresh_reached_handler()
184 event.pcifunc = mcs->tx.sa2pf_map[event.sa_id]; in cnf10kb_mcs_tx_pn_thresh_reached_handler()
206 event.sa_id = (val >> 7) & 0x7F; in cnf10kb_mcs_tx_pn_wrapped_handler()
209 event.sa_id = val & 0x7F; in cnf10kb_mcs_tx_pn_wrapped_handler()
211 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()
817 event.sa_id = (val >> 9) & 0xFF; in cn10kb_mcs_tx_pn_wrapped_handler()
820 event.sa_id = val & 0xFF; in cn10kb_mcs_tx_pn_wrapped_handler()
822 event.pcifunc = mcs->tx.sa2pf_map[event.sa_id]; in cn10kb_mcs_tx_pn_wrapped_handler()
857 event.sa_id = val & 0xFF; in cn10kb_mcs_tx_pn_thresh_reached_handler()
859 event.sa_id = (val >> 9) & 0xFF; in cn10kb_mcs_tx_pn_thresh_reached_handler()
861 event.pcifunc = mcs->tx.sa2pf_map[event.sa_id]; in cn10kb_mcs_tx_pn_thresh_reached_handler()
884 event.sa_id = sa + (reg * 64); in mcs_rx_pn_thresh_reached_handler()
[all …]
Drvu_debugfs.c274 int sa_id; in rvu_dbg_mcs_sa_stats_display() local
279 for_each_set_bit(sa_id, map->bmap, mcs->hw->sa_entries) { in rvu_dbg_mcs_sa_stats_display()
281 mcs_get_sa_stats(mcs, &stats, sa_id, MCS_TX); in rvu_dbg_mcs_sa_stats_display()
282 seq_printf(filp, "sa%d: Pkts encrypted: %lld\n", sa_id, in rvu_dbg_mcs_sa_stats_display()
285 seq_printf(filp, "sa%d: Pkts protected: %lld\n", sa_id, in rvu_dbg_mcs_sa_stats_display()
295 for_each_set_bit(sa_id, map->bmap, mcs->hw->sa_entries) { in rvu_dbg_mcs_sa_stats_display()
297 mcs_get_sa_stats(mcs, &stats, sa_id, MCS_RX); in rvu_dbg_mcs_sa_stats_display()
298 seq_printf(filp, "sa%d: Invalid pkts: %lld\n", sa_id, stats.pkt_invalid_cnt); in rvu_dbg_mcs_sa_stats_display()
299 seq_printf(filp, "sa%d: Pkts no sa error: %lld\n", sa_id, stats.pkt_nosaerror_cnt); in rvu_dbg_mcs_sa_stats_display()
300 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.h99 u64 sa_id; member
Dmcs_rvu_if.c97 req->sa_id = event->sa_id; in mcs_notify_pfvf()
Dmbox.h2119 int sa_id; member
/Linux-v6.1/net/xfrm/
Dxfrm_user.c2325 memset(&id->sa_id, 0, sizeof(id->sa_id)); in build_aevent()
2326 memcpy(&id->sa_id.daddr, &x->id.daddr, sizeof(x->id.daddr)); in build_aevent()
2327 id->sa_id.spi = x->id.spi; in build_aevent()
2328 id->sa_id.family = x->props.family; in build_aevent()
2329 id->sa_id.proto = x->id.proto; in build_aevent()
2387 struct xfrm_usersa_id *id = &p->sa_id; in xfrm_get_ae()
2445 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-v6.1/include/uapi/linux/
Dxfrm.h406 struct xfrm_usersa_id sa_id; member
/Linux-v6.1/Documentation/networking/
Dxfrm_sync.rst55 struct xfrm_usersa_id sa_id;
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dcn10k_macsec.c1612 if (txsc->hw_sa_id[an] == event->sa_id) { in cn10k_handle_mcs_event()