Searched refs:port_obj_info (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/net/switchdev/ |
D | switchdev.c | 609 struct switchdev_notifier_port_obj_info *port_obj_info, in __switchdev_handle_port_obj_add() argument 617 struct switchdev_notifier_info *info = &port_obj_info->info; in __switchdev_handle_port_obj_add() 626 err = add_cb(dev, info->ctx, port_obj_info->obj, extack); in __switchdev_handle_port_obj_add() 628 port_obj_info->handled = true; in __switchdev_handle_port_obj_add() 651 err = __switchdev_handle_port_obj_add(lower_dev, port_obj_info, in __switchdev_handle_port_obj_add() 675 return __switchdev_handle_port_obj_add(br, port_obj_info, check_cb, 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() 705 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_add_foreign() argument 715 err = __switchdev_handle_port_obj_add(dev, port_obj_info, check_cb, in switchdev_handle_port_obj_add_foreign() [all …]
|
/linux-6.6.21/include/net/ |
D | switchdev.h | 342 struct switchdev_notifier_port_obj_info *port_obj_info, 348 struct switchdev_notifier_port_obj_info *port_obj_info, 356 struct switchdev_notifier_port_obj_info *port_obj_info, 361 struct switchdev_notifier_port_obj_info *port_obj_info, 473 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_add() argument 483 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_add_foreign() argument 496 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_del() argument 506 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_del_foreign() argument
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | bridge.c | 220 struct switchdev_notifier_port_obj_info *port_obj_info, in mlx5_esw_bridge_port_obj_add() argument 223 struct netlink_ext_ack *extack = switchdev_notifier_info_to_extack(&port_obj_info->info); in mlx5_esw_bridge_port_obj_add() 224 const struct switchdev_obj *obj = port_obj_info->obj; in mlx5_esw_bridge_port_obj_add() 234 port_obj_info->handled = true; in mlx5_esw_bridge_port_obj_add() 255 struct switchdev_notifier_port_obj_info *port_obj_info, in mlx5_esw_bridge_port_obj_del() argument 258 const struct switchdev_obj *obj = port_obj_info->obj; in mlx5_esw_bridge_port_obj_del() 267 port_obj_info->handled = true; in mlx5_esw_bridge_port_obj_del()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_switchdev.c | 404 struct switchdev_notifier_port_obj_info *port_obj_info = ptr; in mlxsw_sp_bridge_port_replay_switchdev_objs() local 405 struct netlink_ext_ack *extack = port_obj_info->info.extack; in mlxsw_sp_bridge_port_replay_switchdev_objs() 409 rso = (void *)port_obj_info->info.ctx; in mlxsw_sp_bridge_port_replay_switchdev_objs() 427 if (port_obj_info->obj->id == SWITCHDEV_OBJ_ID_PORT_VLAN) { in mlxsw_sp_bridge_port_replay_switchdev_objs() 428 u16 vid = SWITCHDEV_OBJ_PORT_VLAN(port_obj_info->obj)->vid; in mlxsw_sp_bridge_port_replay_switchdev_objs() 437 port_obj_info->obj, extack); in mlxsw_sp_bridge_port_replay_switchdev_objs() 452 struct switchdev_notifier_port_obj_info *port_obj_info = ptr; in mlxsw_sp_bridge_port_unreplay_switchdev_objs() local 455 rso = (void *)port_obj_info->info.ctx; in mlxsw_sp_bridge_port_unreplay_switchdev_objs() 464 port_obj_info->obj); in mlxsw_sp_bridge_port_unreplay_switchdev_objs() 3935 port_obj_info) in mlxsw_sp_switchdev_vxlan_vlans_add() [all …]
|
/linux-6.6.21/drivers/net/ethernet/rocker/ |
D | rocker_main.c | 2805 struct switchdev_notifier_port_obj_info *port_obj_info) in rocker_switchdev_port_obj_event() argument 2811 err = rocker_port_obj_add(netdev, port_obj_info->obj); in rocker_switchdev_port_obj_event() 2814 err = rocker_port_obj_del(netdev, port_obj_info->obj); in rocker_switchdev_port_obj_event() 2818 port_obj_info->handled = true; in rocker_switchdev_port_obj_event()
|
/linux-6.6.21/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-switch.c | 2327 struct switchdev_notifier_port_obj_info *port_obj_info) in dpaa2_switch_port_obj_event() argument 2336 err = dpaa2_switch_port_obj_add(netdev, port_obj_info->obj); in dpaa2_switch_port_obj_event() 2339 err = dpaa2_switch_port_obj_del(netdev, port_obj_info->obj); in dpaa2_switch_port_obj_event() 2343 port_obj_info->handled = true; in dpaa2_switch_port_obj_event()
|