aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorNeerav Parikh <neerav.parikh@intel.com>2015-02-26 11:12:00 -0500
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-03-05 04:53:22 -0500
commit7589f65b32f4465e38cc1d71490ea6f3e170c08c (patch)
treeb9ce624030eee7a5650c5618f1f8df8cb7047ae5 /drivers/net
parentb84d5cd8198fa140abcd9293ab795897f2fc937f (diff)
i40e: Don't check operational or sync bit for App TLV
In CEE mode the firmware does not set the operational status bit of the application TLV status as returned from the "Get CEE DCBX Oper Cfg" AQ command. This occurs whenever a DCBX configuration is changed. This is a workaround to remove the check for the operational and sync bits of the application TLV status till a firmware fix is provided. Change-ID: I1a31ff2fcadcb06feb5b55776a33593afc6ea176 Signed-off-by: Neerav Parikh <neerav.parikh@intel.com> Acked-by: Shannon Nelson <shannon.nelson@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e_dcb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_dcb.c b/drivers/net/ethernet/intel/i40e/i40e_dcb.c
index 3ce43588592d..6e1466756760 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_dcb.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_dcb.c
@@ -459,7 +459,7 @@ static void i40e_cee_to_dcb_v1_config(
459 sync = (status & I40E_TLV_STATUS_SYNC) ? 1 : 0; 459 sync = (status & I40E_TLV_STATUS_SYNC) ? 1 : 0;
460 oper = (status & I40E_TLV_STATUS_OPER) ? 1 : 0; 460 oper = (status & I40E_TLV_STATUS_OPER) ? 1 : 0;
461 /* Add APPs if Error is False and Oper/Sync is True */ 461 /* Add APPs if Error is False and Oper/Sync is True */
462 if (!err && sync && oper) { 462 if (!err) {
463 /* CEE operating configuration supports FCoE/iSCSI/FIP only */ 463 /* CEE operating configuration supports FCoE/iSCSI/FIP only */
464 dcbcfg->numapps = I40E_CEE_OPER_MAX_APPS; 464 dcbcfg->numapps = I40E_CEE_OPER_MAX_APPS;
465 465