| /f-stack/dpdk/drivers/net/i40e/ |
| H A D | i40e_vf_representor.c | 277 representor->vf_id, &representor->stats_offset); in i40e_vf_representor_stats_reset() 287 representor->vf_id, 1); in i40e_vf_representor_promiscuous_enable() 297 representor->vf_id, 0); in i40e_vf_representor_promiscuous_disable() 307 representor->vf_id, 1); in i40e_vf_representor_allmulticast_enable() 317 representor->vf_id, 0); in i40e_vf_representor_allmulticast_disable() 338 representor->vf_id, mac_addr); in i40e_vf_representor_mac_addr_set() 364 vfid = representor->vf_id; in i40e_vf_representor_vlan_offload_set() 414 representor->vf_id, on); in i40e_vf_representor_vlan_strip_queue_set() 425 representor->vf_id, vlan_id); in i40e_vf_representor_vlan_pvid_set() 482 representor->vf_id = in i40e_vf_representor_init() [all …]
|
| H A D | i40e_ethdev.c | 659 struct i40e_vf_representor representor = { in eth_i40e_pci_probe() local 673 i40e_vf_representor_init, &representor); in eth_i40e_pci_probe()
|
| /f-stack/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 | 1735 struct ixgbe_vf_representor representor; in eth_ixgbe_pci_probe() local 1745 representor.vf_id = eth_da.representor_ports[i]; in eth_ixgbe_pci_probe() 1746 representor.switch_domain_id = vfinfo->switch_domain_id; in eth_ixgbe_pci_probe() 1747 representor.pf_ethdev = pf_ethdev; in eth_ixgbe_pci_probe() 1756 ixgbe_vf_representor_init, &representor); in eth_ixgbe_pci_probe()
|
| /f-stack/dpdk/drivers/net/mlx5/linux/ |
| H A D | mlx5_os.c | 726 if (!switch_info->representor) in mlx5_dev_spawn() 733 if (!switch_info->representor) in mlx5_dev_spawn() 949 priv->representor = !!switch_info->representor; in mlx5_dev_spawn() 1023 priv->vport_id = switch_info->representor ? in mlx5_dev_spawn() 1363 if (priv->representor) { in mlx5_dev_spawn() 1643 ret = si_b->representor - si_a->representor; in mlx5_dev_spawn_data_cmp() 1647 if (!si_a->representor) in mlx5_dev_spawn_data_cmp() 1958 if (ret || (!list[ns].info.representor && in mlx5_os_pci_probe() 1988 if (!ret && (list[ns].info.representor ^ in mlx5_os_pci_probe() 2085 if (!ret && (list[ns].info.representor ^ in mlx5_os_pci_probe() [all …]
|
| H A D | mlx5_ethdev_os.c | 160 if (!priv->representor) in mlx5_get_ifname() 326 MLX5_ASSERT(priv->representor); in mlx5_find_master_dev() 378 if (ret == -ENOTSUP && priv->representor) { in mlx5_link_update_unlocked_gset() 472 if (ret == -ENOTSUP && priv->representor) { in mlx5_link_update_unlocked_gs() 1009 switch_info->representor = !device_dir; in mlx5_sysfs_check_switch_info() 1015 switch_info->representor = 1; in mlx5_sysfs_check_switch_info() 1040 .representor = 0, in mlx5_sysfs_switch_info() 1098 MLX5_ASSERT(!(data.master && data.representor)); in mlx5_sysfs_switch_info() 1099 if (data.master && data.representor) { in mlx5_sysfs_switch_info()
|
| /f-stack/dpdk/drivers/net/mlx5/ |
| H A D | mlx5_ethdev.c | 330 if (priv->representor) { in mlx5_dev_infos_get() 365 opriv->representor || in mlx5_dev_infos_get() 553 if (!(priv->representor || priv->master)) { in mlx5_port_to_eswitch_info() 580 if (!(priv->representor || priv->master)) { in mlx5_dev_to_eswitch_info()
|
| H A D | mlx5_mac.c | 162 if (priv->representor && priv->representor_id >= 0) { in mlx5_mac_addr_set()
|
| H A D | mlx5_rxq.c | 906 if (priv->representor) in mlx5_rx_intr_vec_enable() 989 if (priv->representor) in mlx5_rx_intr_vec_disable()
|
| H A D | mlx5.h | 946 unsigned int representor:1; /* Device is a port representor. */ member
|
| H A D | mlx5_flow_dv.c | 2060 if (!attr->transfer && priv->representor) in flow_dv_validate_action_pop_vlan() 2168 if (!attr->transfer && priv->representor) in flow_dv_validate_action_push_vlan() 2600 if (!attr->transfer && priv->representor) in flow_dv_validate_action_l2_encap() 2654 if (!attr->transfer && priv->representor) in flow_dv_validate_action_decap() 2744 if (!attr->transfer && priv->representor) in flow_dv_validate_action_raw_encap_decap() 5169 if (!(priv->representor || priv->master)) in flow_dv_validate_attributes() 10526 (priv->representor || priv->master)) { in flow_dv_translate()
|
| /f-stack/dpdk/doc/guides/prog_guide/ |
| H A D | switch_representation.rst | 62 -a pci:dbdf,representor=0 63 -a pci:dbdf,representor=[0-3] 64 -a pci:dbdf,representor=[0,5-11] 305 - **B**: port representor for VF 1. 306 - **C**: port representor for VF 2. 360 deemed flexible enough to manage representor traffic only with minor 373 (e.g. VF representor in addition to a physical port). 512 In this case, traffic is received by default through the representor and 514 are necessary. They simply have to be created on the representor port 515 directly and may target a different representor as described in `PORT_ID [all …]
|
| H A D | poll_mode_drv.rst | 373 * ``representor`` for a device which supports the creation of representor ports 377 -a DBDF,representor=0 378 -a DBDF,representor=[0,4,6,9] 379 -a DBDF,representor=[0-31]
|
| H A D | rte_flow.rst | 613 representor" depending on the kind of underlying device).
|
| /f-stack/dpdk/doc/guides/nics/ |
| H A D | bnxt.rst | 711 and monitoring of BNXT virtual function devices. Each port representor 715 sent to a representor will be received by the VF. Applications can take 724 ``devargs`` option ``representor``.:: 726 -a DBDF,representor=[0,1,4] 728 Note that currently hot-plugging of representor ports is not supported so all 741 * rep_is_vf - false to indicate VF representor 742 * rep_is_pf - true to indicate PF representor 746 * rep_fc_r2f - Flow control for the representor to endpoint direction 747 * rep_fc_f2r - Flow control for the endpoint to representor direction 751 -a 0000:06:02.0,host-based-truflow=1,representor=[1],rep-based-pf=8,\ [all …]
|
| H A D | ixgbe.rst | 274 and monitoring of IXGBE virtual function devices. Each port representor 276 option ``representor`` the user can specify which virtual functions to create 280 -a DBDF,representor=[0,1,4] 282 Currently hot-plugging of representor ports is not supported so all required
|
| H A D | i40e.rst | 201 and monitoring of i40e virtual function devices. Each port representor 203 option ``representor`` the user can specify which virtual functions to create 207 -a DBDF,representor=[0,1,4] 209 Currently hot-plugging of representor ports is not supported so all required
|
| H A D | mlx5.rst | 874 - ``representor`` parameter [list] 884 representor=[0-2] 1256 Switchdev mode is a mode in E-Switch, that binds between representor and VF. 1259 will be received by the corresponding representor. While each packet that is 1260 sent to a representor will be received by the VF.
|
| /f-stack/dpdk/drivers/net/enic/ |
| H A D | enic_ethdev.c | 1335 struct enic_vf_representor representor; in eth_enic_pci_probe() local 1337 representor.vf_id = eth_da.representor_ports[i]; in eth_enic_pci_probe() 1338 representor.switch_domain_id = in eth_enic_pci_probe() 1340 representor.pf = pmd_priv(pf_ethdev); in eth_enic_pci_probe() 1345 enic_vf_representor_init, &representor); in eth_enic_pci_probe()
|
| /f-stack/dpdk/drivers/common/mlx5/linux/ |
| H A D | mlx5_nl.c | 1146 switch_info->representor = !num_vf_set; in mlx5_nl_check_switch_info() 1152 switch_info->representor = 1; in mlx5_nl_check_switch_info() 1173 .representor = 0, in mlx5_nl_switch_info_cb() 1213 MLX5_ASSERT(!(info.master && info.representor)); in mlx5_nl_switch_info_cb() 1267 if (info->master && info->representor) { in mlx5_nl_switch_info()
|
| /f-stack/dpdk/drivers/common/mlx5/ |
| H A D | mlx5_common.h | 162 uint32_t representor:1; /**< Representor device. */ member
|
| /f-stack/dpdk/drivers/net/bnxt/ |
| H A D | bnxt_ethdev.c | 5552 struct bnxt_representor representor = { in bnxt_rep_port_probe() local 5558 if (representor.vf_id >= BNXT_MAX_VF_REPS) { in bnxt_rep_port_probe() 5560 representor.vf_id, BNXT_MAX_VF_REPS); in bnxt_rep_port_probe() 5577 (void *)&representor); in bnxt_rep_port_probe() 5590 (void *)&representor); in bnxt_rep_port_probe() 5602 (void *)&representor); in bnxt_rep_port_probe() 5614 (void *)&representor); in bnxt_rep_port_probe() 5626 (void *)&representor); in bnxt_rep_port_probe() 5638 (void *)&representor); in bnxt_rep_port_probe() 5649 &representor); in bnxt_rep_port_probe() [all …]
|
| /f-stack/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()
|
| /f-stack/dpdk/doc/guides/rel_notes/ |
| H A D | release_19_05.rst | 149 * Added support for new naming scheme of representor.
|
| H A D | release_18_05.rst | 626 ixgbe PMD uninit path cause null pointer dereference because of port representor
|