| /Linux-v5.10/drivers/infiniband/hw/mlx5/ |
| D | ib_rep.c | 16 ibdev = mlx5_ib_get_uplink_ibdev(dev->priv.eswitch); in mlx5_ib_set_vport_rep() 23 mlx5_ib_get_rep_netdev(dev->priv.eswitch, rep->vport); in mlx5_ib_set_vport_rep() 57 mlx5_ib_get_rep_netdev(dev->priv.eswitch, rep->vport); in mlx5_ib_vport_rep_load() 99 struct mlx5_eswitch *esw = mdev->priv.eswitch; in mlx5_ib_register_vport_reps() 106 struct mlx5_eswitch *esw = mdev->priv.eswitch; in mlx5_ib_unregister_vport_reps() 143 struct mlx5_eswitch *esw = dev->mdev->priv.eswitch; in create_flow_rule_vport_sq()
|
| D | counters.c | 144 mlx5_ib_eswitch_mode(mdev->priv.eswitch) == in is_mdev_switchdev_mode()
|
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
| D | bond.c | 241 err = mlx5_esw_acl_egress_vport_bond(priv->mdev->priv.eswitch, in mlx5e_rep_changelowerstate_event() 278 mlx5e_rep_bond_enslave(priv->mdev->priv.eswitch, netdev, lag_dev); in mlx5e_rep_changeupper_event() 280 mlx5e_rep_bond_unslave(priv->mdev->priv.eswitch, netdev, lag_dev); in mlx5e_rep_changeupper_event() 317 if (!mlx5_esw_acl_egress_fwd2vport_supported(priv->mdev->priv.eswitch)) in mlx5e_rep_bond_init() 345 if (!mlx5_esw_acl_egress_fwd2vport_supported(priv->mdev->priv.eswitch) || in mlx5e_rep_bond_cleanup()
|
| D | tc.c | 88 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_rep_update_flows() 192 esw = priv->mdev->priv.eswitch; in mlx5e_rep_setup_ft_cb() 366 esw = mpriv->mdev->priv.eswitch; in mlx5e_rep_indr_setup_ft_cb() 519 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_restore_tunnel() 630 esw = priv->mdev->priv.eswitch; in mlx5e_rep_tc_update_skb()
|
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_rep.c | 174 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 436 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_add_sqs_fwd_rules() 465 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_remove_sqs_fwd_rules() 607 return mlx5_esw_offloads_devlink_port(dev->priv.eswitch, rpriv->rep->vport); in mlx5e_rep_get_devlink_port() 862 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_create_rep_vport_rx_rule() 1261 dl_port = mlx5_esw_offloads_devlink_port(dev->priv.eswitch, rpriv->rep->vport); in mlx5e_vport_rep_load() 1292 dl_port = mlx5_esw_offloads_devlink_port(dev->priv.eswitch, rpriv->rep->vport); in mlx5e_vport_rep_unload() 1321 struct mlx5_eswitch *esw = mdev->priv.eswitch; in mlx5e_rep_register_vport_reps() 1328 struct mlx5_eswitch *esw = mdev->priv.eswitch; in mlx5e_rep_unregister_vport_reps()
|
| D | en_tc.c | 279 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in get_ct_priv() 298 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5_tc_rule_insert() 311 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5_tc_rule_delete() 441 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in get_mod_hdr_table() 1280 esw = flow->priv->mdev->priv.eswitch; in add_unready_flow() 1295 esw = flow->priv->mdev->priv.eswitch; in remove_unready_flow() 1309 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_tc_add_fdb_flow() 1429 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_tc_del_fdb_flow() 1475 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_tc_encap_flows_add() 1542 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in mlx5e_tc_encap_flows_del() [all …]
|
| D | sriov.c | 80 err = mlx5_eswitch_enable(dev->priv.eswitch, num_vfs); in mlx5_device_enable_sriov() 129 mlx5_eswitch_disable(dev->priv.eswitch, clear_vf); in mlx5_device_disable_sriov()
|
| D | eswitch.c | 87 return dev->priv.eswitch; in mlx5_devlink_eswitch_get() 923 struct mlx5_eswitch *esw = dev->priv.eswitch; in esw_vport_change_handle_locked() 957 struct mlx5_eswitch *esw = vport->dev->priv.eswitch; in esw_vport_change_handler() 1788 dev->priv.eswitch = esw; in mlx5_eswitch_init() 1806 esw->dev->priv.eswitch = NULL; in mlx5_eswitch_cleanup() 2324 struct mlx5_eswitch *esw = dev->priv.eswitch; in mlx5_eswitch_query_vport_drop_stats() 2453 esw = dev->priv.eswitch; in mlx5_eswitch_get_encap_mode() 2461 if ((dev0->priv.eswitch->mode == MLX5_ESWITCH_NONE && in mlx5_esw_lag_prereq() 2462 dev1->priv.eswitch->mode == MLX5_ESWITCH_NONE) || in mlx5_esw_lag_prereq() 2463 (dev0->priv.eswitch->mode == MLX5_ESWITCH_OFFLOADS && in mlx5_esw_lag_prereq() [all …]
|
| D | rdma.c | 84 dev->priv.eswitch->manager_vport); in mlx5_rdma_enable_roce_steering()
|
| D | Makefile | 48 mlx5_core-$(CONFIG_MLX5_ESWITCH) += eswitch.o eswitch_offloads.o eswitch_offloads_termtbl.o \
|
| D | lag.c | 288 roce_lag &= dev0->priv.eswitch->mode == MLX5_ESWITCH_NONE && in mlx5_do_bond() 289 dev1->priv.eswitch->mode == MLX5_ESWITCH_NONE; in mlx5_do_bond()
|
| D | devlink.c | 224 eswitch_mode = mlx5_eswitch_mode(dev->priv.eswitch); in mlx5_devlink_fs_mode_validate()
|
| D | en_main.c | 3133 struct mlx5_eswitch *esw = mdev->priv.eswitch; in mlx5e_modify_admin_state() 4155 return mlx5_eswitch_set_vport_mac(mdev->priv.eswitch, vf + 1, mac); in mlx5e_set_vf_mac() 4167 return mlx5_eswitch_set_vport_vlan(mdev->priv.eswitch, vf + 1, in mlx5e_set_vf_vlan() 4176 return mlx5_eswitch_set_vport_spoofchk(mdev->priv.eswitch, vf + 1, setting); in mlx5e_set_vf_spoofchk() 4184 return mlx5_eswitch_set_vport_trust(mdev->priv.eswitch, vf + 1, setting); in mlx5e_set_vf_trust() 4193 return mlx5_eswitch_set_vport_rate(mdev->priv.eswitch, vf + 1, in mlx5e_set_vf_rate() 4225 return mlx5_eswitch_set_vport_state(mdev->priv.eswitch, vf + 1, in mlx5e_set_vf_link_state() 4236 err = mlx5_eswitch_get_vport_config(mdev->priv.eswitch, vf + 1, ivi); in mlx5e_get_vf_config() 4249 return mlx5_eswitch_get_vport_stats(mdev->priv.eswitch, vf + 1, in mlx5e_get_vf_stats() 4512 err = mlx5_eswitch_get_vepa(mdev->priv.eswitch, &setting); in mlx5e_bridge_getlink() [all …]
|
| D | Kconfig | 79 Switchdev mode (eswitch offloads).
|
| D | eswitch_offloads.c | 271 mlx5_eswitch_get_vport_metadata_for_match(attr->in_mdev->priv.eswitch, in mlx5_eswitch_set_rule_source_port() 895 dest->vport.num = peer_dev->priv.eswitch->manager_vport; in peer_miss_rules_setup() 950 esw_set_peer_miss_rule_source_port(esw, peer_dev->priv.eswitch, in esw_add_fdb_peer_miss_rules() 975 peer_dev->priv.eswitch, in esw_add_fdb_peer_miss_rules()
|
| D | main.c | 895 mlx5_eswitch_cleanup(dev->priv.eswitch); in mlx5_init_once() 926 mlx5_eswitch_cleanup(dev->priv.eswitch); in mlx5_cleanup_once()
|
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| D | devlink_port.c | 43 controller_num = dev->priv.eswitch->offloads.host_number + 1; in mlx5_esw_dl_port_alloc()
|
| /Linux-v5.10/drivers/net/ethernet/broadcom/ |
| D | Kconfig | 227 offload for eswitch. This option enables SR-IOV switchdev eswitch
|
| /Linux-v5.10/drivers/net/ethernet/qlogic/qlcnic/ |
| D | qlcnic_83xx_vnic.c | 281 adapter->eswitch[*port_id].flags |= QLCNIC_SWITCH_ENABLE; in qlcnic_83xx_set_port_eswitch_status()
|
| D | qlcnic_ctx.c | 1031 !(adapter->eswitch[id].flags & QLCNIC_SWITCH_ENABLE)) { in qlcnic_config_port_mirroring() 1184 int qlcnic_get_eswitch_stats(struct qlcnic_adapter *adapter, const u8 eswitch, in qlcnic_get_eswitch_stats() argument 1206 esw_stats->context_id = eswitch; in qlcnic_get_eswitch_stats() 1209 if (adapter->npars[i].phy_port != eswitch) in qlcnic_get_eswitch_stats()
|
| D | qlcnic_main.c | 1012 adapter->eswitch = kcalloc(QLCNIC_NIU_MAX_XG_PORTS, in qlcnic_init_pci_info() 1015 if (!adapter->eswitch) { in qlcnic_init_pci_info() 1060 adapter->eswitch[i].flags |= QLCNIC_SWITCH_ENABLE; in qlcnic_init_pci_info() 1067 kfree(adapter->eswitch); in qlcnic_init_pci_info() 1068 adapter->eswitch = NULL; in qlcnic_init_pci_info() 2756 kfree(adapter->eswitch); in qlcnic_remove()
|
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | tc_tun.c | 34 struct mlx5_eswitch *esw = priv->mdev->priv.eswitch; in get_route_and_out_devs() 97 struct mlx5_eswitch *esw = mdev->priv.eswitch; in mlx5e_route_lookup_ipv4_get()
|
| /Linux-v5.10/Documentation/networking/device_drivers/ethernet/mellanox/ |
| D | mlx5.rst | 69 | 2) `Switchdev mode (eswitch offloads) <https://www.mellanox.com/related-docs/prod_softw… 286 tc and eswitch offloads tracepoints:
|
| /Linux-v5.10/drivers/net/ethernet/qlogic/qed/ |
| D | qed_mcp.h | 1100 enum qed_ov_eswitch eswitch);
|
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| D | fs_chains.c | 294 struct mlx5_eswitch *esw = chain->chains->dev->priv.eswitch; in create_chain_restore()
|