ethdev: add switch domain allocator
authorDeclan Doherty <declan.doherty@intel.com>
Thu, 26 Apr 2018 10:41:03 +0000 (11:41 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 17:00:56 +0000 (18:00 +0100)
commitce9250406323b6b0c5410d8d2574a6398f3ea1f3
tree4864de7f5523589f8135d63ca0e8275d7ad9fe8f
parent33af337773acd02167a9e88e2eb05fbdff7bb75b
ethdev: add switch domain allocator

Add switch domain allocate and free API to enable NET devices to
synchronise switch domain allocation.

Signed-off-by: Declan Doherty <declan.doherty@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_ether/rte_ethdev.c
lib/librte_ether/rte_ethdev_driver.h
lib/librte_ether/rte_ethdev_version.map