Following discussion with Stephen Hemminger and Neil Horman: http://dpdk.org/ml/archives/dev/2014-June/003139.html http://dpdk.org/ml/archives/dev/2014-June/003333.html http://dpdk.org/ml/archives/dev/2014-June/003295.html
There is no need for sysfs entries, instead localise the logic to virtio_ethdev, I am basing this on Stephens effort to include FreeBSD support. Suggested-by: Neil Horman <nhorman at tuxdriver.com> Suggested-by: Stephen Hemminger <stephen at networkplumber.org> Alan Carew (1): librte_pmd_virtio: Fix incorrect device specific header offset when MSI-X is disabled config/common_bsdapp | 2 +- lib/librte_pmd_virtio/virtio_ethdev.c | 28 +++++++++++++++++++++++++++- lib/librte_pmd_virtio/virtio_pci.h | 5 ++--- 3 files changed, 30 insertions(+), 5 deletions(-) -- 1.9.3