Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/switchdev/
H A 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()
463 err = add_cb(dev, port_obj_info->obj, port_obj_info->trans, in __switchdev_handle_port_obj_add()
466 port_obj_info->handled = true; in __switchdev_handle_port_obj_add()
481 err = __switchdev_handle_port_obj_add(lower_dev, port_obj_info, in __switchdev_handle_port_obj_add()
491 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_add() argument
500 err = __switchdev_handle_port_obj_add(dev, port_obj_info, check_cb, in switchdev_handle_port_obj_add()
509 struct switchdev_notifier_port_obj_info *port_obj_info, in __switchdev_handle_port_obj_del() argument
519 err = del_cb(dev, port_obj_info->obj); in __switchdev_handle_port_obj_del()
521 port_obj_info->handled = true; in __switchdev_handle_port_obj_del()
[all …]
/OK3568_Linux_fs/kernel/include/net/
H A 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
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_switchdev.c3295 port_obj_info) in mlxsw_sp_switchdev_vxlan_vlans_add()
3298 SWITCHDEV_OBJ_PORT_VLAN(port_obj_info->obj); in mlxsw_sp_switchdev_vxlan_vlans_add()
3301 struct switchdev_trans *trans = port_obj_info->trans; in mlxsw_sp_switchdev_vxlan_vlans_add()
3308 extack = switchdev_notifier_info_to_extack(&port_obj_info->info); in mlxsw_sp_switchdev_vxlan_vlans_add()
3317 port_obj_info->handled = true; in mlxsw_sp_switchdev_vxlan_vlans_add()
3346 port_obj_info) in mlxsw_sp_switchdev_vxlan_vlans_del()
3349 SWITCHDEV_OBJ_PORT_VLAN(port_obj_info->obj); in mlxsw_sp_switchdev_vxlan_vlans_del()
3363 port_obj_info->handled = true; in mlxsw_sp_switchdev_vxlan_vlans_del()
3380 port_obj_info) in mlxsw_sp_switchdev_handle_vxlan_obj_add()
3384 switch (port_obj_info->obj->id) { in mlxsw_sp_switchdev_handle_vxlan_obj_add()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/fsl-dpaa2/ethsw/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/rocker/
H A 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()