All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] compat: backport netif_wake_subqueue
@ 2012-04-06 21:00 Johannes Berg
  2012-04-07  2:23 ` Luis R. Rodriguez
  0 siblings, 1 reply; 5+ messages in thread
From: Johannes Berg @ 2012-04-06 21:00 UTC (permalink / raw)
  To: Luis R. Rodriguez; +Cc: linux-wireless, lf_driver_backport

From: Johannes Berg <johannes.berg@intel.com>

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 <johannes.berg@intel.com>
---
 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




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] compat: backport netif_wake_subqueue
  2012-04-06 21:00 [PATCH] compat: backport netif_wake_subqueue Johannes Berg
@ 2012-04-07  2:23 ` Luis R. Rodriguez
  2012-04-12  4:16   ` Johannes Berg
  0 siblings, 1 reply; 5+ messages in thread
From: Luis R. Rodriguez @ 2012-04-07  2:23 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linux-wireless, lf_driver_backport

On Fri, Apr 6, 2012 at 2:00 PM, Johannes Berg <johannes@sipsolutions.net> wrote:
> From: Johannes Berg <johannes.berg@intel.com>
>
> 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 <johannes.berg@intel.com>

Applied and pushed, and tested with ckmake, thanks!

  Luis

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] compat: backport netif_wake_subqueue
  2012-04-07  2:23 ` Luis R. Rodriguez
@ 2012-04-12  4:16   ` Johannes Berg
  2012-04-12  7:55     ` Luis R. Rodriguez
  0 siblings, 1 reply; 5+ messages in thread
From: Johannes Berg @ 2012-04-12  4:16 UTC (permalink / raw)
  To: Luis R. Rodriguez; +Cc: linux-wireless, lf_driver_backport

On Fri, 2012-04-06 at 19:23 -0700, Luis R. Rodriguez wrote:
> On Fri, Apr 6, 2012 at 2:00 PM, Johannes Berg <johannes@sipsolutions.net> wrote:
> > From: Johannes Berg <johannes.berg@intel.com>
> >
> > 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 <johannes.berg@intel.com>
> 
> Applied and pushed, and tested with ckmake, thanks!

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

johannes


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] compat: backport netif_wake_subqueue
  2012-04-12  4:16   ` Johannes Berg
@ 2012-04-12  7:55     ` Luis R. Rodriguez
  2012-04-12 13:07       ` Johannes Berg
  0 siblings, 1 reply; 5+ messages in thread
From: Luis R. Rodriguez @ 2012-04-12  7:55 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linux-wireless, lf_driver_backport

On Wed, Apr 11, 2012 at 9:16 PM, Johannes Berg
<johannes@sipsolutions.net> 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 <johannes@sipsolutions.net> wrote:
>> > From: Johannes Berg <johannes.berg@intel.com>
>> >
>> > 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 <johannes.berg@intel.com>
>>
>> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] compat: backport netif_wake_subqueue
  2012-04-12  7:55     ` Luis R. Rodriguez
@ 2012-04-12 13:07       ` Johannes Berg
  0 siblings, 0 replies; 5+ messages in thread
From: Johannes Berg @ 2012-04-12 13:07 UTC (permalink / raw)
  To: Luis R. Rodriguez; +Cc: linux-wireless, lf_driver_backport

On Thu, 2012-04-12 at 00:55 -0700, Luis R. Rodriguez wrote:
> On Wed, Apr 11, 2012 at 9:16 PM, Johannes Berg
> <johannes@sipsolutions.net> 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 <johannes@sipsolutions.net> wrote:
> >> > From: Johannes Berg <johannes.berg@intel.com>
> >> >
> >> > 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 <johannes.berg@intel.com>
> >>
> >> 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-04-12 13:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-06 21:00 [PATCH] compat: backport netif_wake_subqueue Johannes Berg
2012-04-07  2:23 ` Luis R. Rodriguez
2012-04-12  4:16   ` Johannes Berg
2012-04-12  7:55     ` Luis R. Rodriguez
2012-04-12 13:07       ` Johannes Berg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.