Home
last modified time | relevance | path

Searched refs:port_obj_info (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/net/switchdev/
H A Dswitchdev.c448 struct switchdev_notifier_port_obj_info *port_obj_info, in __switchdev_handle_port_obj_add()
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()
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()
519 err = del_cb(dev, port_obj_info in __switchdev_handle_port_obj_del()
447 __switchdev_handle_port_obj_add(struct net_device *dev, struct switchdev_notifier_port_obj_info *port_obj_info, bool (*check_cb)(const struct net_device *dev), int (*add_cb)(struct net_device *dev, const struct switchdev_obj *obj, struct switchdev_trans *trans, struct netlink_ext_ack *extack)) __switchdev_handle_port_obj_add() argument
490 switchdev_handle_port_obj_add(struct net_device *dev, struct switchdev_notifier_port_obj_info *port_obj_info, bool (*check_cb)(const struct net_device *dev), int (*add_cb)(struct net_device *dev, const struct switchdev_obj *obj, struct switchdev_trans *trans, struct netlink_ext_ack *extack)) switchdev_handle_port_obj_add() argument
508 __switchdev_handle_port_obj_del(struct net_device *dev, struct switchdev_notifier_port_obj_info *port_obj_info, bool (*check_cb)(const struct net_device *dev), int (*del_cb)(struct net_device *dev, const struct switchdev_obj *obj)) __switchdev_handle_port_obj_del() argument
545 switchdev_handle_port_obj_del(struct net_device *dev, struct switchdev_notifier_port_obj_info *port_obj_info, bool (*check_cb)(const struct net_device *dev), int (*del_cb)(struct net_device *dev, const struct switchdev_obj *obj)) switchdev_handle_port_obj_del() argument
[all...]
/kernel/linux/linux-6.6/net/switchdev/
H A Dswitchdev.c609 struct switchdev_notifier_port_obj_info *port_obj_info, in __switchdev_handle_port_obj_add()
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()
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()
715 err = __switchdev_handle_port_obj_add(dev, port_obj_info, check_c in switchdev_handle_port_obj_add_foreign()
608 __switchdev_handle_port_obj_add(struct net_device *dev, struct switchdev_notifier_port_obj_info *port_obj_info, bool (*check_cb)(const struct net_device *dev), bool (*foreign_dev_check_cb)(const struct net_device *dev, const struct net_device *foreign_dev), int (*add_cb)(struct net_device *dev, const void *ctx, const struct switchdev_obj *obj, struct netlink_ext_ack *extack)) __switchdev_handle_port_obj_add() argument
683 switchdev_handle_port_obj_add(struct net_device *dev, struct switchdev_notifier_port_obj_info *port_obj_info, bool (*check_cb)(const struct net_device *dev), int (*add_cb)(struct net_device *dev, const void *ctx, const struct switchdev_obj *obj, struct netlink_ext_ack *extack)) switchdev_handle_port_obj_add() argument
704 switchdev_handle_port_obj_add_foreign(struct net_device *dev, struct switchdev_notifier_port_obj_info *port_obj_info, bool (*check_cb)(const struct net_device *dev), bool (*foreign_dev_check_cb)(const struct net_device *dev, const struct net_device *foreign_dev), int (*add_cb)(struct net_device *dev, const void *ctx, const struct switchdev_obj *obj, struct netlink_ext_ack *extack)) switchdev_handle_port_obj_add_foreign() argument
723 __switchdev_handle_port_obj_del(struct net_device *dev, struct switchdev_notifier_port_obj_info *port_obj_info, bool (*check_cb)(const struct net_device *dev), bool (*foreign_dev_check_cb)(const struct net_device *dev, const struct net_device *foreign_dev), int (*del_cb)(struct net_device *dev, const void *ctx, const struct switchdev_obj *obj)) __switchdev_handle_port_obj_del() argument
794 switchdev_handle_port_obj_del(struct net_device *dev, struct switchdev_notifier_port_obj_info *port_obj_info, bool (*check_cb)(const struct net_device *dev), int (*del_cb)(struct net_device *dev, const void *ctx, const struct switchdev_obj *obj)) switchdev_handle_port_obj_del() argument
814 switchdev_handle_port_obj_del_foreign(struct net_device *dev, struct switchdev_notifier_port_obj_info *port_obj_info, bool (*check_cb)(const struct net_device *dev), bool (*foreign_dev_check_cb)(const struct net_device *dev, const struct net_device *foreign_dev), int (*del_cb)(struct net_device *dev, const void *ctx, const struct switchdev_obj *obj)) switchdev_handle_port_obj_del_foreign() argument
[all...]
/kernel/linux/linux-6.6/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()
483 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_add_foreign()
496 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_del()
506 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_del_foreign()
472 switchdev_handle_port_obj_add(struct net_device *dev, struct switchdev_notifier_port_obj_info *port_obj_info, bool (*check_cb)(const struct net_device *dev), int (*add_cb)(struct net_device *dev, const void *ctx, const struct switchdev_obj *obj, struct netlink_ext_ack *extack)) switchdev_handle_port_obj_add() argument
482 switchdev_handle_port_obj_add_foreign(struct net_device *dev, struct switchdev_notifier_port_obj_info *port_obj_info, bool (*check_cb)(const struct net_device *dev), bool (*foreign_dev_check_cb)(const struct net_device *dev, const struct net_device *foreign_dev), int (*add_cb)(struct net_device *dev, const void *ctx, const struct switchdev_obj *obj, struct netlink_ext_ack *extack)) switchdev_handle_port_obj_add_foreign() argument
495 switchdev_handle_port_obj_del(struct net_device *dev, struct switchdev_notifier_port_obj_info *port_obj_info, bool (*check_cb)(const struct net_device *dev), int (*del_cb)(struct net_device *dev, const void *ctx, const struct switchdev_obj *obj)) switchdev_handle_port_obj_del() argument
505 switchdev_handle_port_obj_del_foreign(struct net_device *dev, struct switchdev_notifier_port_obj_info *port_obj_info, bool (*check_cb)(const struct net_device *dev), bool (*foreign_dev_check_cb)(const struct net_device *dev, const struct net_device *foreign_dev), int (*del_cb)(struct net_device *dev, const void *ctx, const struct switchdev_obj *obj)) switchdev_handle_port_obj_del_foreign() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dbridge.c220 struct switchdev_notifier_port_obj_info *port_obj_info, in mlx5_esw_bridge_port_obj_add()
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()
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()
219 mlx5_esw_bridge_port_obj_add(struct net_device *dev, struct switchdev_notifier_port_obj_info *port_obj_info, struct mlx5_esw_bridge_offloads *br_offloads) mlx5_esw_bridge_port_obj_add() argument
254 mlx5_esw_bridge_port_obj_del(struct net_device *dev, struct switchdev_notifier_port_obj_info *port_obj_info, struct mlx5_esw_bridge_offloads *br_offloads) mlx5_esw_bridge_port_obj_del() argument
/kernel/linux/linux-5.10/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()
382 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_del()
369 switchdev_handle_port_obj_add(struct net_device *dev, struct switchdev_notifier_port_obj_info *port_obj_info, bool (*check_cb)(const struct net_device *dev), int (*add_cb)(struct net_device *dev, const struct switchdev_obj *obj, struct switchdev_trans *trans, struct netlink_ext_ack *extack)) switchdev_handle_port_obj_add() argument
381 switchdev_handle_port_obj_del(struct net_device *dev, struct switchdev_notifier_port_obj_info *port_obj_info, bool (*check_cb)(const struct net_device *dev), int (*del_cb)(struct net_device *dev, const struct switchdev_obj *obj)) switchdev_handle_port_obj_del() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_switchdev.c404 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()
3933 mlxsw_sp_switchdev_vxlan_vlans_add(struct net_device *vxlan_dev, struct switchdev_notifier_port_obj_info * port_obj_info) mlxsw_sp_switchdev_vxlan_vlans_add() argument
3971 mlxsw_sp_switchdev_vxlan_vlans_del(struct net_device *vxlan_dev, struct switchdev_notifier_port_obj_info * port_obj_info) mlxsw_sp_switchdev_vxlan_vlans_del() argument
4003 mlxsw_sp_switchdev_handle_vxlan_obj_add(struct net_device *vxlan_dev, struct switchdev_notifier_port_obj_info * port_obj_info) mlxsw_sp_switchdev_handle_vxlan_obj_add() argument
4022 mlxsw_sp_switchdev_handle_vxlan_obj_del(struct net_device *vxlan_dev, struct switchdev_notifier_port_obj_info * port_obj_info) mlxsw_sp_switchdev_handle_vxlan_obj_del() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_switchdev.c3292 port_obj_info) in mlxsw_sp_switchdev_vxlan_vlans_add()
3295 SWITCHDEV_OBJ_PORT_VLAN(port_obj_info->obj); in mlxsw_sp_switchdev_vxlan_vlans_add()
3298 struct switchdev_trans *trans = port_obj_info->trans; in mlxsw_sp_switchdev_vxlan_vlans_add()
3305 extack = switchdev_notifier_info_to_extack(&port_obj_info->info); in mlxsw_sp_switchdev_vxlan_vlans_add()
3314 port_obj_info->handled = true; in mlxsw_sp_switchdev_vxlan_vlans_add()
3343 port_obj_info) in mlxsw_sp_switchdev_vxlan_vlans_del()
3346 SWITCHDEV_OBJ_PORT_VLAN(port_obj_info->obj); in mlxsw_sp_switchdev_vxlan_vlans_del()
3360 port_obj_info->handled = true; in mlxsw_sp_switchdev_vxlan_vlans_del()
3377 port_obj_info) in mlxsw_sp_switchdev_handle_vxlan_obj_add()
3381 switch (port_obj_info in mlxsw_sp_switchdev_handle_vxlan_obj_add()
3290 mlxsw_sp_switchdev_vxlan_vlans_add(struct net_device *vxlan_dev, struct switchdev_notifier_port_obj_info * port_obj_info) mlxsw_sp_switchdev_vxlan_vlans_add() argument
3341 mlxsw_sp_switchdev_vxlan_vlans_del(struct net_device *vxlan_dev, struct switchdev_notifier_port_obj_info * port_obj_info) mlxsw_sp_switchdev_vxlan_vlans_del() argument
3375 mlxsw_sp_switchdev_handle_vxlan_obj_add(struct net_device *vxlan_dev, struct switchdev_notifier_port_obj_info * port_obj_info) mlxsw_sp_switchdev_handle_vxlan_obj_add() argument
3394 mlxsw_sp_switchdev_handle_vxlan_obj_del(struct net_device *vxlan_dev, struct switchdev_notifier_port_obj_info * port_obj_info) mlxsw_sp_switchdev_handle_vxlan_obj_del() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/fsl-dpaa2/ethsw/
H A Dethsw.c1401 struct switchdev_notifier_port_obj_info *port_obj_info) in dpaa2_switch_port_obj_event()
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()
1399 dpaa2_switch_port_obj_event(unsigned long event, struct net_device *netdev, struct switchdev_notifier_port_obj_info *port_obj_info) dpaa2_switch_port_obj_event() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/rocker/
H A Drocker_main.c2844 struct switchdev_notifier_port_obj_info *port_obj_info) in rocker_switchdev_port_obj_event()
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()
2843 rocker_switchdev_port_obj_event(unsigned long event, struct net_device *netdev, struct switchdev_notifier_port_obj_info *port_obj_info) rocker_switchdev_port_obj_event() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/rocker/
H A Drocker_main.c2805 struct switchdev_notifier_port_obj_info *port_obj_info) in rocker_switchdev_port_obj_event()
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()
2804 rocker_switchdev_port_obj_event(unsigned long event, struct net_device *netdev, struct switchdev_notifier_port_obj_info *port_obj_info) rocker_switchdev_port_obj_event() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.c2327 struct switchdev_notifier_port_obj_info *port_obj_info) in dpaa2_switch_port_obj_event()
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()
2325 dpaa2_switch_port_obj_event(unsigned long event, struct net_device *netdev, struct switchdev_notifier_port_obj_info *port_obj_info) dpaa2_switch_port_obj_event() argument

Completed in 30 milliseconds