Skip to contentSkip to conversation

: netdev: Move gso_skb into netdev_queue.

PATCH In review David Miller 1 participant 1 message Jul 3, 2008

Subsystems (3)
lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 17/39 : netdev: Move gso_skb into netdev_queue.

---
 include/linux/netdevice.h |    4 +---
 net/sched/sch_generic.c   |   42 +++++++++++++++++++++++-------------------
 2 files changed, 24 insertions(+), 22 deletions(-)
include/linux/netdevice.h +1 -3
index 60f7665..e9e0cd4 100644
@@ -452,6 +452,7 @@ struct netdev_queue {
 	spinlock_t		lock;
 	struct net_device	*dev;
 	struct Qdisc		*qdisc;
+	struct sk_buff		*gso_skb;
 	struct Qdisc		*qdisc_sleeping;
 	struct list_head	qdisc_list;
 	struct netdev_queue	*next_sched;
@@ -635,9 +636,6 @@ struct net_device
 	struct netdev_queue	tx_queue;
 	unsigned long		tx_queue_len;	/* Max frames per queue allowed */
 
-	/* Partially transmitted GSO packet. */
-	struct sk_buff		*gso_skb;
-
 /*
  * One part is mostly used on xmit path (device)
  */
net/sched/sch_generic.c +23 -19

110 lines not on this page · raw message

Signature · 1 line
1.5.6