Thread (7 messages) 7 messages, 2 authors, 2014-07-11

Re: [PATCH v8 1/4] net: add name_assign_type netdev attribute

From: David Miller <davem@davemloft.net>
Date: 2014-07-11 19:23:06
Also in: lkml

From: Tom Gundersen <redacted>
Date: Thu, 10 Jul 2014 23:01:03 +0200
quoted hunk ↗ jump to hunk
diff --git a/net/core/dev.c b/net/core/dev.c
index 30eedf6..392c784 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -6438,11 +6438,12 @@ void netdev_freemem(struct net_device *dev)
 
 /**
  *	alloc_netdev_mqs - allocate network device
- *	@sizeof_priv:	size of private data to allocate space for
- *	@name:		device name format string
- *	@setup:		callback to initialize device
- *	@txqs:		the number of TX subqueues to allocate
- *	@rxqs:		the number of RX subqueues to allocate
+ *	@sizeof_priv:		size of private data to allocate space for
+ *	@name:			device name format string
+ *	@name_assign_type: 	origin of device name
+ *	@setup:			callback to initialize device
+ *	@txqs:			the number of TX subqueues to allocate
+ *	@rxqs:			the number of RX subqueues to allocate
  *
  *	Allocates a struct net_device with private data area for driver use
  *	and performs basic initialization.  Also allocates subqueue structs
This belongs in patch #3, where you actually change the arguments to
this interface, not here.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help