]> 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)
commit113b1ca378c6fba90b5e8bc728e0d90f9ab75faa
treeb806a34b3408f5d6bf832286238c5049b4d571d4
parentea5ac466db1f4f1ac74dfe9c7d8b0f5a7c11f810
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