Searched refs:port_obj_info (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.15/net/switchdev/ |
D | switchdev.c | 642 struct switchdev_notifier_port_obj_info *port_obj_info, in __switchdev_handle_port_obj_add() argument 648 struct switchdev_notifier_info *info = &port_obj_info->info; in __switchdev_handle_port_obj_add() 657 err = add_cb(dev, info->ctx, port_obj_info->obj, extack); in __switchdev_handle_port_obj_add() 659 port_obj_info->handled = true; in __switchdev_handle_port_obj_add() 674 err = __switchdev_handle_port_obj_add(lower_dev, port_obj_info, in __switchdev_handle_port_obj_add() 684 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_add() argument 692 err = __switchdev_handle_port_obj_add(dev, port_obj_info, check_cb, in switchdev_handle_port_obj_add() 701 struct switchdev_notifier_port_obj_info *port_obj_info, in __switchdev_handle_port_obj_del() argument 706 struct switchdev_notifier_info *info = &port_obj_info->info; in __switchdev_handle_port_obj_del() 712 err = del_cb(dev, info->ctx, port_obj_info->obj); in __switchdev_handle_port_obj_del() [all …]
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
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-v5.15/include/net/ |
D | switchdev.h | 327 struct switchdev_notifier_port_obj_info *port_obj_info, 333 struct switchdev_notifier_port_obj_info *port_obj_info, 462 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_add() argument 473 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_del() argument
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_switchdev.c | 3416 port_obj_info) in mlxsw_sp_switchdev_vxlan_vlans_add() 3419 SWITCHDEV_OBJ_PORT_VLAN(port_obj_info->obj); in mlxsw_sp_switchdev_vxlan_vlans_add() 3427 extack = switchdev_notifier_info_to_extack(&port_obj_info->info); in mlxsw_sp_switchdev_vxlan_vlans_add() 3436 port_obj_info->handled = true; in mlxsw_sp_switchdev_vxlan_vlans_add() 3454 port_obj_info) in mlxsw_sp_switchdev_vxlan_vlans_del() 3457 SWITCHDEV_OBJ_PORT_VLAN(port_obj_info->obj); in mlxsw_sp_switchdev_vxlan_vlans_del() 3470 port_obj_info->handled = true; in mlxsw_sp_switchdev_vxlan_vlans_del() 3486 port_obj_info) in mlxsw_sp_switchdev_handle_vxlan_obj_add() 3490 switch (port_obj_info->obj->id) { in mlxsw_sp_switchdev_handle_vxlan_obj_add() 3493 port_obj_info); in mlxsw_sp_switchdev_handle_vxlan_obj_add() [all …]
|
/Linux-v5.15/drivers/net/ethernet/rocker/ |
D | rocker_main.c | 2817 struct switchdev_notifier_port_obj_info *port_obj_info) in rocker_switchdev_port_obj_event() argument 2823 err = rocker_port_obj_add(netdev, port_obj_info->obj); in rocker_switchdev_port_obj_event() 2826 err = rocker_port_obj_del(netdev, port_obj_info->obj); in rocker_switchdev_port_obj_event() 2830 port_obj_info->handled = true; in rocker_switchdev_port_obj_event()
|
/Linux-v5.15/drivers/net/ethernet/freescale/dpaa2/ |
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()
|