From: Alexander Duyck Date: Thu, 19 Apr 2012 17:48:48 +0000 (+0000) Subject: ixgbe: Update link flow control to correctly handle multiple packet buffer DCB X-Git-Tag: v3.5-rc1~109^2~171 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=041441d0f0d885619d48f8f7682825ace523cf59;p=pandora-kernel.git ixgbe: Update link flow control to correctly handle multiple packet buffer DCB This change updates the link flow control configuration so that we correctly set the link flow control settings for DCB. Previously we would have to call the fc_enable call 8 times, once for each packet buffer. If we move that logic into the fc_enable call itself we can avoid multiple unnecessary register writes. This change also corrects an issue in which we were only shifting the water marks for 82599 parts by 6 instead of 10. This was resulting in us only using 1/16 of the packet buffer when flow control was enabled. Signed-off-by: Alexander Duyck Tested-by: Ross Brattain Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed