On 25/9/2017 3:43 AM, Wu, Jingjing wrote:
-Original Message-
From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of David Hunt
Sent: Saturday, August 26, 2017 12:02 AM
To: dev@dpdk.org
Cc: Hunt, David ; Marjanovic, Nemanja
; Sexton, Rory
Subject: [dpdk-dev] [PATCH v1 01/10] net/i40e
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of David Hunt
> Sent: Saturday, August 26, 2017 12:02 AM
> To: dev@dpdk.org
> Cc: Hunt, David ; Marjanovic, Nemanja
> ; Sexton, Rory
> Subject: [dpdk-dev] [PATCH v1 01/10] net/i40e: add API t
Hi Thomas,
On 22/9/2017 10:56 AM, Thomas Monjalon wrote:
25/08/2017 18:02, David Hunt:
+static inline uint64_t
+vfid_to_pfid_direct(uint8_t port_id, uint64_t vfid)
+{
+ struct rte_eth_dev *dev = &rte_eth_devices[port_id];
+ uint64_t pfid = (*dev->dev_ops->vfid_to_pfid)(dev, vfid);
25/08/2017 18:02, David Hunt:
>
> +static inline uint64_t
> +vfid_to_pfid_direct(uint8_t port_id, uint64_t vfid)
> +{
> + struct rte_eth_dev *dev = &rte_eth_devices[port_id];
> + uint64_t pfid = (*dev->dev_ops->vfid_to_pfid)(dev, vfid);
> + return pfid;
> +}
I would like to com
Need a way to convert a vf id to a pf id on the host so as to query the pf
for relevant statistics which are used for the frequency changes in the
vm_power_manager app. Used when profiles are passed down from the guest
to the host, allowing the host to map the vfs to pfs.
Signed-off-by: Nemanja Ma
5 matches
Mail list logo