Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/freescale/dpaa2/
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 …]
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
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
Dcore_acl_flex_actions.h55 int mlxsw_afa_block_append_trap(struct mlxsw_afa_block *block, u16 trap_id);
57 u16 trap_id);
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 …]
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()
Dreg.h5891 MLXSW_ITEM32(reg, hpkt, trap_id, 0x00, 0, 10);
5909 static inline void mlxsw_reg_hpkt_pack(char *payload, u8 action, u16 trap_id, in mlxsw_reg_hpkt_pack() argument
5917 mlxsw_reg_hpkt_trap_id_set(payload, trap_id); in mlxsw_reg_hpkt_pack()
6584 MLXSW_ITEM32(reg, ratr, trap_id, 0x0C, 0, 8);
7217 MLXSW_ITEM32(reg, ralue, trap_id, 0x20, 0, 9);
7301 u16 trap_id, u32 adjacency_index, u16 ecmp_size) in mlxsw_reg_ralue_act_remote_pack() argument
7306 mlxsw_reg_ralue_trap_id_set(payload, trap_id); in mlxsw_reg_ralue_act_remote_pack()
7314 u16 trap_id, u16 local_erif) in mlxsw_reg_ralue_act_local_pack() argument
7319 mlxsw_reg_ralue_trap_id_set(payload, trap_id); in mlxsw_reg_ralue_act_local_pack()
7437 MLXSW_ITEM32(reg, rauht, trap_id, 0x60, 0, 9);
[all …]
Dpci_hw.h179 MLXSW_ITEM32(pci, cqe, trap_id, 0x08, 0, 10);
Dpci.c576 rx_info.trap_id = mlxsw_pci_cqe_trap_id_get(cqe); in mlxsw_pci_cqe_rdq_handle()
578 if (rx_info.trap_id == MLXSW_TRAP_ID_DISCARD_INGRESS_ACL || in mlxsw_pci_cqe_rdq_handle()
579 rx_info.trap_id == MLXSW_TRAP_ID_DISCARD_EGRESS_ACL) { in mlxsw_pci_cqe_rdq_handle()
585 } else if (rx_info.trap_id >= MLXSW_TRAP_ID_MIRROR_SESSION0 && in mlxsw_pci_cqe_rdq_handle()
586 rx_info.trap_id <= MLXSW_TRAP_ID_MIRROR_SESSION7 && in mlxsw_pci_cqe_rdq_handle()
Dspectrum_ptp.c690 enum mlxsw_reg_mtptpt_trap_id trap_id, in mlxsw_sp_ptp_mtptpt_set() argument
695 mlxsw_reg_mtptptp_pack(mtptpt_pl, trap_id, message_type); in mlxsw_sp_ptp_mtptpt_set()
Dspectrum_router.c4347 u16 trap_id = 0; in mlxsw_sp_fib_entry_op_remote() local
4371 trap_id = MLXSW_TRAP_ID_RTR_INGRESS0; in mlxsw_sp_fib_entry_op_remote()
4375 mlxsw_reg_ralue_act_remote_pack(ralue_pl, trap_action, trap_id, in mlxsw_sp_fib_entry_op_remote()
4387 u16 trap_id = 0; in mlxsw_sp_fib_entry_op_local() local
4395 trap_id = MLXSW_TRAP_ID_RTR_INGRESS0; in mlxsw_sp_fib_entry_op_local()
4399 mlxsw_reg_ralue_act_local_pack(ralue_pl, trap_action, trap_id, in mlxsw_sp_fib_entry_op_local()
4435 u16 trap_id; in mlxsw_sp_fib_entry_op_unreachable() local
4438 trap_id = MLXSW_TRAP_ID_RTR_INGRESS1; in mlxsw_sp_fib_entry_op_unreachable()
4441 mlxsw_reg_ralue_act_local_pack(ralue_pl, trap_action, trap_id, 0); in mlxsw_sp_fib_entry_op_unreachable()
Dspectrum_trap.c1266 return listener->trap_id != 0; in mlxsw_sp_trap_listener_is_valid()
/Linux-v5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_dbgdev.h115 uint32_t trap_id:3; member
Dkfd_dbgdev.c564 reg_sq_cmd.bits.trap_id = wac_info->trapId; in dbgdev_wave_control_set_registers()
/Linux-v5.10/drivers/net/netdevsim/
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()