Searched refs:secy_id (Results 1 – 6 of 6) sorted by relevance
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/af/ |
A D | rvu_debugfs.c | 428 int secy_id; in rvu_dbg_mcs_tx_secy_stats_display() local 434 for_each_set_bit(secy_id, map->bmap, mcs->hw->secy_entries) { in rvu_dbg_mcs_tx_secy_stats_display() 435 mcs_get_tx_secy_stats(mcs, &stats, secy_id); in rvu_dbg_mcs_tx_secy_stats_display() 436 seq_printf(filp, "\n=======Secy%d======\n\n", secy_id); in rvu_dbg_mcs_tx_secy_stats_display() 437 seq_printf(filp, "secy%d: Ctrl bcast pkts: %lld\n", secy_id, in rvu_dbg_mcs_tx_secy_stats_display() 439 seq_printf(filp, "secy%d: Ctrl Mcast pkts: %lld\n", secy_id, in rvu_dbg_mcs_tx_secy_stats_display() 441 seq_printf(filp, "secy%d: Ctrl ucast pkts: %lld\n", secy_id, in rvu_dbg_mcs_tx_secy_stats_display() 471 int secy_id; in rvu_dbg_mcs_rx_secy_stats_display() local 478 mcs_get_rx_secy_stats(mcs, &stats, secy_id); in rvu_dbg_mcs_rx_secy_stats_display() 479 seq_printf(filp, "\n=======Secy%d======\n\n", secy_id); in rvu_dbg_mcs_rx_secy_stats_display() [all …]
|
A D | mcs.c | 419 reg = MCSX_CPM_RX_SLAVE_SECY_PLCY_MEM_0X(secy_id); in mcs_secy_plcy_write() 421 reg = MCSX_CPM_TX_SLAVE_SECY_PLCY_MEMX(secy_id); in mcs_secy_plcy_write() 491 int flow_id, secy_id, reg_id; in mcs_install_flowid_bypass_entry() local 506 secy_id = mcs->hw->secy_entries - MCS_RSRC_RSVD_CNT; in mcs_install_flowid_bypass_entry() 512 mcs_secy_plcy_write(mcs, plcy, secy_id, MCS_RX); in mcs_install_flowid_bypass_entry() 518 mcs_secy_plcy_write(mcs, plcy, secy_id, MCS_TX); in mcs_install_flowid_bypass_entry() 521 map.secy = secy_id; in mcs_install_flowid_bypass_entry() 525 map.sc = secy_id; in mcs_install_flowid_bypass_entry() 545 mcs_secy_plcy_write(mcs, 0, secy_id, dir); in mcs_clear_secy_plcy() 549 if (map->flowid2secy_map[flow_id] != secy_id) in mcs_clear_secy_plcy() [all …]
|
A D | mcs.h | 188 int mcs_alloc_all_rsrc(struct mcs *mcs, u8 *flowid, u8 *secy_id, 191 void mcs_clear_secy_plcy(struct mcs *mcs, int secy_id, int dir);
|
A D | mcs_rvu_if.c | 539 mcs_rx_sc_cam_write(mcs, req->sci, req->secy_id, req->sc_id); in rvu_mbox_handler_mcs_rx_sc_cam_write() 554 req->secy_id, req->dir); in rvu_mbox_handler_mcs_secy_plcy_write() 573 map.secy = req->secy_id; in rvu_mbox_handler_mcs_flowid_entry_write()
|
A D | mbox.h | 1815 u8 secy_id; /* secyid for which flowid is mapped */ member 1827 u8 secy_id; member 1837 u64 secy_id; /* secy index mapped to SC */ member
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | cn10k_macsec.c | 226 req->secy_id = hw_secy_id; in cn10k_mcs_write_rx_secy() 261 req->secy_id = hw_secy_id; in cn10k_mcs_write_rx_flowid() 293 sc_req->secy_id = hw_secy_id; in cn10k_mcs_write_sc_cam() 433 req->secy_id = txsc->hw_secy_id_tx; in cn10k_mcs_write_tx_secy() 475 req->secy_id = txsc->hw_secy_id_tx; in cn10k_mcs_write_tx_flowid()
|
Completed in 29 milliseconds