* [patch net-next] rtnl: do not include num_rx_queues into msg when CONFIG_RPS is not set
@ 2012-07-22 7:26 Jiri Pirko
2012-07-22 19:27 ` David Miller
0 siblings, 1 reply; 3+ messages in thread
From: Jiri Pirko @ 2012-07-22 7:26 UTC (permalink / raw)
To: netdev; +Cc: davem, sfr
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
---
net/core/rtnetlink.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/net/core/rtnetlink.c b/net/core/rtnetlink.c
index 5bb1ebc..334b930 100644
--- a/net/core/rtnetlink.c
+++ b/net/core/rtnetlink.c
@@ -892,7 +892,9 @@ static int rtnl_fill_ifinfo(struct sk_buff *skb, struct net_device *dev,
nla_put_u32(skb, IFLA_GROUP, dev->group) ||
nla_put_u32(skb, IFLA_PROMISCUITY, dev->promiscuity) ||
nla_put_u32(skb, IFLA_NUM_TX_QUEUES, dev->num_tx_queues) ||
+#ifdef CONFIG_RPS
nla_put_u32(skb, IFLA_NUM_RX_QUEUES, dev->num_rx_queues) ||
+#endif
(dev->ifindex != dev->iflink &&
nla_put_u32(skb, IFLA_LINK, dev->iflink)) ||
(dev->master &&
--
1.7.10.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [patch net-next] rtnl: do not include num_rx_queues into msg when CONFIG_RPS is not set
2012-07-22 7:26 [patch net-next] rtnl: do not include num_rx_queues into msg when CONFIG_RPS is not set Jiri Pirko
@ 2012-07-22 19:27 ` David Miller
2012-07-23 11:03 ` Jiri Pirko
0 siblings, 1 reply; 3+ messages in thread
From: David Miller @ 2012-07-22 19:27 UTC (permalink / raw)
To: jiri; +Cc: netdev, sfr
From: Jiri Pirko <jiri@resnulli.us>
Date: Sun, 22 Jul 2012 09:26:42 +0200
> Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Jiri, I've been patiently waiting for you to ACK Mark A. Greear's
patch fixing this bug, did you not see it at all?
http://patchwork.ozlabs.org/patch/172393/
I'm just going to apply it since you're not watching for fixes
for code you've changed.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [patch net-next] rtnl: do not include num_rx_queues into msg when CONFIG_RPS is not set
2012-07-22 19:27 ` David Miller
@ 2012-07-23 11:03 ` Jiri Pirko
0 siblings, 0 replies; 3+ messages in thread
From: Jiri Pirko @ 2012-07-23 11:03 UTC (permalink / raw)
To: David Miller; +Cc: netdev, sfr
Sun, Jul 22, 2012 at 09:27:46PM CEST, davem@davemloft.net wrote:
>From: Jiri Pirko <jiri@resnulli.us>
>Date: Sun, 22 Jul 2012 09:26:42 +0200
>
>> Signed-off-by: Jiri Pirko <jiri@resnulli.us>
>
>Jiri, I've been patiently waiting for you to ACK Mark A. Greear's
>patch fixing this bug, did you not see it at all?
Oh I missed that. That email somehow skipped my inbox and went only to
ml folder...
>
>http://patchwork.ozlabs.org/patch/172393/
>
>I'm just going to apply it since you're not watching for fixes
>for code you've changed.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-07-23 11:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-22 7:26 [patch net-next] rtnl: do not include num_rx_queues into msg when CONFIG_RPS is not set Jiri Pirko
2012-07-22 19:27 ` David Miller
2012-07-23 11:03 ` Jiri Pirko
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).