From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752000AbbHLVp7 (ORCPT ); Wed, 12 Aug 2015 17:45:59 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:60237 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751915AbbHLVp5 (ORCPT ); Wed, 12 Aug 2015 17:45:57 -0400 Date: Wed, 12 Aug 2015 14:45:56 -0700 (PDT) Message-Id: <20150812.144556.430563471959505989.davem@davemloft.net> To: andschwa@microsoft.com Cc: haiyangz@microsoft.com, kys@microsoft.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 2/2] hv_netvsc: Implement set_channels ethtool op From: David Miller In-Reply-To: <1439338472-21361-2-git-send-email-andschwa@microsoft.com> References: <1439338472-21361-1-git-send-email-andschwa@microsoft.com> <1439338472-21361-2-git-send-email-andschwa@microsoft.com> X-Mailer: Mew version 6.6 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 12 Aug 2015 14:45:57 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andrew Schwartzmeyer Date: Tue, 11 Aug 2015 17:14:32 -0700 > This enables the use of ethtool --set-channels devname combined N to > change the number of vRSS queues. Separate rx, tx, and other parameters > are not supported. The maximum is rsscap.num_recv_que. It passes the > given value to rndis_filter_device_add through the device_info->num_chn > field. > > If the procedure fails, it attempts to recover to the prior state. If > the recovery fails, it logs an error and aborts. > > Current num_chn is saved and restored when changing the MTU. > > Signed-off-by: Andrew Schwartzmeyer Applied.