Home
last modified time | relevance | path

Searched refs:port_obj_info (Results 1 – 6 of 6) sorted by relevance

/linux-6.3-rc2/net/switchdev/
A Dswitchdev.c536 struct switchdev_notifier_port_obj_info *port_obj_info, in __switchdev_handle_port_obj_add() argument
544 struct switchdev_notifier_info *info = &port_obj_info->info; in __switchdev_handle_port_obj_add()
553 err = add_cb(dev, info->ctx, port_obj_info->obj, extack); in __switchdev_handle_port_obj_add()
555 port_obj_info->handled = true; in __switchdev_handle_port_obj_add()
611 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_add() argument
632 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_add_foreign() argument
651 struct switchdev_notifier_port_obj_info *port_obj_info, in __switchdev_handle_port_obj_del() argument
664 err = del_cb(dev, info->ctx, port_obj_info->obj); in __switchdev_handle_port_obj_del()
666 port_obj_info->handled = true; in __switchdev_handle_port_obj_del()
722 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_del() argument
[all …]
/linux-6.3-rc2/include/net/
A Dswitchdev.h339 struct switchdev_notifier_port_obj_info *port_obj_info,
345 struct switchdev_notifier_port_obj_info *port_obj_info,
353 struct switchdev_notifier_port_obj_info *port_obj_info,
358 struct switchdev_notifier_port_obj_info *port_obj_info,
470 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_add() argument
480 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_add_foreign() argument
493 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_del() argument
503 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_del_foreign() argument
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
A Dbridge.c217 struct switchdev_notifier_port_obj_info *port_obj_info, in mlx5_esw_bridge_port_obj_add() argument
220 struct netlink_ext_ack *extack = switchdev_notifier_info_to_extack(&port_obj_info->info); in mlx5_esw_bridge_port_obj_add()
221 const struct switchdev_obj *obj = port_obj_info->obj; in mlx5_esw_bridge_port_obj_add()
230 port_obj_info->handled = true; in mlx5_esw_bridge_port_obj_add()
246 struct switchdev_notifier_port_obj_info *port_obj_info, in mlx5_esw_bridge_port_obj_del() argument
249 const struct switchdev_obj *obj = port_obj_info->obj; in mlx5_esw_bridge_port_obj_del()
257 port_obj_info->handled = true; in mlx5_esw_bridge_port_obj_del()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_switchdev.c3824 port_obj_info) in mlxsw_sp_switchdev_vxlan_vlans_add()
3827 SWITCHDEV_OBJ_PORT_VLAN(port_obj_info->obj); in mlxsw_sp_switchdev_vxlan_vlans_add()
3844 port_obj_info->handled = true; in mlxsw_sp_switchdev_vxlan_vlans_add()
3862 port_obj_info) in mlxsw_sp_switchdev_vxlan_vlans_del()
3865 SWITCHDEV_OBJ_PORT_VLAN(port_obj_info->obj); in mlxsw_sp_switchdev_vxlan_vlans_del()
3878 port_obj_info->handled = true; in mlxsw_sp_switchdev_vxlan_vlans_del()
3894 port_obj_info) in mlxsw_sp_switchdev_handle_vxlan_obj_add()
3898 switch (port_obj_info->obj->id) { in mlxsw_sp_switchdev_handle_vxlan_obj_add()
3901 port_obj_info); in mlxsw_sp_switchdev_handle_vxlan_obj_add()
3913 port_obj_info) in mlxsw_sp_switchdev_handle_vxlan_obj_del()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/rocker/
A Drocker_main.c2805 struct switchdev_notifier_port_obj_info *port_obj_info) in rocker_switchdev_port_obj_event() argument
2811 err = rocker_port_obj_add(netdev, port_obj_info->obj); in rocker_switchdev_port_obj_event()
2814 err = rocker_port_obj_del(netdev, port_obj_info->obj); in rocker_switchdev_port_obj_event()
2818 port_obj_info->handled = true; in rocker_switchdev_port_obj_event()
/linux-6.3-rc2/drivers/net/ethernet/freescale/dpaa2/
A Ddpaa2-switch.c2334 struct switchdev_notifier_port_obj_info *port_obj_info) in dpaa2_switch_port_obj_event() argument
2343 err = dpaa2_switch_port_obj_add(netdev, port_obj_info->obj); in dpaa2_switch_port_obj_event()
2346 err = dpaa2_switch_port_obj_del(netdev, port_obj_info->obj); in dpaa2_switch_port_obj_event()
2350 port_obj_info->handled = true; in dpaa2_switch_port_obj_event()

Completed in 32 milliseconds