i40e: Prevent link flow control settings when PFC is enabled
authorNeerav Parikh <neerav.parikh@intel.com>
Wed, 12 Nov 2014 00:18:57 +0000 (00:18 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 18 Nov 2014 09:09:27 +0000 (01:09 -0800)
commit4b7698cb95638693e3d9a2fc01a2bdbd8710ff81
treee75a4fdfc2b404bbe80ad633fc4416731e6b87ab
parentd341b7a52be79520f8e8b1ed0e3df657b2442e5b
i40e: Prevent link flow control settings when PFC is enabled

When PFC is enabled we should not proceed with setting the link flow control
parameters.  Also, always report the link flow Tx/Rx settings as off when
PFC is enabled.

Change-ID: Ib09ec58afdf0b2e587ac9d8851a5c80ad58206c4
Signed-off-by: Neerav Parikh <neerav.parikh@intel.com>
Tested-By: Jack Morgan <jack.morgan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c