[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150812.144549.1239580161501384675.davem@davemloft.net>
Date: Wed, 12 Aug 2015 14:45:49 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: andschwa@...rosoft.com
Cc: haiyangz@...rosoft.com, kys@...rosoft.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next 1/2] hv_netvsc: Set vRSS with num_chn in RNDIS
filter
From: Andrew Schwartzmeyer <andschwa@...rosoft.com>
Date: Tue, 11 Aug 2015 17:14:31 -0700
> Uses device_info->num_chn to pass user provided number of vRSS
> queues (from ethtool --set-channels) to rndis_filter_device_add. If
> nonzero and less than the maximum, set net_device->num_chn to the given
> value; else default to prior algorithm.
>
> Always initialize struct device_info to 0, otherwise not all its fields
> are guaranteed to be 0, which is necessary when checking if num_chn has
> been purposefully set.
>
> Signed-off-by: Andrew Schwartzmeyer <andschwa@...rosoft.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists