Home
last modified time | relevance | path

Searched refs:trap_id (Results 1 – 15 of 15) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth-devlink.c55 dpaa2_eth_dl_trap_item_lookup(struct dpaa2_eth_priv *priv, u16 trap_id) in dpaa2_eth_dl_trap_item_lookup() argument
61 if (dpaa2_eth_traps_arr[i].id == trap_id) in dpaa2_eth_dl_trap_item_lookup()
73 enum devlink_trap_generic_id trap_id; in dpaa2_eth_dl_get_trap() member
75 { .position = 5, .trap_id = DEVLINK_TRAP_GENERIC_ID_VXLAN_PARSING }, in dpaa2_eth_dl_get_trap()
76 { .position = 20, .trap_id = DEVLINK_TRAP_GENERIC_ID_LLC_SNAP_PARSING }, in dpaa2_eth_dl_get_trap()
77 { .position = 24, .trap_id = DEVLINK_TRAP_GENERIC_ID_VLAN_PARSING }, in dpaa2_eth_dl_get_trap()
78 { .position = 26, .trap_id = DEVLINK_TRAP_GENERIC_ID_PPPOE_PPP_PARSING }, in dpaa2_eth_dl_get_trap()
79 { .position = 29, .trap_id = DEVLINK_TRAP_GENERIC_ID_MPLS_PARSING }, in dpaa2_eth_dl_get_trap()
80 { .position = 31, .trap_id = DEVLINK_TRAP_GENERIC_ID_ARP_PARSING }, in dpaa2_eth_dl_get_trap()
81 { .position = 52, .trap_id = DEVLINK_TRAP_GENERIC_ID_IP_1_PARSING }, in dpaa2_eth_dl_get_trap()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore.h67 u16 trap_id; member
73 enum mlxsw_event_trap_id trap_id; member
77 u16 trap_id; member
97 .trap_id = MLXSW_TRAP_ID_##_trap_id, \
103 .trap_id = MLXSW_TRAP_ID_##_trap_id, \
130 .trap_id = MLXSW_TRAP_ID_##_trap_id, \
134 .trap_id = MLXSW_TRAP_ID_##_trap_id, \
190 int trap_id; member
H A Dcore_acl_flex_actions.h55 int mlxsw_afa_block_append_trap(struct mlxsw_afa_block *block, u16 trap_id);
57 u16 trap_id);
H A Dcore.c2114 rxl_a->trap_id == rxl_b->trap_id && in __is_rx_listener_equal()
2203 el_a->trap_id == el_b->trap_id); in __is_event_listener_equal()
2228 .trap_id = el->trap_id, in mlxsw_core_event_listener_register()
2264 .trap_id = el->trap_id, in mlxsw_core_event_listener_unregister()
2321 mlxsw_reg_hpkt_pack(hpkt_pl, action, listener->trap_id, in mlxsw_core_trap_register()
2343 listener->trap_id, listener->dis_trap_group, in mlxsw_core_trap_unregister()
2368 mlxsw_reg_hpkt_pack(hpkt_pl, action, listener->trap_id, in mlxsw_core_trap_state_set()
2612 rx_info->trap_id); in mlxsw_core_skb_receive()
2624 __func__, local_port, rx_info->trap_id); in mlxsw_core_skb_receive()
2626 if ((rx_info->trap_id >= MLXSW_TRAP_ID_MAX) || in mlxsw_core_skb_receive()
[all …]
H A Dcore_acl_flex_actions.c1201 MLXSW_ITEM32(afa, trap, trap_id, 0x04, 0, 9);
1226 u16 trap_id) in mlxsw_afa_trap_pack() argument
1230 mlxsw_afa_trap_trap_id_set(payload, trap_id); in mlxsw_afa_trap_pack()
1237 u16 trap_id, u32 user_def_val) in mlxsw_afa_trapwu_pack() argument
1239 mlxsw_afa_trap_pack(payload, trap_action, forward_action, trap_id); in mlxsw_afa_trapwu_pack()
1323 int mlxsw_afa_block_append_trap(struct mlxsw_afa_block *block, u16 trap_id) in mlxsw_afa_block_append_trap() argument
1332 MLXSW_AFA_TRAP_FORWARD_ACTION_DISCARD, trap_id); in mlxsw_afa_block_append_trap()
1338 u16 trap_id) in mlxsw_afa_block_append_trap_and_forward() argument
1347 MLXSW_AFA_TRAP_FORWARD_ACTION_FORWARD, trap_id); in mlxsw_afa_block_append_trap_and_forward()
H A Dreg.h5892 MLXSW_ITEM32(reg, hpkt, trap_id, 0x00, 0, 10);
5910 static inline void mlxsw_reg_hpkt_pack(char *payload, u8 action, u16 trap_id, in mlxsw_reg_hpkt_pack() argument
5918 mlxsw_reg_hpkt_trap_id_set(payload, trap_id); in mlxsw_reg_hpkt_pack()
6585 MLXSW_ITEM32(reg, ratr, trap_id, 0x0C, 0, 8);
7218 MLXSW_ITEM32(reg, ralue, trap_id, 0x20, 0, 9);
7302 u16 trap_id, u32 adjacency_index, u16 ecmp_size) in mlxsw_reg_ralue_act_remote_pack() argument
7307 mlxsw_reg_ralue_trap_id_set(payload, trap_id); in mlxsw_reg_ralue_act_remote_pack()
7315 u16 trap_id, u16 local_erif) in mlxsw_reg_ralue_act_local_pack() argument
7320 mlxsw_reg_ralue_trap_id_set(payload, trap_id); in mlxsw_reg_ralue_act_local_pack()
7438 MLXSW_ITEM32(reg, rauht, trap_id, 0x60, 0, 9);
[all …]
H A Dpci_hw.h179 MLXSW_ITEM32(pci, cqe, trap_id, 0x08, 0, 10);
H A Dpci.c582 rx_info.trap_id = mlxsw_pci_cqe_trap_id_get(cqe); in mlxsw_pci_cqe_rdq_handle()
584 if (rx_info.trap_id == MLXSW_TRAP_ID_DISCARD_INGRESS_ACL || in mlxsw_pci_cqe_rdq_handle()
585 rx_info.trap_id == MLXSW_TRAP_ID_DISCARD_EGRESS_ACL) { in mlxsw_pci_cqe_rdq_handle()
591 } else if (rx_info.trap_id >= MLXSW_TRAP_ID_MIRROR_SESSION0 && in mlxsw_pci_cqe_rdq_handle()
592 rx_info.trap_id <= MLXSW_TRAP_ID_MIRROR_SESSION7 && in mlxsw_pci_cqe_rdq_handle()
H A Dspectrum_ptp.c693 enum mlxsw_reg_mtptpt_trap_id trap_id, in mlxsw_sp_ptp_mtptpt_set() argument
698 mlxsw_reg_mtptptp_pack(mtptpt_pl, trap_id, message_type); in mlxsw_sp_ptp_mtptpt_set()
H A Dspectrum_router.c4350 u16 trap_id = 0; in mlxsw_sp_fib_entry_op_remote() local
4374 trap_id = MLXSW_TRAP_ID_RTR_INGRESS0; in mlxsw_sp_fib_entry_op_remote()
4378 mlxsw_reg_ralue_act_remote_pack(ralue_pl, trap_action, trap_id, in mlxsw_sp_fib_entry_op_remote()
4390 u16 trap_id = 0; in mlxsw_sp_fib_entry_op_local() local
4398 trap_id = MLXSW_TRAP_ID_RTR_INGRESS0; in mlxsw_sp_fib_entry_op_local()
4402 mlxsw_reg_ralue_act_local_pack(ralue_pl, trap_action, trap_id, in mlxsw_sp_fib_entry_op_local()
4438 u16 trap_id; in mlxsw_sp_fib_entry_op_unreachable() local
4441 trap_id = MLXSW_TRAP_ID_RTR_INGRESS1; in mlxsw_sp_fib_entry_op_unreachable()
4444 mlxsw_reg_ralue_act_local_pack(ralue_pl, trap_action, trap_id, 0); in mlxsw_sp_fib_entry_op_unreachable()
H A Dspectrum_trap.c1266 return listener->trap_id != 0; in mlxsw_sp_trap_listener_is_valid()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_dbgdev.h115 uint32_t trap_id:3; member
H A Dkfd_dbgdev.c564 reg_sq_cmd.bits.trap_id = wac_info->trapId; in dbgdev_wave_control_set_registers()
/OK3568_Linux_fs/kernel/drivers/net/netdevsim/
H A Ddev.c794 nsim_dev_trap_item_lookup(struct nsim_dev *nsim_dev, u16 trap_id) in nsim_dev_trap_item_lookup() argument
800 if (nsim_traps_arr[i].id == trap_id) in nsim_dev_trap_item_lookup()
/OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-mx7/
H A Dimx-regs.h1019 u32 trap_id[4]; /* Trap ID */ member