]> git.baikalelectronics.ru Git - kernel.git/commit
amd-xgbe: Use the Tx queue count for Tx flow control support
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Fri, 29 Aug 2014 18:17:08 +0000 (13:17 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Sep 2014 03:38:14 +0000 (20:38 -0700)
commit9b86f7edd17694d30a7bab881c3ba4b731d0a565
treeb806a34b3408f5d6bf832286238c5049b4d571d4
parent04b762742db9a1084794d3d3b80cd020349c7a14
amd-xgbe: Use the Tx queue count for Tx flow control support

When configuring Tx flow control the Rx queue count was used instead of
the Tx queue count for looping through the Tx hardware queues. Fix the
code to use the Tx queue count.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-dev.c