Home
last modified time | relevance | path

Searched refs:in_devlink_port (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_trap.c91 struct devlink_port *in_devlink_port; in mlxsw_sp_rx_drop_listener() local
105 in_devlink_port = mlxsw_core_port_devlink_port_get(mlxsw_sp->core, in mlxsw_sp_rx_drop_listener()
108 devlink_trap_report(devlink, skb, trap_ctx, in_devlink_port, NULL); in mlxsw_sp_rx_drop_listener()
117 struct devlink_port *in_devlink_port; in mlxsw_sp_rx_acl_drop_listener() local
131 in_devlink_port = mlxsw_core_port_devlink_port_get(mlxsw_sp->core, in mlxsw_sp_rx_acl_drop_listener()
136 devlink_trap_report(devlink, skb, trap_ctx, in_devlink_port, fa_cookie); in mlxsw_sp_rx_acl_drop_listener()
144 struct devlink_port *in_devlink_port; in __mlxsw_sp_rx_no_mark_listener() local
158 in_devlink_port = mlxsw_core_port_devlink_port_get(mlxsw_sp->core, in __mlxsw_sp_rx_no_mark_listener()
161 devlink_trap_report(devlink, skb, trap_ctx, in_devlink_port, NULL); in __mlxsw_sp_rx_no_mark_listener()
/openbmc/linux/net/devlink/
H A Dtrap.c1470 struct devlink_port *in_devlink_port, in devlink_trap_report_metadata_set() argument
1478 spin_lock(&in_devlink_port->type_lock); in devlink_trap_report_metadata_set()
1479 if (in_devlink_port->type == DEVLINK_PORT_TYPE_ETH) in devlink_trap_report_metadata_set()
1480 metadata->input_dev = in_devlink_port->type_eth.netdev; in devlink_trap_report_metadata_set()
1481 spin_unlock(&in_devlink_port->type_lock); in devlink_trap_report_metadata_set()
1493 void *trap_ctx, struct devlink_port *in_devlink_port, in devlink_trap_report() argument
1506 in_devlink_port, fa_cookie); in devlink_trap_report()
/openbmc/linux/include/net/
H A Ddevlink.h1949 void *trap_ctx, struct devlink_port *in_devlink_port,