Home
last modified time | relevance | path

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

/linux-6.15/net/switchdev/
H A Dswitchdev.c711 struct switchdev_notifier_port_obj_info *port_obj_info, in __switchdev_handle_port_obj_add() argument
719 struct switchdev_notifier_info *info = &port_obj_info->info; in __switchdev_handle_port_obj_add()
728 err = add_cb(dev, info->ctx, port_obj_info->obj, extack); in __switchdev_handle_port_obj_add()
730 port_obj_info->handled = true; in __switchdev_handle_port_obj_add()
786 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_add() argument
807 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_add_foreign() argument
826 struct switchdev_notifier_port_obj_info *port_obj_info, in __switchdev_handle_port_obj_del() argument
839 err = del_cb(dev, info->ctx, port_obj_info->obj); in __switchdev_handle_port_obj_del()
841 port_obj_info->handled = true; in __switchdev_handle_port_obj_del()
897 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_del() argument
[all …]
/linux-6.15/include/net/
H A Dswitchdev.h342 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.15/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dbridge.c215 struct switchdev_notifier_port_obj_info *port_obj_info, in mlx5_esw_bridge_port_obj_add() argument
218 struct netlink_ext_ack *extack = switchdev_notifier_info_to_extack(&port_obj_info->info); in mlx5_esw_bridge_port_obj_add()
219 const struct switchdev_obj *obj = port_obj_info->obj; in mlx5_esw_bridge_port_obj_add()
229 port_obj_info->handled = true; in mlx5_esw_bridge_port_obj_add()
250 struct switchdev_notifier_port_obj_info *port_obj_info, in mlx5_esw_bridge_port_obj_del() argument
253 const struct switchdev_obj *obj = port_obj_info->obj; in mlx5_esw_bridge_port_obj_del()
262 port_obj_info->handled = true; in mlx5_esw_bridge_port_obj_del()
/linux-6.15/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_switchdev.c437 port_obj_info->obj, extack); in mlxsw_sp_bridge_port_replay_switchdev_objs()
464 port_obj_info->obj); in mlxsw_sp_bridge_port_unreplay_switchdev_objs()
3961 port_obj_info) in mlxsw_sp_switchdev_vxlan_vlans_add()
3981 port_obj_info->handled = true; in mlxsw_sp_switchdev_vxlan_vlans_add()
3999 port_obj_info) in mlxsw_sp_switchdev_vxlan_vlans_del()
4015 port_obj_info->handled = true; in mlxsw_sp_switchdev_vxlan_vlans_del()
4031 port_obj_info) in mlxsw_sp_switchdev_handle_vxlan_obj_add()
4035 switch (port_obj_info->obj->id) { in mlxsw_sp_switchdev_handle_vxlan_obj_add()
4038 port_obj_info); in mlxsw_sp_switchdev_handle_vxlan_obj_add()
4050 port_obj_info) in mlxsw_sp_switchdev_handle_vxlan_obj_del()
[all …]
/linux-6.15/drivers/net/ethernet/rocker/
H A Drocker_main.c2804 struct switchdev_notifier_port_obj_info *port_obj_info) in rocker_switchdev_port_obj_event() argument
2810 err = rocker_port_obj_add(netdev, port_obj_info->obj); in rocker_switchdev_port_obj_event()
2813 err = rocker_port_obj_del(netdev, port_obj_info->obj); in rocker_switchdev_port_obj_event()
2817 port_obj_info->handled = true; in rocker_switchdev_port_obj_event()
/linux-6.15/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.c2363 struct switchdev_notifier_port_obj_info *port_obj_info) in dpaa2_switch_port_obj_event() argument
2372 err = dpaa2_switch_port_obj_add(netdev, port_obj_info->obj); in dpaa2_switch_port_obj_event()
2375 err = dpaa2_switch_port_obj_del(netdev, port_obj_info->obj); in dpaa2_switch_port_obj_event()
2379 port_obj_info->handled = true; in dpaa2_switch_port_obj_event()