net/i40e/base: support persistent LLDP
authorXiaolong Ye <xiaolong.ye@intel.com>
Mon, 13 Jan 2020 02:39:35 +0000 (10:39 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:02 +0000 (19:46 +0100)
commita8e84b22bd5511c45329b1cc2d2d230f5dae6082
tree540870036daceabadcfbe2c923188e4f3444092c
parent48c0aef5b9bdd69a6bb6d9b0c4d9dd279ef6e122
net/i40e/base: support persistent LLDP

This patch adds a function to read NVM module data and uses it to
read current LLDP agent configuration from NVM API version 1.8.

Signed-off-by: Sylwia Wnuczko <sylwia.wnuczko@intel.com>
Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/base/i40e_dcb.c
drivers/net/i40e/base/i40e_dcb.h
drivers/net/i40e/base/i40e_nvm.c
drivers/net/i40e/base/i40e_prototype.h