net/ice/base: add read PBA module function
authorQi Zhang <qi.z.zhang@intel.com>
Thu, 29 Aug 2019 02:35:59 +0000 (10:35 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:52 +0000 (15:00 +0200)
commit5d0b7b5fc4912cfbcaa4fd2e7faa796dc3e445f7
tree891f42b6a355d39010ac7da6d5d6b61e51862b60
parent449ccdf7b58fc8aaa2de6a076da1b300dd03967a
net/ice/base: add read PBA module function

New support function added - ice_get_pfa_module_tlv(), the driver or
other modules can make use of this function to read the pfa area.

Signed-off-by: Tarun Singh <tarun.k.singh@intel.com>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ice/base/ice_common.c
drivers/net/ice/base/ice_common.h