netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] macsec: Convert to using IFF_NO_QUEUE
@ 2016-04-22 12:02 Phil Sutter
  2016-04-22 12:17 ` Sabrina Dubroca
  2016-04-25 20:22 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Phil Sutter @ 2016-04-22 12:02 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, Sabrina Dubroca

Signed-off-by: Phil Sutter <phil@nwl.cc>
---
 drivers/net/macsec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/macsec.c b/drivers/net/macsec.c
index 84d3e5ca88171..6caa72402de7d 100644
--- a/drivers/net/macsec.c
+++ b/drivers/net/macsec.c
@@ -2826,7 +2826,7 @@ static void macsec_free_netdev(struct net_device *dev)
 static void macsec_setup(struct net_device *dev)
 {
 	ether_setup(dev);
-	dev->tx_queue_len = 0;
+	dev->priv_flags |= IFF_NO_QUEUE;
 	dev->netdev_ops = &macsec_netdev_ops;
 	dev->destructor = macsec_free_netdev;
 
-- 
2.8.0

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

* Re: [PATCH net-next] macsec: Convert to using IFF_NO_QUEUE
  2016-04-22 12:02 [PATCH net-next] macsec: Convert to using IFF_NO_QUEUE Phil Sutter
@ 2016-04-22 12:17 ` Sabrina Dubroca
  2016-04-25 20:22 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Sabrina Dubroca @ 2016-04-22 12:17 UTC (permalink / raw)
  To: Phil Sutter; +Cc: David Miller, netdev

2016-04-22, 14:02:42 +0200, Phil Sutter wrote:
> Signed-off-by: Phil Sutter <phil@nwl.cc>
[...]

Acked-by: Sabrina Dubroca <sd@queasysnail.net>

-- 
Sabrina

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

* Re: [PATCH net-next] macsec: Convert to using IFF_NO_QUEUE
  2016-04-22 12:02 [PATCH net-next] macsec: Convert to using IFF_NO_QUEUE Phil Sutter
  2016-04-22 12:17 ` Sabrina Dubroca
@ 2016-04-25 20:22 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2016-04-25 20:22 UTC (permalink / raw)
  To: phil; +Cc: netdev, sd

From: Phil Sutter <phil@nwl.cc>
Date: Fri, 22 Apr 2016 14:02:42 +0200

> Signed-off-by: Phil Sutter <phil@nwl.cc>

Applied.

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

end of thread, other threads:[~2016-04-25 20:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-22 12:02 [PATCH net-next] macsec: Convert to using IFF_NO_QUEUE Phil Sutter
2016-04-22 12:17 ` Sabrina Dubroca
2016-04-25 20:22 ` 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).