Searched refs:secy_id (Results 1 – 7 of 7) sorted by relevance
| /drivers/net/phy/ |
| A D | nxp-c45-tja11xx-macsec.c | 22 #define TX_SC_BIT(secy_id) BIT(MACSEC_REG_SIZE - (secy_id) - 1) argument 195 int secy_id; member 366 reg |= TX_SC_BIT(phy_secy->secy_id); in nxp_c45_secy_irq_en() 368 reg &= ~TX_SC_BIT(phy_secy->secy_id); in nxp_c45_secy_irq_en() 391 if (pos->secy_id == id) in nxp_c45_find_secy_by_id() 635 if (phy_secy->secy_id != 0) in nxp_c45_secy_valid() 1004 phy_secy->secy_id = idx; in nxp_c45_mdo_add_secy() 1695 int secy_id; in nxp_c45_handle_macsec_interrupt() local 1708 secy_id); in nxp_c45_handle_macsec_interrupt() 1716 secy->secy_id, encoding_sa); in nxp_c45_handle_macsec_interrupt() [all …]
|
| /drivers/net/ethernet/marvell/octeontx2/af/ |
| A D | mcs.c | 421 reg = MCSX_CPM_TX_SLAVE_SECY_PLCY_MEMX(secy_id); in mcs_secy_plcy_write() 495 int flow_id, secy_id, reg_id; in mcs_install_flowid_bypass_entry() local 514 __set_bit(secy_id, mcs->rx.secy.bmap); in mcs_install_flowid_bypass_entry() 515 __set_bit(secy_id, mcs->tx.secy.bmap); in mcs_install_flowid_bypass_entry() 521 mcs_secy_plcy_write(mcs, plcy, secy_id, MCS_RX); in mcs_install_flowid_bypass_entry() 527 mcs_secy_plcy_write(mcs, plcy, secy_id, MCS_TX); in mcs_install_flowid_bypass_entry() 530 map.secy = secy_id; in mcs_install_flowid_bypass_entry() 534 map.sc = secy_id; in mcs_install_flowid_bypass_entry() 555 mcs_secy_plcy_write(mcs, 0, secy_id, dir); in mcs_clear_secy_plcy() 559 if (map->flowid2secy_map[flow_id] != secy_id) in mcs_clear_secy_plcy() [all …]
|
| A D | rvu_debugfs.c | 401 int secy_id; in rvu_dbg_mcs_tx_secy_stats_display() local 407 for_each_set_bit(secy_id, map->bmap, mcs->hw->secy_entries) { in rvu_dbg_mcs_tx_secy_stats_display() 408 mcs_get_tx_secy_stats(mcs, &stats, secy_id); in rvu_dbg_mcs_tx_secy_stats_display() 409 seq_printf(filp, "\n=======Secy%d======\n\n", secy_id); in rvu_dbg_mcs_tx_secy_stats_display() 410 seq_printf(filp, "secy%d: Ctrl bcast pkts: %lld\n", secy_id, in rvu_dbg_mcs_tx_secy_stats_display() 412 seq_printf(filp, "secy%d: Ctrl Mcast pkts: %lld\n", secy_id, in rvu_dbg_mcs_tx_secy_stats_display() 414 seq_printf(filp, "secy%d: Ctrl ucast pkts: %lld\n", secy_id, in rvu_dbg_mcs_tx_secy_stats_display() 444 int secy_id; in rvu_dbg_mcs_rx_secy_stats_display() local 451 mcs_get_rx_secy_stats(mcs, &stats, secy_id); in rvu_dbg_mcs_rx_secy_stats_display() 452 seq_printf(filp, "\n=======Secy%d======\n\n", secy_id); in rvu_dbg_mcs_rx_secy_stats_display() [all …]
|
| A D | mcs.h | 183 int mcs_alloc_all_rsrc(struct mcs *mcs, u8 *flowid, u8 *secy_id, 186 void mcs_clear_secy_plcy(struct mcs *mcs, int secy_id, int dir);
|
| A D | mcs_rvu_if.c | 583 mcs_rx_sc_cam_write(mcs, req->sci, req->secy_id, req->sc_id); in rvu_mbox_handler_mcs_rx_sc_cam_write() 598 req->secy_id, req->dir); in rvu_mbox_handler_mcs_secy_plcy_write() 617 map.secy = req->secy_id; in rvu_mbox_handler_mcs_flowid_entry_write()
|
| A D | mbox.h | 2051 u8 secy_id; /* secyid for which flowid is mapped */ member 2063 u8 secy_id; member 2073 u64 secy_id; /* secy index mapped to SC */ member
|
| /drivers/net/ethernet/marvell/octeontx2/nic/ |
| A D | cn10k_macsec.c | 299 req->secy_id = hw_secy_id; in cn10k_mcs_write_rx_secy() 341 req->secy_id = hw_secy_id; in cn10k_mcs_write_rx_flowid() 373 sc_req->secy_id = hw_secy_id; in cn10k_mcs_write_sc_cam() 568 req->secy_id = txsc->hw_secy_id_tx; in cn10k_mcs_write_tx_secy() 610 req->secy_id = txsc->hw_secy_id_tx; in cn10k_mcs_write_tx_flowid()
|
Completed in 40 milliseconds