sfc: Fix loopback self-test with separate_tx_channels=1
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 13 Sep 2012 01:22:52 +0000 (02:22 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Tue, 2 Oct 2012 00:58:41 +0000 (01:58 +0100)
commit1ac0226eb04e56cacee080fb71938eb50b5245eb
treeb48353aaad1bbd35211aaff02d5630299b50776d
parent0a6e5008a9df678b48f8d4e57601aa4270df6c14
sfc: Fix loopback self-test with separate_tx_channels=1

The loopback self-test iterates over all the TX queues of channel 0,
which is not very interesting when that's an RX-only channel.

Signed-off-by: Ben Hutchings <bhutchings@solarflre.com>
drivers/net/ethernet/sfc/ethtool.c
drivers/net/ethernet/sfc/selftest.c