i40e/base: support CEE DCBX
authorHelin Zhang <helin.zhang@intel.com>
Thu, 30 Apr 2015 15:03:12 +0000 (23:03 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 15 May 2015 14:33:15 +0000 (16:33 +0200)
commit089159d25f6f534cd29c5e5e0d1893193e49bb5a
tree3df5926158c797c202de565bfe864b883b46b04c
parentc0273b42705c358ace52eee2935179a7193e1052
i40e/base: support CEE DCBX

Recent firmware versions support CEE DCBX, while old firmware
versions support IEEE DCBX only. So firmware version needs to be
checked during getting DCB configurations. To support CEE DCBX,
AQ commands of 'i40e_aq_get_cee_dcb_config' and
'i40e_aq_start_stop_dcbx' were implemented.

Test report: http://www.dpdk.org/ml/archives/dev/2015-May/017384.html

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Jijiang Liu <jijiang.liu@intel.com>
Tested-by: Min Cao <min.cao@intel.com>
lib/librte_pmd_i40e/i40e/i40e_adminq_cmd.h
lib/librte_pmd_i40e/i40e/i40e_common.c
lib/librte_pmd_i40e/i40e/i40e_dcb.c
lib/librte_pmd_i40e/i40e/i40e_dcb.h
lib/librte_pmd_i40e/i40e/i40e_prototype.h
lib/librte_pmd_i40e/i40e/i40e_type.h