Home
last modified time | relevance | path

Searched refs:br_offloads (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dbridge.c18 struct mlx5_esw_bridge_offloads *br_offloads; member
81 if (!priv->mdev->priv.eswitch->br_offloads) in mlx5_esw_bridge_rep_vport_num_vhca_id_get()
134 struct mlx5_esw_bridge_offloads *br_offloads = container_of(nb, in mlx5_esw_bridge_port_changeupper() local
140 struct mlx5_eswitch *esw = br_offloads->esw; in mlx5_esw_bridge_port_changeupper()
157 br_offloads, extack) : in mlx5_esw_bridge_port_changeupper()
159 br_offloads, extack); in mlx5_esw_bridge_port_changeupper()
163 br_offloads, extack) : in mlx5_esw_bridge_port_changeupper()
165 br_offloads, extack); in mlx5_esw_bridge_port_changeupper()
221 struct mlx5_esw_bridge_offloads *br_offloads) in mlx5_esw_bridge_port_obj_add() argument
230 if (!mlx5_esw_bridge_rep_vport_num_vhca_id_get(dev, br_offloads->esw, &vport_num, in mlx5_esw_bridge_port_obj_add()
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dbridge.c364 mlx5_esw_bridge_ingress_table_init(struct mlx5_esw_bridge_offloads *br_offloads) in mlx5_esw_bridge_ingress_table_init() argument
368 struct mlx5_eswitch *esw = br_offloads->esw; in mlx5_esw_bridge_ingress_table_init()
418 br_offloads->ingress_ft = ingress_ft; in mlx5_esw_bridge_ingress_table_init()
419 br_offloads->skip_ft = skip_ft; in mlx5_esw_bridge_ingress_table_init()
420 br_offloads->ingress_vlan_fg = vlan_fg; in mlx5_esw_bridge_ingress_table_init()
421 br_offloads->ingress_vlan_filter_fg = vlan_filter_fg; in mlx5_esw_bridge_ingress_table_init()
422 br_offloads->ingress_qinq_fg = qinq_fg; in mlx5_esw_bridge_ingress_table_init()
423 br_offloads->ingress_qinq_filter_fg = qinq_filter_fg; in mlx5_esw_bridge_ingress_table_init()
424 br_offloads->ingress_mac_fg = mac_fg; in mlx5_esw_bridge_ingress_table_init()
443 mlx5_esw_bridge_ingress_table_cleanup(struct mlx5_esw_bridge_offloads *br_offloads) in mlx5_esw_bridge_ingress_table_cleanup() argument
[all …]
Dbridge.h49 struct mlx5_esw_bridge_offloads *br_offloads,
52 struct mlx5_esw_bridge_offloads *br_offloads,
56 struct mlx5_esw_bridge_offloads *br_offloads,
60 struct mlx5_esw_bridge_offloads *br_offloads,
63 struct mlx5_esw_bridge_offloads *br_offloads,
66 struct mlx5_esw_bridge_offloads *br_offloads,
69 struct mlx5_esw_bridge_offloads *br_offloads,
72 struct mlx5_esw_bridge_offloads *br_offloads,
74 void mlx5_esw_bridge_update(struct mlx5_esw_bridge_offloads *br_offloads);
76 struct mlx5_esw_bridge_offloads *br_offloads);
[all …]
Dbridge_mcast.c200 …esw_warn(bridge->br_offloads->esw->dev, "MDB attach entry is already attached to port (MAC=%pM,vid… in mlx5_esw_bridge_port_mdb_attach()
208 …esw_warn(bridge->br_offloads->esw->dev, "MDB attach failed to init entry (MAC=%pM,vid=%u,vport=%u,… in mlx5_esw_bridge_port_mdb_attach()
218 esw_warn(bridge->br_offloads->esw->dev, in mlx5_esw_bridge_port_mdb_attach()
229 …esw_warn(bridge->br_offloads->esw->dev, "MDB attach failed to offload (MAC=%pM,vid=%u,vport=%u,err… in mlx5_esw_bridge_port_mdb_attach()
253 …esw_warn(bridge->br_offloads->esw->dev, "MDB detach failed to offload (MAC=%pM,vid=%u,vport=%u)\n", in mlx5_esw_bridge_port_mdb_entry_detach()
265 esw_debug(bridge->br_offloads->esw->dev, in mlx5_esw_bridge_port_mdb_detach()
272 esw_debug(bridge->br_offloads->esw->dev, in mlx5_esw_bridge_port_mdb_detach()
313 struct mlx5_eswitch *esw = bridge->br_offloads->esw; in mlx5_esw_bridge_port_mcast_fts_init()
450 struct mlx5_eswitch *esw = port->bridge->br_offloads->esw; in mlx5_esw_bridge_port_mcast_fgs_init()
539 return mlx5_esw_bridge_mcast_flow_with_esw_create(port, port->bridge->br_offloads->esw); in mlx5_esw_bridge_mcast_filter_flow_create()
[all …]
Dbridge_debugfs.c62 if (!bridge->br_offloads->debugfs_root) in mlx5_esw_bridge_debugfs_init()
66 bridge->br_offloads->debugfs_root); in mlx5_esw_bridge_debugfs_init()
77 void mlx5_esw_bridge_debugfs_offloads_init(struct mlx5_esw_bridge_offloads *br_offloads) in mlx5_esw_bridge_debugfs_offloads_init() argument
79 if (!br_offloads->esw->debugfs_root) in mlx5_esw_bridge_debugfs_offloads_init()
82 br_offloads->debugfs_root = debugfs_create_dir("bridge", br_offloads->esw->debugfs_root); in mlx5_esw_bridge_debugfs_offloads_init()
85 void mlx5_esw_bridge_debugfs_offloads_cleanup(struct mlx5_esw_bridge_offloads *br_offloads) in mlx5_esw_bridge_debugfs_offloads_cleanup() argument
87 debugfs_remove_recursive(br_offloads->debugfs_root); in mlx5_esw_bridge_debugfs_offloads_cleanup()
88 br_offloads->debugfs_root = NULL; in mlx5_esw_bridge_debugfs_offloads_cleanup()
Dbridge_priv.h202 struct mlx5_esw_bridge_offloads *br_offloads; member
246 void mlx5_esw_bridge_debugfs_offloads_init(struct mlx5_esw_bridge_offloads *br_offloads);
247 void mlx5_esw_bridge_debugfs_offloads_cleanup(struct mlx5_esw_bridge_offloads *br_offloads);
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_eswitch_br.c307 struct ice_pf *pf = bridge->br_offloads->pf; in ice_esw_br_port_vlan_lookup()
332 struct ice_pf *pf = bridge->br_offloads->pf; in ice_eswitch_br_fdb_entry_delete()
372 struct ice_pf *pf = bridge->br_offloads->pf; in ice_eswitch_br_fdb_entry_find_and_delete()
394 struct ice_pf *pf = bridge->br_offloads->pf; in ice_eswitch_br_fdb_entry_create()
544 struct ice_esw_br_offloads *br_offloads; in ice_eswitch_br_switchdev_event() local
549 br_offloads = ice_nb_to_br_offloads(nb, switchdev_nb); in ice_eswitch_br_switchdev_event()
577 queue_work(br_offloads->wq, &work->work); in ice_eswitch_br_switchdev_event()
992 ice_eswitch_br_deinit(struct ice_esw_br_offloads *br_offloads, in ice_eswitch_br_deinit() argument
1006 br_offloads->bridge = NULL; in ice_eswitch_br_deinit()
1011 ice_eswitch_br_init(struct ice_esw_br_offloads *br_offloads, int ifindex) in ice_eswitch_br_init() argument
[all …]
Dice_eswitch_br.h58 struct ice_esw_br_offloads *br_offloads; member
Dice.h536 struct ice_esw_br_offloads *br_offloads; member
Dice_main.c561 ice_eswitch_br_fdb_flush(pf->eswitch.br_offloads->bridge); in ice_prepare_for_reset()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.h373 struct mlx5_esw_bridge_offloads *br_offloads; member