lkml.org 
[lkml]   [2014]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v8 1/4] net: add name_assign_type netdev attribute
From
From: Tom Gundersen <teg@jklm.no>
Date: Thu, 10 Jul 2014 23:01:03 +0200

> 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.


\
 
 \ /
  Last update: 2014-07-11 22:01    [W:0.049 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site