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)
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>

No differences found