Searched +defs:trap +defs:id +defs:attrs (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/net/devlink/ |
H A D | trap.c | 64 const struct devlink_trap *trap; member 73 devlink_trap_policer_item_lookup(struct devlink *devlink, u32 id) in devlink_trap_policer_item_lookup() 132 const struct devlink_trap *trap) in devlink_trap_metadata_put() 449 devlink_trap_group_item_lookup_by_id(struct devlink *devlink, u16 id) in devlink_trap_group_item_lookup_by_id() 659 struct nlattr **attrs = info->attrs; in devlink_trap_group_set() local 726 u32 id; in devlink_trap_policer_item_get_from_info() local 885 struct nlattr **attrs = info->attrs; in devlink_trap_policer_set() local 1091 static int devlink_trap_generic_verify(const struct devlink_trap *trap) in devlink_trap_generic_verify() 1105 static int devlink_trap_driver_verify(const struct devlink_trap *trap) in devlink_trap_driver_verify() 1120 static int devlink_trap_verify(const struct devlink_trap *trap) in devlink_trap_verify() [all …]
|
/openbmc/linux/drivers/net/netdevsim/ |
H A D | dev.c | 104 u32 id; in nsim_dev_take_snapshot_write() local 1063 const struct devlink_trap *trap, in nsim_dev_devlink_trap_init() 1081 const struct devlink_trap *trap, in nsim_dev_devlink_trap_action_set() 1312 const struct devlink_trap *trap, in nsim_dev_devlink_trap_drop_counter_get() 1358 struct devlink_port_attrs attrs = {}; in __nsim_dev_port_add() local
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core.c | 1295 static int mlxsw_core_devlink_param_fw_load_policy_validate(struct devlink *devlink, u32 id, in mlxsw_core_devlink_param_fw_load_policy_validate() 1606 const struct devlink_trap *trap, in mlxsw_devlink_trap_init() 1618 const struct devlink_trap *trap, in mlxsw_devlink_trap_fini() 1630 const struct devlink_trap *trap, in mlxsw_devlink_trap_action_set() 3134 struct devlink_port_attrs attrs = {}; in __mlxsw_core_port_init() local 3381 u16 id; in mlxsw_core_resources_query() local
|