ethdev: add allocation helper for virtual drivers
authorJan Blunck <jblunck@infradead.org>
Tue, 11 Apr 2017 15:44:11 +0000 (17:44 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 18 Apr 2017 17:04:28 +0000 (19:04 +0200)
commit7f0a669e7b048f14f5bb6be7df2bb2e4670b4aae
tree674d66f6c98be31c10f874a8aee7211968bddf00
parentc3b047be7328c70e0542d40db15f847181208a22
ethdev: add allocation helper for virtual drivers

This helper should be used by ethdev drivers supporting virtual devices
to help allocating a new ethdev and properly filling the default fields.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
lib/librte_ether/Makefile
lib/librte_ether/rte_ethdev_vdev.h [new file with mode: 0644]