ixgbe: Fill at least min credits to a TC credit refills
authorVasu Dev <vasu.dev@intel.com>
Mon, 23 Nov 2015 18:30:51 +0000 (10:30 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 8 Jan 2016 11:25:14 +0000 (03:25 -0800)
commit3efcb86e2da69989827066c231edb30ec10de932
treed70c045f4075d56b05726842cae60e2b1dee920d
parent24759daa018f0fc8cccebc89d3dee0953e73785a
ixgbe: Fill at least min credits to a TC credit refills

Currently credit_refill and credit_max could be zero for a TC and that
is causing Tx hang for CEE mode configuration, so to fix that have at
min credit assigned to a TC and that is as what IEEE mode already does.

Change-ID: If652c133093a21e530f4e9eab09097976f57fb12
Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c