compat: backport netif_wake_subqueue
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
@@ -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
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_subqueuenetif_start_subqueue. So to backport, just add a define.Signed-off-by Johannes Berg <[email protected]>
Applied and pushed, and tested with ckmake, thanks!
Luis
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_subqueuenetif_start_subqueue. So to backport, just add a define.Signed-off-by Johannes Berg <[email protected]>Applied and pushed, and tested with ckmake, thanks!
I don't see this, did you move the repository off infradead?
johannes
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_subqueuenetif_start_subqueue. So to backport, just add a define.
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Johannes Berg <[email protected]>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
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_subqueuenetif_start_subqueue. So to backport, just add a define.
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Johannes Berg <[email protected]>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