On 16/02/2016 18:54, Stephen Hemminger wrote: > On Thu, 28 Jan 2016 08:48:12 +0000 > Remy Horton <remy.horton at intel.com> wrote: > >> Several rte_eth_dev_* functions are currently only supported >> by the ixgbe NIC driver. This patchset adds driver support >> for some of these functions to the i40e, virtio, and vmxnet3 >> drivers. > > It is good to make drivers more complete and compatible, but unless > the virtual driver has some useful data I can't see the point of providing > these functions in this case. The base infrastructure (rte_ethdev) should > deal with by returning not supported error (or all zeros); rather than > creating more code in other drivers for no real gain.
Come to the same conclusion regarding the Rx/Tx queue info functions, as working out how to derive the figures I could return was also baking in some implicit assumptions. Plan to exclude those ones from the v2. ..Remy