/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
D | bridge.c | 18 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/ |
D | bridge.c | 364 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 …]
|
D | bridge.h | 49 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 …]
|
D | bridge_mcast.c | 200 …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 …]
|
D | bridge_debugfs.c | 62 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()
|
D | bridge_priv.h | 202 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/ |
D | ice_eswitch_br.c | 307 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 …]
|
D | ice_eswitch_br.h | 58 struct ice_esw_br_offloads *br_offloads; member
|
D | ice.h | 536 struct ice_esw_br_offloads *br_offloads; member
|
D | ice_main.c | 561 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/ |
D | eswitch.h | 373 struct mlx5_esw_bridge_offloads *br_offloads; member
|