Skip to contentSkip to conversation

compat: backport netif_wake_subqueue

PATCH In review Johannes Berg 2 participants 5 messages Apr 6, 2012 – Apr 12, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 compat: backport netif_wake_subqueue

From: Johannes Berg <[email protected]>

Kernels 2.6.23 - 2.6.27 had some multiqueue support, but called netif_wake_subqueue netif_start_subqueue. So to backport, just add a define.

---
 include/linux/compat-2.6.27.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
include/linux/compat-2.6.27.h +2 -0
index 22fadcd..1e2af80 100644
@@ -256,6 +256,8 @@ static inline __u32 ethtool_cmd_speed(const struct ethtool_cmd *ep)
  */
 #define lower_32_bits(n) ((u32)(n))
 
+#define netif_wake_subqueue netif_start_subqueue
+
 #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27)) */
 
 #endif /* LINUX_26_27_COMPAT_H */
Signature · 1 line
1.7.9.1
#2 lore raw
Quoted 10 lines · Luis R. Rodriguez
Quoted 7 lines · Johannes Berg

From: Johannes Berg <[email protected]>

Kernels 2.6.23 - 2.6.27 had some multiqueue support, but called netif_wake_subqueue netif_start_subqueue. So to backport, just add a define.

Applied and pushed, and tested with ckmake, thanks!

I don't see this, did you move the repository off infradead?

johannes

#3 lore raw
Quoted 8 lines · Johannes Berg
Quoted 7 lines · Luis R. Rodriguez
Quoted 6 lines · Johannes Berg

From: Johannes Berg <[email protected]>

Kernels 2.6.23 - 2.6.27 had some multiqueue support, but called netif_wake_subqueue netif_start_subqueue. So to backport, just add a define.

Quoted 5 lines
Quoted 3 lines
Quoted 1 line

Applied and pushed, and tested with ckmake, thanks!

I don't see this, did you move the repository off infradead?

Sorry, I forgot to push to infra, the most reliable tree is on github. I use infra as backup.

Luis

#4 lore raw
Quoted 10 lines · Luis R. Rodriguez
Quoted 8 lines · Johannes Berg
Quoted 7 lines · Luis R. Rodriguez
Quoted 6 lines · Johannes Berg

From: Johannes Berg <[email protected]>

Kernels 2.6.23 - 2.6.27 had some multiqueue support, but called netif_wake_subqueue netif_start_subqueue. So to backport, just add a define.

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

Applied and pushed, and tested with ckmake, thanks!

I don't see this, did you move the repository off infradead?

Sorry, I forgot to push to infra, the most reliable tree is on github. I use infra as backup.

Oh ok, I'll switch to github. Thanks.

johannes