projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac6c5e3
)
i40e: clear test state bit after all ethtool tests
author
Shannon Nelson
<
[email protected]
>
Wed, 20 Nov 2013 10:02:58 +0000
(10:02 +0000)
committer
Jeff Kirsher
<
[email protected]
>
Sat, 7 Dec 2013 01:20:39 +0000
(17:20 -0800)
Fix a bug where the TESTING state was still set when
exiting the ethtool diagnostics.
Change-Id: Ic47950d2e86a67167d1d282256d477cecd86d820
Signed-off-by: Shannon Nelson <
[email protected]
>
Signed-off-by: Jesse Brandeburg <
[email protected]
>
Tested-by: Kavindya Deegala <
[email protected]
>
Signed-off-by: Jeff Kirsher <
[email protected]
>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c
b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c
index 7fb669bd0472eb812ad179b27cdcc292544ee3db..44d4a7f8478732191f0c5e54488d51c1d8498993 100644
(file)
--- a/
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
+++ b/
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
@@
-805,9
+805,10
@@
static void i40e_diag_test(struct net_device *netdev,
data[I40E_ETH_TEST_EEPROM] = 0;
data[I40E_ETH_TEST_INTR] = 0;
data[I40E_ETH_TEST_LOOPBACK] = 0;
-
- clear_bit(__I40E_TESTING, &pf->state);
}
+ clear_bit(__I40E_TESTING, &pf->state);
+
+ netdev_info(netdev, "testing finished\n");
}
static void i40e_get_wol(struct net_device *netdev,