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.
Signed-off-by: Johannes Berg <[email protected]>
---
include/linux/compat-2.6.27.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/linux/compat-2.6.27.h b/include/linux/compat-2.6.27.h
index 22fadcd..1e2af80 100644
--- a/include/linux/compat-2.6.27.h
+++ b/include/linux/compat-2.6.27.h
@@ -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 */
--
1.7.9.1
On Wed, Apr 11, 2012 at 9:16 PM, Johannes Berg
<[email protected]> wrote:
> On Fri, 2012-04-06 at 19:23 -0700, Luis R. Rodriguez wrote:
>> On Fri, Apr 6, 2012 at 2:00 PM, Johannes Berg <[email protected]> wrote:
>> > 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.
>> >
>> > 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
On Thu, 2012-04-12 at 00:55 -0700, Luis R. Rodriguez wrote:
> On Wed, Apr 11, 2012 at 9:16 PM, Johannes Berg
> <[email protected]> wrote:
> > On Fri, 2012-04-06 at 19:23 -0700, Luis R. Rodriguez wrote:
> >> On Fri, Apr 6, 2012 at 2:00 PM, Johannes Berg <[email protected]> wrote:
> >> > 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.
> >> >
> >> > 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
On Fri, 2012-04-06 at 19:23 -0700, Luis R. Rodriguez wrote:
> On Fri, Apr 6, 2012 at 2:00 PM, Johannes Berg <[email protected]> wrote:
> > 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.
> >
> > 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
On Fri, Apr 6, 2012 at 2:00 PM, Johannes Berg <[email protected]> wrote:
> 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.
>
> Signed-off-by: Johannes Berg <[email protected]>
Applied and pushed, and tested with ckmake, thanks!
Luis