| /dpdk/drivers/net/i40e/ |
| H A D | i40e_vf_representor.c | 33 representor->adapter->pf.dev_data; in i40e_vf_representor_dev_infos_get() 282 representor->vf_id, &representor->stats_offset); in i40e_vf_representor_stats_reset() 292 representor->vf_id, 1); in i40e_vf_representor_promiscuous_enable() 302 representor->vf_id, 0); in i40e_vf_representor_promiscuous_disable() 312 representor->vf_id, 1); in i40e_vf_representor_allmulticast_enable() 322 representor->vf_id, 0); in i40e_vf_representor_allmulticast_disable() 369 vfid = representor->vf_id; in i40e_vf_representor_vlan_offload_set() 419 representor->vf_id, on); in i40e_vf_representor_vlan_strip_queue_set() 430 representor->vf_id, vlan_id); in i40e_vf_representor_vlan_pvid_set() 487 representor->vf_id = in i40e_vf_representor_init() [all …]
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_vf_representor.c | 34 representor->pf_ethdev->data->port_id, in ixgbe_vf_representor_mac_addr_set() 35 representor->vf_id, mac_addr); in ixgbe_vf_representor_mac_addr_set() 45 representor->pf_ethdev->data->dev_private); in ixgbe_vf_representor_dev_infos_get() 77 representor->pf_ethdev->device->name; in ixgbe_vf_representor_dev_infos_get() 139 representor->vf_id, on); in ixgbe_vf_representor_vlan_strip_queue_set() 183 if (!representor) in ixgbe_vf_representor_init() 186 representor->vf_id = in ixgbe_vf_representor_init() 188 representor->switch_domain_id = in ixgbe_vf_representor_init() 190 representor->pf_ethdev = in ixgbe_vf_representor_init() 195 if (representor->vf_id >= pci_dev->max_vfs) in ixgbe_vf_representor_init() [all …]
|
| H A D | ixgbe_ethdev.c | 1758 struct ixgbe_vf_representor representor; in eth_ixgbe_pci_probe() local 1768 representor.vf_id = eth_da.representor_ports[i]; in eth_ixgbe_pci_probe() 1769 representor.switch_domain_id = vfinfo->switch_domain_id; in eth_ixgbe_pci_probe() 1770 representor.pf_ethdev = pf_ethdev; in eth_ixgbe_pci_probe() 1779 ixgbe_vf_representor_init, &representor); in eth_ixgbe_pci_probe()
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | switch_representation.rst | 74 -a pci:dbdf,representor=vf0 75 -a pci:dbdf,representor=vf[0-3] 76 -a pci:dbdf,representor=vf[0,5-11] 77 -a pci:dbdf,representor=sf1 78 -a pci:dbdf,representor=sf[0-1023] 79 -a pci:dbdf,representor=sf[0,2-1023] 331 - **B**: port representor for VF 1. 332 - **C**: port representor for VF 2. 386 deemed flexible enough to manage representor traffic only with minor 399 (e.g. VF representor in addition to a physical port). [all …]
|
| H A D | poll_mode_drv.rst | 373 * ``representor`` for a device which supports the creation of representor ports 377 -a DBDF,representor=vf0 378 -a DBDF,representor=vf[0,4,6,9] 379 -a DBDF,representor=vf[0-31] 380 -a DBDF,representor=vf[0,2-4,7,9-11] 381 -a DBDF,representor=sf0 382 -a DBDF,representor=sf[1,3,5] 383 -a DBDF,representor=sf[0-1023] 384 -a DBDF,representor=sf[0,2-4,7,9-11] 385 -a DBDF,representor=pf1vf0 [all …]
|
| /dpdk/drivers/net/mlx5/linux/ |
| H A D | mlx5_os.c | 1043 if (!switch_info->representor) in mlx5_dev_spawn() 1053 if (!switch_info->representor) { in mlx5_dev_spawn() 1184 priv->representor = !!switch_info->representor; in mlx5_dev_spawn() 1399 if (priv->representor) { in mlx5_dev_spawn() 1686 ret = si_b->representor - si_a->representor; in mlx5_dev_spawn_data_cmp() 1690 if (!si_a->representor) in mlx5_dev_spawn_data_cmp() 2076 list[ns].info.representor = 0; in mlx5_os_pci_probe_pf() 2094 if (!ret && (list[ns].info.representor ^ in mlx5_os_pci_probe_pf() 2194 !list[ns].info.representor && in mlx5_os_pci_probe_pf() 2223 list[0].info.representor = 0; in mlx5_os_pci_probe_pf() [all …]
|
| H A D | mlx5_ethdev_os.c | 171 if (!priv->representor) in mlx5_get_ifname() 360 MLX5_ASSERT(priv->representor); in mlx5_find_master_dev() 412 if (ret == -ENOTSUP && priv->representor) { in mlx5_link_update_unlocked_gset() 504 if (ret == -ENOTSUP && priv->representor) { in mlx5_link_update_unlocked_gs() 1077 switch_info->representor = !device_dir; in mlx5_sysfs_check_switch_info() 1085 switch_info->representor = 1; in mlx5_sysfs_check_switch_info() 1112 .representor = 0, in mlx5_sysfs_switch_info() 1161 MLX5_ASSERT(!(data.master && data.representor)); in mlx5_sysfs_switch_info() 1162 if (data.master && data.representor) { in mlx5_sysfs_switch_info()
|
| /dpdk/doc/guides/nics/ |
| H A D | bnxt.rst | 708 and monitoring of BNXT virtual function devices. Each port representor 712 sent to a representor will be received by the VF. Applications can take 721 ``devargs`` option ``representor``.:: 723 -a DBDF,representor=[0,1,4] 725 Note that currently hot-plugging of representor ports is not supported so all 738 * rep_is_vf - false to indicate VF representor 739 * rep_is_pf - true to indicate PF representor 743 * rep_fc_r2f - Flow control for the representor to endpoint direction 744 * rep_fc_f2r - Flow control for the endpoint to representor direction 748 -a 0000:06:02.0,representor=[1],rep-based-pf=8,\ [all …]
|
| H A D | ixgbe.rst | 309 and monitoring of IXGBE virtual function devices. Each port representor 311 option ``representor`` the user can specify which virtual functions to create 315 -a DBDF,representor=[0,1,4] 317 Currently hot-plugging of representor ports is not supported so all required
|
| H A D | sfc_efx.rst | 399 In switchdev mode VF traffic goes via port representor (if any) on PF, and 406 - ``representor`` parameter [list] 408 Instantiate port representor Ethernet devices for specified Virtual
|
| H A D | i40e.rst | 218 and monitoring of i40e virtual function devices. Each port representor 220 option ``representor`` the user can specify which virtual functions to create 224 -a DBDF,representor=[0,1,4] 226 Currently hot-plugging of representor ports is not supported so all required
|
| H A D | mlx5.rst | 519 - The NIC egress flow rules on representor port are not supported. 1004 - ``representor`` parameter [list] 1014 <PCI_BDF>,representor=vf[0-2] 1018 <PCI_BDF>,representor=sf[0-2] 1022 <Primary_PCI_BDF>,representor=pf[0,1]vf[0-2] 1148 Sub-Function representor support 1153 Use <sfnum> to probe SF representor:: 1155 testpmd> port attach <PCI_BDF>,representor=sf<sfnum>,dv_flow_en=1
|
| /dpdk/doc/guides/rel_notes/ |
| H A D | release_21_05.rst | 39 * **Added enhanced ethdev representor syntax.** 41 * Introduced representor type of VF, SF and PF. 42 * Added support for sub-function and multi-host in representor syntax:: 44 representor=# [0,2-4] /* Legacy VF compatible. */ 45 representor=[[c#]pf#]vf# c1pf2vf3 /* VF 3 on PF 2 of controller 1. */ 46 representor=[[c#]pf#]sf# sf[0,2-1023] /* 1023 SFs. */ 47 representor=[c#]pf# c2pf[0,1] /* 2 PFs on controller 2. */
|
| H A D | release_19_05.rst | 102 * Added support for new naming scheme of representor.
|
| /dpdk/drivers/net/mlx5/windows/ |
| H A D | mlx5_os.c | 356 priv->representor = !!switch_info->representor; in mlx5_dev_spawn() 405 if (priv->representor) { in mlx5_dev_spawn()
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_ethdev.c | 355 if (priv->representor) { in mlx5_dev_infos_get() 363 opriv->representor || in mlx5_dev_infos_get() 401 if (info->representor == 0) in mlx5_representor_id_encode()
|
| H A D | mlx5_mac.c | 162 if (priv->representor && !mlx5_is_hpf(dev) && !mlx5_is_sf_repr(dev)) { in mlx5_mac_addr_set()
|
| H A D | mlx5.c | 389 return priv->representor != 0 && type == RTE_ETH_REPRESENTOR_VF && in mlx5_is_hpf() 408 return priv->representor != 0 && type == RTE_ETH_REPRESENTOR_SF; in mlx5_is_sf_repr() 1438 sh->esw_mode = !!(spawn->info.master || spawn->info.representor); in mlx5_alloc_shared_dev_ctx()
|
| H A D | mlx5_trigger.c | 1121 !priv->representor) { in mlx5_dev_start()
|
| /dpdk/drivers/net/enic/ |
| H A D | enic_ethdev.c | 1353 struct enic_vf_representor representor; in eth_enic_pci_probe() local 1355 representor.vf_id = eth_da.representor_ports[i]; in eth_enic_pci_probe() 1356 representor.switch_domain_id = in eth_enic_pci_probe() 1358 representor.pf = pmd_priv(pf_ethdev); in eth_enic_pci_probe() 1363 enic_vf_representor_init, &representor); in eth_enic_pci_probe()
|
| /dpdk/drivers/common/mlx5/linux/ |
| H A D | mlx5_nl.c | 1267 switch_info->representor = !num_vf_set; in mlx5_nl_check_switch_info() 1275 switch_info->representor = 1; in mlx5_nl_check_switch_info() 1296 .representor = 0, in mlx5_nl_switch_info_cb() 1354 MLX5_ASSERT(!(info.master && info.representor)); in mlx5_nl_switch_info_cb() 1408 if (info->master && info->representor) { in mlx5_nl_switch_info()
|
| /dpdk/drivers/common/mlx5/ |
| H A D | mlx5_common.h | 166 uint32_t representor:1; /**< Representor device. */ member
|
| /dpdk/drivers/net/bnxt/ |
| H A D | bnxt_ethdev.c | 6140 struct bnxt_representor representor = { in bnxt_rep_port_probe() local 6146 if (representor.vf_id >= max_vf_reps) { in bnxt_rep_port_probe() 6148 representor.vf_id, max_vf_reps); in bnxt_rep_port_probe() 6165 (void *)&representor); in bnxt_rep_port_probe() 6178 (void *)&representor); in bnxt_rep_port_probe() 6190 (void *)&representor); in bnxt_rep_port_probe() 6202 (void *)&representor); in bnxt_rep_port_probe() 6214 (void *)&representor); in bnxt_rep_port_probe() 6226 (void *)&representor); in bnxt_rep_port_probe() 6237 &representor); in bnxt_rep_port_probe() [all …]
|
| /dpdk/doc/guides/platform/ |
| H A D | mlx5.rst | 387 Switchdev mode is a mode in E-Switch, that binds between representor and VF or SF. 390 will be received by the corresponding representor. 391 While each packet that is sent to a representor will be received by the VF or SF.
|
| /dpdk/drivers/net/ipn3ke/ |
| H A D | ipn3ke_tm.c | 615 struct ipn3ke_rpst *representor = IPN3KE_DEV_PRIVATE_TO_RPST(dev); in ipn3ke_tm_node_capabilities_get() local 641 if (tm_node->tm_id != representor->port_id) in ipn3ke_tm_node_capabilities_get()
|