net/ice/base: support resource allocation
authorQi Zhang <qi.z.zhang@intel.com>
Wed, 16 Jan 2019 14:13:33 +0000 (22:13 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Jan 2019 08:47:26 +0000 (09:47 +0100)
commite844d501df242192c0a601fc0e95c6c42e53e4b2
treea80384f154887258671ac323c3bab93b9d21291b
parent71a685136b8682f611e387a764800654c07ce4aa
net/ice/base: support resource allocation

Added API ice_alloc_hw_res and ice_free_hw_res.
Added resource type macro.

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ice/base/ice_adminq_cmd.h
drivers/net/ice/base/ice_common.c
drivers/net/ice/base/ice_common.h