projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36087dc
)
staging: et131x: Don't handle rx/tx packets when changing mtu
author
Mark Einon
<mark.einon@gmail.com>
Wed, 20 Aug 2014 22:17:52 +0000
(23:17 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 30 Aug 2014 20:32:36 +0000
(13:32 -0700)
There's no need to handle any rx/tx interrupts in the middle of an mtu
change, so don't.
After this change, receive and transmit interrupts are only handled in
one place, which paves the way to using NAPI.
Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/et131x/et131x.c
patch
|
blob
|
history
diff --git
a/drivers/staging/et131x/et131x.c
b/drivers/staging/et131x/et131x.c
index
602925c
..
83b3b1e
100644
(file)
--- a/
drivers/staging/et131x/et131x.c
+++ b/
drivers/staging/et131x/et131x.c
@@
-4447,8
+4447,6
@@
static int et131x_change_mtu(struct net_device *netdev, int new_mtu)
return -EINVAL;
et131x_disable_txrx(netdev);
- et131x_handle_send_interrupt(adapter);
- et131x_handle_recv_interrupt(adapter);
/* Set the new MTU */
netdev->mtu = new_mtu;