Home
last modified time | relevance | path

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

/Linux-v5.4/net/switchdev/
Dswitchdev.c449 struct switchdev_notifier_port_obj_info *port_obj_info, in __switchdev_handle_port_obj_add() argument
461 extack = switchdev_notifier_info_to_extack(&port_obj_info->info); in __switchdev_handle_port_obj_add()
465 port_obj_info->handled = true; in __switchdev_handle_port_obj_add()
466 return add_cb(dev, port_obj_info->obj, port_obj_info->trans, in __switchdev_handle_port_obj_add()
478 err = __switchdev_handle_port_obj_add(lower_dev, port_obj_info, in __switchdev_handle_port_obj_add()
488 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_add() argument
497 err = __switchdev_handle_port_obj_add(dev, port_obj_info, check_cb, in switchdev_handle_port_obj_add()
506 struct switchdev_notifier_port_obj_info *port_obj_info, in __switchdev_handle_port_obj_del() argument
517 port_obj_info->handled = true; in __switchdev_handle_port_obj_del()
518 return del_cb(dev, port_obj_info->obj); in __switchdev_handle_port_obj_del()
[all …]
/Linux-v5.4/include/net/
Dswitchdev.h184 struct switchdev_notifier_port_obj_info *port_obj_info,
191 struct switchdev_notifier_port_obj_info *port_obj_info,
268 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_add() argument
280 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_del() argument
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.c3320 port_obj_info) in mlxsw_sp_switchdev_vxlan_vlans_add()
3323 SWITCHDEV_OBJ_PORT_VLAN(port_obj_info->obj); in mlxsw_sp_switchdev_vxlan_vlans_add()
3326 struct switchdev_trans *trans = port_obj_info->trans; in mlxsw_sp_switchdev_vxlan_vlans_add()
3333 extack = switchdev_notifier_info_to_extack(&port_obj_info->info); in mlxsw_sp_switchdev_vxlan_vlans_add()
3342 port_obj_info->handled = true; in mlxsw_sp_switchdev_vxlan_vlans_add()
3371 port_obj_info) in mlxsw_sp_switchdev_vxlan_vlans_del()
3374 SWITCHDEV_OBJ_PORT_VLAN(port_obj_info->obj); in mlxsw_sp_switchdev_vxlan_vlans_del()
3388 port_obj_info->handled = true; in mlxsw_sp_switchdev_vxlan_vlans_del()
3405 port_obj_info) in mlxsw_sp_switchdev_handle_vxlan_obj_add()
3409 switch (port_obj_info->obj->id) { in mlxsw_sp_switchdev_handle_vxlan_obj_add()
[all …]
/Linux-v5.4/drivers/staging/fsl-dpaa2/ethsw/
Dethsw.c1284 struct switchdev_notifier_port_obj_info *port_obj_info) in ethsw_switchdev_port_obj_event() argument
1290 err = swdev_port_obj_add(netdev, port_obj_info->obj, in ethsw_switchdev_port_obj_event()
1291 port_obj_info->trans); in ethsw_switchdev_port_obj_event()
1294 err = swdev_port_obj_del(netdev, port_obj_info->obj); in ethsw_switchdev_port_obj_event()
1298 port_obj_info->handled = true; in ethsw_switchdev_port_obj_event()
/Linux-v5.4/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()