projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sfc: Fix loopback self-test with separate_tx_channels=1
[deliverable/linux.git]
/
drivers
/
net
/
ethernet
/
sfc
/
selftest.c
diff --git
a/drivers/net/ethernet/sfc/selftest.c
b/drivers/net/ethernet/sfc/selftest.c
index 96068d15b601f5afc285618ea6fecd86b7713caf..ce72ae4f399fdf3861262967aeb8222d5856bd85 100644
(file)
--- a/
drivers/net/ethernet/sfc/selftest.c
+++ b/
drivers/net/ethernet/sfc/selftest.c
@@
-614,7
+614,8
@@
static int efx_test_loopbacks(struct efx_nic *efx, struct efx_self_tests *tests,
{
enum efx_loopback_mode mode;
struct efx_loopback_state *state;
- struct efx_channel *channel = efx_get_channel(efx, 0);
+ struct efx_channel *channel =
+ efx_get_channel(efx, efx->tx_channel_offset);
struct efx_tx_queue *tx_queue;
int rc = 0;
This page took
0.024028 seconds
and
5
git commands to generate.