* [PATCH] net: Export __netdev_pick_tx so that it can be used in modules
@ 2013-01-11 18:38 Alexander Duyck
2013-01-11 19:02 ` John Fastabend
2013-01-11 23:47 ` David Miller
0 siblings, 2 replies; 5+ messages in thread
From: Alexander Duyck @ 2013-01-11 18:38 UTC (permalink / raw)
To: netdev; +Cc: davem
When testing with FCoE enabled we discovered that I had not exported
__netdev_pick_tx. As a result ixgbe doesn't build with the RFC patches
applied because ixgbe_select_queue was calling the function. This change
corrects that build issue by correctly exporting __netdev_pick_tx so it
can be used by modules.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
---
net/core/dev.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/net/core/dev.c b/net/core/dev.c
index 95de4c0..d1e8116 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -2746,6 +2746,7 @@ u16 __netdev_pick_tx(struct net_device *dev, struct sk_buff *skb)
return queue_index;
}
+EXPORT_SYMBOL(__netdev_pick_tx);
struct netdev_queue *netdev_pick_tx(struct net_device *dev,
struct sk_buff *skb)
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] net: Export __netdev_pick_tx so that it can be used in modules
2013-01-11 18:38 [PATCH] net: Export __netdev_pick_tx so that it can be used in modules Alexander Duyck
@ 2013-01-11 19:02 ` John Fastabend
2013-01-11 22:20 ` Alexander Duyck
2013-01-11 23:47 ` David Miller
1 sibling, 1 reply; 5+ messages in thread
From: John Fastabend @ 2013-01-11 19:02 UTC (permalink / raw)
To: Alexander Duyck; +Cc: netdev, davem
On 1/11/2013 10:38 AM, Alexander Duyck wrote:
> When testing with FCoE enabled we discovered that I had not exported
> __netdev_pick_tx. As a result ixgbe doesn't build with the RFC patches
> applied because ixgbe_select_queue was calling the function. This change
> corrects that build issue by correctly exporting __netdev_pick_tx so it
> can be used by modules.
>
> Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
> ---
Hi Alex,
If we get XPS to play nicely with the traffic class schemes we
can just remove select_queue completely.
I'll take a look tomorrow.
Thanks,
John
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] net: Export __netdev_pick_tx so that it can be used in modules
2013-01-11 19:02 ` John Fastabend
@ 2013-01-11 22:20 ` Alexander Duyck
2013-01-13 17:27 ` John Fastabend
0 siblings, 1 reply; 5+ messages in thread
From: Alexander Duyck @ 2013-01-11 22:20 UTC (permalink / raw)
To: John Fastabend; +Cc: netdev, davem
On 01/11/2013 11:02 AM, John Fastabend wrote:
> On 1/11/2013 10:38 AM, Alexander Duyck wrote:
>> When testing with FCoE enabled we discovered that I had not exported
>> __netdev_pick_tx. As a result ixgbe doesn't build with the RFC patches
>> applied because ixgbe_select_queue was calling the function. This change
>> corrects that build issue by correctly exporting __netdev_pick_tx so it
>> can be used by modules.
>>
>> Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
>> ---
>
> Hi Alex,
>
> If we get XPS to play nicely with the traffic class schemes we
> can just remove select_queue completely.
>
> I'll take a look tomorrow.
>
> Thanks,
> John
Hi John,
It would be great if we could drop it entirely.
I just to make sure we are on the same page. What you are saying is
that we could do that in addition to this patch correct? I'm pretty
sure we will still need this patch in order to make this interface
available for any other drivers that would want to make use of transmit
packet steering instead of just the Tx hash.
Thanks,
Alex
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] net: Export __netdev_pick_tx so that it can be used in modules
2013-01-11 18:38 [PATCH] net: Export __netdev_pick_tx so that it can be used in modules Alexander Duyck
2013-01-11 19:02 ` John Fastabend
@ 2013-01-11 23:47 ` David Miller
1 sibling, 0 replies; 5+ messages in thread
From: David Miller @ 2013-01-11 23:47 UTC (permalink / raw)
To: alexander.h.duyck; +Cc: netdev
From: Alexander Duyck <alexander.h.duyck@intel.com>
Date: Fri, 11 Jan 2013 10:38:42 -0800
> When testing with FCoE enabled we discovered that I had not exported
> __netdev_pick_tx. As a result ixgbe doesn't build with the RFC patches
> applied because ixgbe_select_queue was calling the function. This change
> corrects that build issue by correctly exporting __netdev_pick_tx so it
> can be used by modules.
>
> Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Applied.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] net: Export __netdev_pick_tx so that it can be used in modules
2013-01-11 22:20 ` Alexander Duyck
@ 2013-01-13 17:27 ` John Fastabend
0 siblings, 0 replies; 5+ messages in thread
From: John Fastabend @ 2013-01-13 17:27 UTC (permalink / raw)
To: Alexander Duyck; +Cc: netdev, davem
On 1/11/2013 2:20 PM, Alexander Duyck wrote:
> On 01/11/2013 11:02 AM, John Fastabend wrote:
>> On 1/11/2013 10:38 AM, Alexander Duyck wrote:
>>> When testing with FCoE enabled we discovered that I had not exported
>>> __netdev_pick_tx. As a result ixgbe doesn't build with the RFC patches
>>> applied because ixgbe_select_queue was calling the function. This change
>>> corrects that build issue by correctly exporting __netdev_pick_tx so it
>>> can be used by modules.
>>>
>>> Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
>>> ---
>>
>> Hi Alex,
>>
>> If we get XPS to play nicely with the traffic class schemes we
>> can just remove select_queue completely.
>>
>> I'll take a look tomorrow.
>>
>> Thanks,
>> John
>
> Hi John,
>
> It would be great if we could drop it entirely.
>
> I just to make sure we are on the same page. What you are saying is
> that we could do that in addition to this patch correct? I'm pretty
Yes correct an additional patch on top of your work. This patch series
just got me thinking about it again.
.John
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-01-13 17:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-11 18:38 [PATCH] net: Export __netdev_pick_tx so that it can be used in modules Alexander Duyck
2013-01-11 19:02 ` John Fastabend
2013-01-11 22:20 ` Alexander Duyck
2013-01-13 17:27 ` John Fastabend
2013-01-11 23:47 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).