Home
last modified time | relevance | path

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

/Linux-v5.10/net/switchdev/
Dswitchdev.c448 struct switchdev_notifier_port_obj_info *port_obj_info, in __switchdev_handle_port_obj_add() argument
460 extack = switchdev_notifier_info_to_extack(&port_obj_info->info); in __switchdev_handle_port_obj_add()
464 port_obj_info->handled = true; in __switchdev_handle_port_obj_add()
465 return add_cb(dev, port_obj_info->obj, port_obj_info->trans, in __switchdev_handle_port_obj_add()
480 err = __switchdev_handle_port_obj_add(lower_dev, port_obj_info, in __switchdev_handle_port_obj_add()
490 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_add() argument
499 err = __switchdev_handle_port_obj_add(dev, port_obj_info, check_cb, in switchdev_handle_port_obj_add()
508 struct switchdev_notifier_port_obj_info *port_obj_info, in __switchdev_handle_port_obj_del() argument
519 port_obj_info->handled = true; in __switchdev_handle_port_obj_del()
520 return del_cb(dev, port_obj_info->obj); in __switchdev_handle_port_obj_del()
[all …]
/Linux-v5.10/include/net/
Dswitchdev.h286 struct switchdev_notifier_port_obj_info *port_obj_info,
293 struct switchdev_notifier_port_obj_info *port_obj_info,
370 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_add() argument
382 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_del() argument
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.c3291 port_obj_info) in mlxsw_sp_switchdev_vxlan_vlans_add()
3294 SWITCHDEV_OBJ_PORT_VLAN(port_obj_info->obj); in mlxsw_sp_switchdev_vxlan_vlans_add()
3297 struct switchdev_trans *trans = port_obj_info->trans; in mlxsw_sp_switchdev_vxlan_vlans_add()
3304 extack = switchdev_notifier_info_to_extack(&port_obj_info->info); in mlxsw_sp_switchdev_vxlan_vlans_add()
3313 port_obj_info->handled = true; in mlxsw_sp_switchdev_vxlan_vlans_add()
3342 port_obj_info) in mlxsw_sp_switchdev_vxlan_vlans_del()
3345 SWITCHDEV_OBJ_PORT_VLAN(port_obj_info->obj); in mlxsw_sp_switchdev_vxlan_vlans_del()
3359 port_obj_info->handled = true; in mlxsw_sp_switchdev_vxlan_vlans_del()
3376 port_obj_info) in mlxsw_sp_switchdev_handle_vxlan_obj_add()
3380 switch (port_obj_info->obj->id) { in mlxsw_sp_switchdev_handle_vxlan_obj_add()
[all …]
/Linux-v5.10/drivers/staging/fsl-dpaa2/ethsw/
Dethsw.c1401 struct switchdev_notifier_port_obj_info *port_obj_info) in dpaa2_switch_port_obj_event() argument
1407 err = dpaa2_switch_port_obj_add(netdev, port_obj_info->obj, in dpaa2_switch_port_obj_event()
1408 port_obj_info->trans); in dpaa2_switch_port_obj_event()
1411 err = dpaa2_switch_port_obj_del(netdev, port_obj_info->obj); in dpaa2_switch_port_obj_event()
1415 port_obj_info->handled = true; in dpaa2_switch_port_obj_event()
/Linux-v5.10/drivers/net/ethernet/rocker/
Drocker_main.c2844 struct switchdev_notifier_port_obj_info *port_obj_info) in rocker_switchdev_port_obj_event() argument
2850 err = rocker_port_obj_add(netdev, port_obj_info->obj, in rocker_switchdev_port_obj_event()
2851 port_obj_info->trans); in rocker_switchdev_port_obj_event()
2854 err = rocker_port_obj_del(netdev, port_obj_info->obj); in rocker_switchdev_port_obj_event()
2858 port_obj_info->handled = true; in rocker_switchdev_port_obj_event()