hit even once).
Thanks,
- KK
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
sge.c | 35 +++
1 files changed, 15 insertions(+), 20 deletions(-)
diff -ruNp a/drivers/net/cxgb3/sge.c b/drivers/net/cxgb3/sge.c
--- a/drivers/net/cxgb3/sge.c 2
Hi Peter,
Peter wrote on 11/13/2007 11:14:50 PM:
> @@ -134,7 +134,7 @@ static inline int qdisc_restart(struct net_device *dev)
> {
> struct Qdisc *q = dev->qdisc;
> struct sk_buff *skb;
> - int ret;
> + int ret = NETDEV_TX_BUSY;
>
> /* Dequeue packet */
> if (unlikely((skb =
Returning BUSY will make qdisc_restart enqueue the skb which was already
freed. The bad skb was correctly freed and we should return NETDEV_TX_OK.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
diff -ruNp a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c
--- a/drivers/net/
Hi Dave,
After applying Roland's NAPI patch, system panics when I run multiple
thread iperf (no stack trace at this time, it shows that the panic is in
net_tx_action).
I think the problem is:
In the "done < budget" case, ipoib_poll calls netif_rx_complete()
netif_rx_complete()
__netif_rx
e variable being non-zero instead of comparing two
vars for every iteration.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
ipoib_ib.c | 15 ---
1 files changed, 8 insertions(+), 7 deletions(-)
diff -ruNp new2/drivers/infiniband/ulp/ipoib/ipoib_ib
Follow-up cleanup and "while loop" optimization in the poll handler.
net_rx_action guarantees that 'budget' is atleast 1.
Note: This could also be done for poll handlers of other drivers.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
ipoib_ib.c | 22 +
e receives (which again does a dev_put). This reduces refcount to
< 0 (depending on how many times netif_rx_complete followed by
netif_rx_reschedule was called).
The following patch fixes the bug, but I don't know if there is some
specific IB issue that prevents this approach.
Signed-off-by: Kri
E1000: Implement batching capability (ported thanks to changes taken from
Jamal).
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
e1000_main.c | 104 ++-
1 files changed, 75 insertions(+), 29 deletions(-)
diff -ru
IPoIB: implement the new batching API.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
ipoib_main.c | 248 +++
1 files changed, 168 insertions(+), 80 deletions(-)
diff -ruNp org/drivers/infiniband/ulp/ipoib/ipoib_main.c
new/d
IPoIB verb changes to use batching.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
ipoib_verbs.c | 23 ++-
1 files changed, 14 insertions(+), 9 deletions(-)
diff -ruNp org/drivers/infiniband/ulp/ipoib/ipoib_verbs.c
new/drivers/infiniband/ulp/ipoib/ipoib_v
IPoIB internal post and work completion handler changes.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
ipoib_ib.c | 212 -
1 files changed, 168 insertions(+), 44 deletions(-)
diff -ruNp org/drivers/infiniband/ulp
IPoIB header file changes to use batching.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
ipoib.h |9 ++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff -ruNp org/drivers/infiniband/ulp/ipoib/ipoib.h
new/drivers/infiniband/ulp/ipoib/ipoib.h
--- org/drivers/infiniba
IPoIB CM & Multicast changes based on header file changes.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
ipoib_cm.c| 13 +
ipoib_multicast.c |4 ++--
2 files changed, 11 insertions(+), 6 deletions(-)
diff -ruNp org/drivers/infiniband/ulp/ipoib/ipoib
Modify qdisc_run() to support batching. Modify callers of qdisc_run to
use batching, modify qdisc_restart to implement batching.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
include/linux/netdevice.h |2
include/net/pkt_sched.h | 17 +--
net/core/dev.c
Add ethtool support to enable/disable batching.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
include/linux/ethtool.h |2 ++
include/linux/netdevice.h |2 ++
net/core/dev.c| 44
net/core/ethtool.c
Introduce skb_blist, NETIF_F_BATCH_SKBS, use single API for
batching/no-batching, etc.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
include/linux/netdevice.h |8 ++--
net/core/dev.c| 29 ++---
2 files changed, 32 insertions(+), 5 del
Add Documentation describing batching skb xmit capability.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
batching_skb_xmit.txt | 107 ++
1 files changed, 107 insertions(+)
diff -ruNp org/Documentation/networking/batching_skb_xmit.tx
This set of patches implements the batching xmit capability, and adds support
for batching in IPoIB and E1000 (E1000 driver changes is ported, thanks to
changes taken from Jamal's code from an old kernel).
List of changes from previous revision:
1. [Dave] E
After applying patch1, I started getting "waiting for count" messages when
doing ifdown. Not sure if this is the right fix since the count was already
showing as -1 in that message, but this patch fixes the problem.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
e1000_main
Doing napi_disable twice hangs "ifdown" of the device. e1000_down is the
common place to call napi_disable.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
e1000_main.c |4
1 files changed, 4 deletions(-)
diff -ruNp org/drivers/net/e1000/e1000_main.c new/d
E1000: Implement batching capability (ported thanks to changes taken from
Jamal). Not all changes are made in this as in IPoIB, eg, handling
out of order skbs (see XXX in the first mail).
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
e1000_main.c
IPoIB internal post and work completion handler changes.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
ipoib_ib.c | 207 -
1 files changed, 163 insertions(+), 44 deletions(-)
diff -ruNp org/drivers/infiniband/ulp
IPoIB: implement the new batching API.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
ipoib_main.c | 251 ---
1 files changed, 171 insertions(+), 80 deletions(-)
diff -ruNp org/drivers/infiniband/ulp/ipoib/ipoib_main.c
new/d
IPoIB CM & Multicast changes based on header file changes.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
ipoib_cm.c| 13 +
ipoib_multicast.c |4 ++--
2 files changed, 11 insertions(+), 6 deletions(-)
diff -ruNp org/drivers/infiniband/ulp/ipoib/ipoib
IPoIB verb changes to use batching.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
ipoib_verbs.c | 23 ++-
1 files changed, 14 insertions(+), 9 deletions(-)
diff -ruNp org/drivers/infiniband/ulp/ipoib/ipoib_verbs.c
new/drivers/infiniband/ulp/ipoib/ipoib_v
Add ethtool support to enable/disable batching.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
include/linux/ethtool.h |2 ++
include/linux/netdevice.h |2 ++
net/core/dev.c| 36
net/core/ethtool.c
IPoIB header file changes to use batching.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
ipoib.h |9 ++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff -ruNp org/drivers/infiniband/ulp/ipoib/ipoib.h
new/drivers/infiniband/ulp/ipoib/ipoib.h
--- org/drivers/infiniba
Introduce skb_blist, NETIF_F_BATCH_SKBS, use single API for
batching/no-batching, etc.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
include/linux/netdevice.h |4
net/core/dev.c| 21 ++---
2 files changed, 22 insertions(+), 3 deletions(-)
diff
Modify qdisc_run() to support batching. Modify callers of qdisc_run to
use batching, modify qdisc_restart to implement batching.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
include/linux/netdevice.h |2 +
include/net/pkt_sched.h |6 +--
net/core/dev.c
This set of patches implements the batching xmit capability (changed from
API), and adds support for batching in IPoIB. Also included is a sample patch
for E1000 (ported - thanks to Jamal's E1000 changes from earlier kernel). I
will use this patch for testing E1000 TSO vs batching after the weekend
Add Documentation describing batching skb xmit capability.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
batching_skb_xmit.txt | 78 ++
1 files changed, 78 insertions(+)
diff -ruNp org/Documentation/networking/batching_skb_xmit.tx
IPoIB CM & Multicast changes based on header file changes.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
ipoib_cm.c| 13 +
ipoib_multicast.c |4 ++--
2 files changed, 11 insertions(+), 6 deletions(-)
diff -ruNp ORG/drivers/infiniband/ulp/ipoib/ipoib
IPoIB header file changes to use batching.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
ipoib.h | 11 ---
1 files changed, 8 insertions(+), 3 deletions(-)
diff -ruNp ORG/drivers/infiniband/ulp/ipoib/ipoib.h
NEW/drivers/infiniband/ulp/ipoib/ipoib.h
--- ORG/drivers/infi
IPoIB verb changes to use batching.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
ipoib_verbs.c | 23 ++-
1 files changed, 14 insertions(+), 9 deletions(-)
diff -ruNp ORG/drivers/infiniband/ulp/ipoib/ipoib_verbs.c
NEW/drivers/infiniband/ulp/ipoib/ipoib_v
This set of patches implements the batching API, and adds support for this
API in IPoIB.
List of changes from original submission:
-
1. [Patrick] Suggestion to remove tx_queue_len check for enabling batching.
2. [Patrick] Move queue purging to dev_deactiva
Add ethtool support to enable/disable batching.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
include/linux/ethtool.h |2 ++
include/linux/netdevice.h |2 ++
net/core/ethtool.c| 26 ++
3 files changed, 30 insertions(+)
diff -ruNp ORG/i
IPoIB internal post and work completion handler changes.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
ipoib_ib.c | 217 -
1 files changed, 173 insertions(+), 44 deletions(-)
diff -ruNp ORG/drivers/infiniband/ulp
IPoIB: implement the new batching API.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
ipoib_main.c | 189 +--
1 files changed, 184 insertions(+), 5 deletions(-)
diff -ruNp ORG/drivers/infiniband/ulp/ipoib/ipoib_main.c
NEW/d
Modify qdisc_run() to support batching. Modify callers of qdisc_run to
use batching, modify qdisc_restart to implement batching.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
include/net/pkt_sched.h |6 +--
net/core/dev.c |5 +--
net/sched/sch_generic.c
Add Documentation describing batching API.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
Batching_skb_API.txt | 82 +++
1 files changed, 82 insertions(+)
diff -ruNp ORG/Documentation/networking/Batching_skb_API.txt
NEW/Documen
Introduce skb_blist and hard_start_xmit_batch API, handle driver's usage
of the new API, and add support routines.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
include/linux/netdevice.h |8 +++
net/core/dev.c| 98
diff -ruNp org/drivers/infiniband/ulp/ipoib/ipoib_main.c
rev2/drivers/infiniband/ulp/ipoib/ipoib_main.c
--- org/drivers/infiniband/ulp/ipoib/ipoib_main.c 2007-07-20
07:49:28.0 +0530
+++ rev2/drivers/infiniband/ulp/ipoib/ipoib_main.c 2007-07-22
00:08:28.0 +0530
@@ -558,
diff -ruNp org/drivers/infiniband/ulp/ipoib/ipoib_verbs.c
rev2/drivers/infiniband/ulp/ipoib/ipoib_verbs.c
--- org/drivers/infiniband/ulp/ipoib/ipoib_verbs.c 2007-07-20
07:49:28.0 +0530
+++ rev2/drivers/infiniband/ulp/ipoib/ipoib_verbs.c 2007-07-20
16:09:45.0 +0530
@@ -15
diff -ruNp org/drivers/infiniband/ulp/ipoib/ipoib_cm.c
rev2/drivers/infiniband/ulp/ipoib/ipoib_cm.c
--- org/drivers/infiniband/ulp/ipoib/ipoib_cm.c 2007-07-20 07:49:28.0
+0530
+++ rev2/drivers/infiniband/ulp/ipoib/ipoib_cm.c2007-07-20
16:09:45.0 +0530
@@ -493,14 +493,19 @
diff -ruNp org/drivers/infiniband/ulp/ipoib/ipoib_ib.c
rev2/drivers/infiniband/ulp/ipoib/ipoib_ib.c
--- org/drivers/infiniband/ulp/ipoib/ipoib_ib.c 2007-07-20 07:49:28.0
+0530
+++ rev2/drivers/infiniband/ulp/ipoib/ipoib_ib.c2007-07-22
00:08:37.0 +0530
@@ -242,8 +242,9 @@
diff -ruNp org/drivers/infiniband/ulp/ipoib/ipoib.h
rev2/drivers/infiniband/ulp/ipoib/ipoib.h
--- org/drivers/infiniband/ulp/ipoib/ipoib.h2007-07-20 07:49:28.0
+0530
+++ rev2/drivers/infiniband/ulp/ipoib/ipoib.h 2007-07-20 16:09:45.0
+0530
@@ -269,8 +269,8 @@ struct ipoib_d
diff -ruNp org/include/linux/if_link.h rev2/include/linux/if_link.h
--- org/include/linux/if_link.h 2007-07-20 16:33:35.0 +0530
+++ rev2/include/linux/if_link.h2007-07-20 16:35:08.0 +0530
@@ -78,6 +78,8 @@ enum
IFLA_LINKMODE,
IFLA_LINKINFO,
#define IFLA_LINK
diff -ruNp org/include/net/pkt_sched.h rev2/include/net/pkt_sched.h
--- org/include/net/pkt_sched.h 2007-07-20 07:49:28.0 +0530
+++ rev2/include/net/pkt_sched.h2007-07-20 16:09:45.0 +0530
@@ -80,13 +80,13 @@ extern struct qdisc_rate_table *qdisc_ge
struct rta
diff -ruNp org/net/core/dev.c rev2/net/core/dev.c
--- org/net/core/dev.c 2007-07-20 07:49:28.0 +0530
+++ rev2/net/core/dev.c 2007-07-21 23:08:33.0 +0530
@@ -875,6 +875,48 @@ void netdev_state_change(struct net_devi
}
}
+/*
+ * dev_change_tx_batching - Enable or disable b
diff -ruNp org/include/linux/ethtool.h rev2/include/linux/ethtool.h
--- org/include/linux/ethtool.h 2007-07-21 13:39:50.0 +0530
+++ rev2/include/linux/ethtool.h2007-07-21 13:40:57.0 +0530
@@ -414,6 +414,8 @@ struct ethtool_ops {
#define ETHTOOL_SUFO 0x0022 /*
diff -ruNp org/net/core/net-sysfs.c rev2/net/core/net-sysfs.c
--- org/net/core/net-sysfs.c2007-07-20 07:49:28.0 +0530
+++ rev2/net/core/net-sysfs.c 2007-07-21 22:56:32.0 +0530
@@ -230,6 +230,21 @@ static ssize_t store_weight(struct devic
return netdev_store(dev, attr,
diff -ruNp org/Documentation/networking/Batching_skb_API.txt
rev2/Documentation/networking/Batching_skb_API.txt
--- org/Documentation/networking/Batching_skb_API.txt 1970-01-01
05:30:00.0 +0530
+++ rev2/Documentation/networking/Batching_skb_API.txt 2007-07-20
16:09:45.0 +0530
diff -ruNp org/include/linux/netdevice.h rev2/include/linux/netdevice.h
--- org/include/linux/netdevice.h 2007-07-20 07:49:28.0 +0530
+++ rev2/include/linux/netdevice.h 2007-07-22 13:20:16.0 +0530
@@ -340,6 +340,7 @@ struct net_device
#define NETIF_F_VLAN_CHALLENGED
This set of patches implements the batching API, and makes the following
changes resulting from the review of the first set:
Changes :
-
1. Changed skb_blist from pointer to static as it saves only 12 bytes
(i386), but bloats the code.
2. Removed requirement for driver to set "featur
IPoIB verb changes to support batching.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
ipoib_verbs.c | 23 ++-
1 files changed, 14 insertions(+), 9 deletions(-)
diff -ruNp org/drivers/infiniband/ulp/ipoib/ipoib_verbs.c
new/drivers/infiniband/ulp/ipoib/ipoib_v
Changes in dev.c to support batching : add dev_add_skb_to_blist,
register_netdev recognizes batch aware drivers, and net_tx_action is
the sole user of batching.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
dev.c | 77 +++
Add HOWTO documentation on what batching is, how to implement drivers to use
it, and how users can enable/disable batching.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
Batching_skb_API.txt | 91 +++
1 files changed, 91 inse
Hi Dave, Roland, everyone,
In May, I had proposed creating an API for sending 'n' skbs to a driver to
reduce lock overhead, DMA operations, and specific to drivers that have
completion notification like IPoIB - reduce completion handling ("[RFC] New
driver API to speed up small packets xmits" @
ht
IPoIB Multicast and CM changes for batching support.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
ipoib_cm.c| 13 +
ipoib_multicast.c |4 ++--
2 files changed, 11 insertions(+), 6 deletions(-)
diff -ruNp org/drivers/infiniband/ulp/ipoib/ipoib_cm.c
new/d
Add batching support to IPoIB post_send and TX completion handler.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
ipoib_ib.c | 233 -
1 files changed, 187 insertions(+), 46 deletions(-)
diff -ruNp org/drivers/infiniba
net/sched/sch_generic.c changes to support batching. Adds a batch
aware function (get_skb) to get skbs to send.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
sch_generic.c | 94 +++---
1 files changed, 71 insertions(+), 23 del
IPoIB header file changes.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
ipoib.h |9 ++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff -ruNp org/drivers/infiniband/ulp/ipoib/ipoib.h
new/drivers/infiniband/ulp/ipoib/ipoib.h
--- org/drivers/infiniband/ulp/ipoib/i
Support to turn on/off batching from /sys.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
net-sysfs.c | 70
1 files changed, 70 insertions(+)
diff -ruNp org/net/core/net-sysfs.c new/net/core/net-sysfs.c
--- org/net/co
Networking include file changes for batching.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
linux/netdevice.h | 10 ++
net/pkt_sched.h |6 +++---
2 files changed, 13 insertions(+), 3 deletions(-)
diff -ruNp org/include/linux/netdevice.h new/include/linux/netde
Add a IPoIB batching xmit handler.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
ipoib_main.c | 215 +--
1 files changed, 210 insertions(+), 5 deletions(-)
diff -ruNp org/drivers/infiniband/ulp/ipoib/ipoib_main.c
new/d
Hi Jamal, Dave (and anyone else interested),
Could you review this patch ?
Thanks,
- KK
On Tue, 2007-06-19 at 12:15 -0400, jamal wrote:
> On Mon, 2007-18-06 at 20:58 -0700, David Miller wrote:
> > From: Krishna Kumar2 <[EMAIL PROTECTED]>
> > Date: Tue, 19 Jun 2007 09:05:28 +0530
> >
> > > Dav
his check is not
required. Hopefully Herbert can validate this change. If at all
this is required, it should be added to skb_dequeue (in failure
case), and not to qdisc_qlen.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
diff -ruNp org/net/sched/sch_generic.c new/net/sched/sch
ues and the function name on same line, eg
prio2list.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
diff -ruNp org/net/sched/sch_generic.c new/net/sched/sch_generic.c
--- org/net/sched/sch_generic.c 2007-06-18 09:55:56.0 +0530
+++ new/net/sched/sch_generic.c 2007-0
On Fri, 2007-06-15 at 11:01 -0700, Waskiewicz Jr, Peter P wrote:
Hi Peter,
> I agree that the case shouldn't happen, and will only surface if the
> driver is indeed buggy. I've thought about this conditional being
> removed for awhile, since it will protect against a poorly written
> driver wrt
is change. If at all
this is required, it should be added to skb_dequeue (in failure
case), and not to qdisc_qlen.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
diff -ruNp org/net/sched/sch_generic.c new/net/sched/sch_generic.c
--- org/net/sched/sch_generic.c 2007-06-11 13:12:11.0
is was related
to batch skb WIP, Jamal ?). Converted some functions to original coding style
of having the return values and the function name on same line, eg prio2list.
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
diff -ruNp org/net/sched/sch_generic.c new/net/sched/sch_generic
Hi Dave,
I am splitting this patch to two, to differentiate between readability
changes (plus a bug fix) and optimization changes.
Please review.
Thanks,
- KK
--
I am sorry to miss out during Jamal's original effort to make q
lso, as per Jamal's mail from May 25th).
Thanks,
- KK
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
diff -ruNp org/net/sched/sch_generic.c new/net/sched/sch_generic.c
--- org/net/sched/sch_generic.c 2007-06-11 13:12:11.0 +0530
+++ new/net/sched/sch_generic.c 2007-06-11 15:3
Hi all,
While looking at common packet sizes on xmits, I found that most of
the packets are small. On my personal system, the statistics of
packets after using (browsing, mail, ftp'ing two linux kernels from
www.kernel.org) for about 6 hours is :
--
Optimize teql_enqueue so that it first checks limits before
enqueing.
Patch against net-2.6.22.git
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
diff -ruNp org/net/sched/sch_teql.c new/net/sched/sch_teql.c
--- org/net/sched/sch_teql.c2007-04-09 12:37:41.0 +0530
+++ n
Some simple optimizations in e1000_xmit_frame.
Patch against net-2.6.22.git
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
diff -ruNp org/drivers/net/e1000/e1000_main.c new/drivers/net/e1000/e1000_main.c
--- org/drivers/net/e1000/e1000_main.c 2007-04-09 12:40:02.0 +0530
+
Optimize call to net_tx_action only if work is pending.
Patch against net-2.6.22.git
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
diff -ruNp org/net/core/dev.c new/net/core/dev.c
--- org/net/core/dev.c 2007-04-09 12:43:15.0 +0530
+++ new/net/core/dev.c 2007-04-09
-2.6.22.git
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
diff -ruNp org/net/sched/sch_generic.c new/net/sched/sch_generic.c
--- org/net/sched/sch_generic.c 2007-05-07 17:25:25.0 +0530
+++ new/net/sched/sch_generic.c 2007-05-07 17:39:04.0 +0530
@@ -115,7 +115,7 @@
78 matches
Mail list logo