i40e/base: store CEE DCBX config
authorJingjing Wu <jingjing.wu@intel.com>
Sun, 6 Sep 2015 07:11:35 +0000 (15:11 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 1 Oct 2015 23:35:22 +0000 (01:35 +0200)
commit2114b52a36a1516727953f2621c8053f3c5e65b4
tree403d5d84ffa1c65b88d85561aa7fee1bcf638d6b
parentdef25b3eec93a7d399d049f07f650c075c39d37e
i40e/base: store CEE DCBX config

This patch adds capability to query and store the CEE DCBX DesiredCfg
and RemoteCfg data from the LLDP MIB.
Added new member "desired_dcbx_config" in the i40e_hw data structure
to hold CEE only DesiredCfg data.

Store the CEE TLV status returned by firmware to allow drivers to dump that
for debug purposes.

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
Tested-by: Huilong Xu <huilongx.xu@intel.com>
drivers/net/i40e/base/i40e_dcb.c
drivers/net/i40e/base/i40e_type.h