i40e/base: get link status to report flow control settings
authorHelin Zhang <helin.zhang@intel.com>
Tue, 9 Sep 2014 07:21:37 +0000 (15:21 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 7 Oct 2014 16:02:11 +0000 (18:02 +0200)
commitfba802380379b3e85ef8c9dfb0112160bae188fb
tree6322961064e985bfa7800e2885c9cc8673b47531
parent93debffce873e483af2904d5e7669c7eded55e2f
i40e/base: get link status to report flow control settings

The fix is to use get_link_status but not get_phy_capabilities
for reporting FC settings.

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Reviewed-by: Chen Jing <jing.d.chen@intel.com>
Tested-by: HuilongX Xu <huilongx.xu@intel.com>
lib/librte_pmd_i40e/i40e/i40e_common.c
lib/librte_pmd_i40e/i40e/i40e_type.h