Skip to contentSkip to conversation

net: make bonding slaves honour master's skb->priority

PATCH In review Maciej Żenczykowski 4 participants 9 messages Oct 25, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: make bonding slaves honour master's skb->priority

From: Maciej Żenczykowski <[email protected]>

Change-Id Ieea6ff9aacacb1eb8c52308c8bfe091acbfc09b2
---
 drivers/net/bonding/bond_main.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/net/bonding/bond_main.c +0 -1
index 41430ba..2cbc2f8 100644
@@ -395,7 +395,6 @@ int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb,
 			struct net_device *slave_dev)
 {
 	skb->dev = slave_dev;
-	skb->priority = 1;
 
 	skb->queue_mapping = bond_queue_mapping(skb);
 
Signature · 1 line
1.7.3.1
#1 lore raw
Quoted 3 lines · Maciej Żenczykowski

From: Maciej Żenczykowski <[email protected]>

Change-Id: Ieea6ff9aacacb1eb8c52308c8bfe091acbfc09b2

The code change itself is ok, but I'm not sure what this
Change-Id is. With a regular log message, this should be fine to apply.

	-J
Quoted 19 lines

---
drivers/net/bonding/bond_main.c | 1 -

1 files changed, 0 insertions(+), 1 deletions(-)
drivers/net/bonding/bond_main.c +0 -1
index 41430ba..2cbc2f8 100644
@@ -395,7 +395,6 @@ int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb,
 			struct net_device *slave_dev)
 {
 	skb->dev = slave_dev;
-	skb->priority = 1;
 
 	skb->queue_mapping = bond_queue_mapping(skb);
 
Signature · 1 line
1.7.3.1

---
-Jay Vosburgh, IBM Linux Technology Center, [email protected]

#3 lore raw

These are Gerrit (code review system) commit headers, normally I drop them, I missed that here (they get added automatically by git hooks). I'll send it again.

Sorry.

- Maciej

#4 lore raw

PATCH 1/1 net: make bonding slaves honour master's skb->priority

In reply to Maciej Żenczykowski

From: Maciej Żenczykowski <[email protected]>

---
 drivers/net/bonding/bond_main.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/net/bonding/bond_main.c +0 -1
index 41430ba..2cbc2f8 100644
@@ -395,7 +395,6 @@ int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb,
 			struct net_device *slave_dev)
 {
 	skb->dev = slave_dev;
-	skb->priority = 1;
 
 	skb->queue_mapping = bond_queue_mapping(skb);
 
Signature · 1 line
1.7.3.1
Acked-by on v1 1/1
#5 lore raw
Quoted 12 lines · On Mon, 24 Oct 2011 22:04:16 -0700 Maciej Żenczykowski…

From: Maciej Żenczykowski <[email protected]>

---
 drivers/net/bonding/bond_main.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
(quoted diff) +0 -0

b/drivers/net/bonding/bond_main.c index 41430ba..2cbc2f8 100644

drivers/net/bonding/bond_main.c int bond_dev_queue_xmit(struct bonding *bond, · line 400

Quoted 7 lines
drivers/net/bonding/bond_main.c +0 -1
@@ -395,7 +395,6 @@ int bond_dev_queue_xmit(struct bonding *bond,
 struct sk_buff *skb, struct net_device *slave_dev)
 {
 	skb->dev = slave_dev;
-	skb->priority = 1;
 
 	skb->queue_mapping = bond_queue_mapping(skb);
 

I tripped on it few times and never understood why we were fixing the priority at this point. thanks,

#6 lore raw
Quoted 3 lines

I tripped on it few times and never understood why we were fixing the priority at this point. thanks,

It looks like ancient code, going all the way back to something like Linux 2.4.14 (if I recall my git blame session correctly). I can't think of a good reason for this...

- Maciej

#7 lore raw
Quoted 7 lines · Maciej Żenczykowski
Quoted 3 lines

I tripped on it few times and never understood why we were fixing the priority at this point. thanks,

It looks like ancient code, going all the way back to something like Linux 2.4.14 (if I recall my git blame session correctly). I can't think of a good reason for this...

I believe this line goes back to the beginning, prior to git or
bk. The skb->priority probably meant something different than it does today.

In any event, I'm fine with the code change. There's still no
actual log message, but if Davem is ok with that I'm ok with it, given the trivial nature of the change.

	-J

---
-Jay Vosburgh, IBM Linux Technology Center, [email protected]

maintainer Applied
#8 lore raw

From: Jay Vosburgh <[email protected]>
Date: Tue, 25 Oct 2011 09:45:35 -0700

Quoted 14 lines
Quoted 7 lines · Maciej Żenczykowski
Quoted 3 lines

I tripped on it few times and never understood why we were fixing the priority at this point. thanks,

It looks like ancient code, going all the way back to something like Linux 2.4.14 (if I recall my git blame session correctly). I can't think of a good reason for this...

I believe this line goes back to the beginning, prior to git or
bk. The skb->priority probably meant something different than it does today.

Quoted 5 lines

In any event, I'm fine with the code change. There's still no
actual log message, but if Davem is ok with that I'm ok with it, given the trivial nature of the change.

Applied, thanks everyone.