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 comment this API but there is no associated doxygen.

If the application is aware of the VFs, it probably already knows
how PF and VF are associated.

Until now, the functions to control VF from PF are driver-specifics.


Reply via email to