Searched refs:port_obj_info (Results 1 – 6 of 6) sorted by relevance
/linux/net/switchdev/ |
A D | switchdev.c | 536 struct switchdev_notifier_port_obj_info *port_obj_info, in __switchdev_handle_port_obj_add() argument 542 struct switchdev_notifier_info *info = &port_obj_info->info; in __switchdev_handle_port_obj_add() 551 err = add_cb(dev, info->ctx, port_obj_info->obj, extack); in __switchdev_handle_port_obj_add() 553 port_obj_info->handled = true; in __switchdev_handle_port_obj_add() 568 err = __switchdev_handle_port_obj_add(lower_dev, port_obj_info, in __switchdev_handle_port_obj_add() 578 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_add() argument 595 struct switchdev_notifier_port_obj_info *port_obj_info, in __switchdev_handle_port_obj_del() argument 600 struct switchdev_notifier_info *info = &port_obj_info->info; in __switchdev_handle_port_obj_del() 606 err = del_cb(dev, info->ctx, port_obj_info->obj); in __switchdev_handle_port_obj_del() 608 port_obj_info->handled = true; in __switchdev_handle_port_obj_del() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
A D | bridge.c | 186 struct switchdev_notifier_port_obj_info *port_obj_info, in mlx5_esw_bridge_port_obj_add() argument 189 struct netlink_ext_ack *extack = switchdev_notifier_info_to_extack(&port_obj_info->info); in mlx5_esw_bridge_port_obj_add() 190 const struct switchdev_obj *obj = port_obj_info->obj; in mlx5_esw_bridge_port_obj_add() 199 port_obj_info->handled = true; in mlx5_esw_bridge_port_obj_add() 215 struct switchdev_notifier_port_obj_info *port_obj_info, in mlx5_esw_bridge_port_obj_del() argument 218 const struct switchdev_obj *obj = port_obj_info->obj; in mlx5_esw_bridge_port_obj_del() 226 port_obj_info->handled = true; in mlx5_esw_bridge_port_obj_del()
|
/linux/include/net/ |
A D | switchdev.h | 315 struct switchdev_notifier_port_obj_info *port_obj_info, 321 struct switchdev_notifier_port_obj_info *port_obj_info, 434 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_add() argument 445 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_del() argument
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_switchdev.c | 3413 port_obj_info) in mlxsw_sp_switchdev_vxlan_vlans_add() 3416 SWITCHDEV_OBJ_PORT_VLAN(port_obj_info->obj); in mlxsw_sp_switchdev_vxlan_vlans_add() 3433 port_obj_info->handled = true; in mlxsw_sp_switchdev_vxlan_vlans_add() 3451 port_obj_info) in mlxsw_sp_switchdev_vxlan_vlans_del() 3454 SWITCHDEV_OBJ_PORT_VLAN(port_obj_info->obj); in mlxsw_sp_switchdev_vxlan_vlans_del() 3467 port_obj_info->handled = true; in mlxsw_sp_switchdev_vxlan_vlans_del() 3483 port_obj_info) in mlxsw_sp_switchdev_handle_vxlan_obj_add() 3487 switch (port_obj_info->obj->id) { in mlxsw_sp_switchdev_handle_vxlan_obj_add() 3490 port_obj_info); in mlxsw_sp_switchdev_handle_vxlan_obj_add() 3502 port_obj_info) in mlxsw_sp_switchdev_handle_vxlan_obj_del() [all …]
|
/linux/drivers/net/ethernet/rocker/ |
A D | rocker_main.c | 2819 struct switchdev_notifier_port_obj_info *port_obj_info) in rocker_switchdev_port_obj_event() argument 2825 err = rocker_port_obj_add(netdev, port_obj_info->obj); in rocker_switchdev_port_obj_event() 2828 err = rocker_port_obj_del(netdev, port_obj_info->obj); in rocker_switchdev_port_obj_event() 2832 port_obj_info->handled = true; in rocker_switchdev_port_obj_event()
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-switch.c | 2309 struct switchdev_notifier_port_obj_info *port_obj_info) in dpaa2_switch_port_obj_event() argument 2318 err = dpaa2_switch_port_obj_add(netdev, port_obj_info->obj); in dpaa2_switch_port_obj_event() 2321 err = dpaa2_switch_port_obj_del(netdev, port_obj_info->obj); in dpaa2_switch_port_obj_event() 2325 port_obj_info->handled = true; in dpaa2_switch_port_obj_event()
|
Completed in 28 milliseconds