From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Hutchings Subject: RE: [RFC PATCH 1/4] net: Add support to netdev ops for changing hardware queue MAC and VLAN filters Date: Tue, 24 Nov 2009 14:18:12 +0000 Message-ID: <1259072292.2940.16.camel@achroite.uk.solarflarecom.com> References: <20091117214923.15119.98918.stgit@localhost.localdomain> <1258573987.2780.20.camel@achroite.uk.solarflarecom.com> <1258586065.2780.31.camel@achroite.uk.solarflarecom.com> <1258642493.2837.8.camel@achroite.uk.solarflarecom.com> <1258657155.2837.10.camel@achroite.uk.solarflarecom.com> <1258982570.2845.8.camel@achroite.uk.solarflarecom.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: "Kirsher, Jeffrey T" , "davem@davemloft.net" , "shemminger@vyatta.com" , "netdev@vger.kernel.org" , "gospo@redhat.com" To: "Williams, Mitch A" Return-path: Received: from exchange.solarflare.com ([216.237.3.220]:53736 "EHLO exchange.solarflare.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933060AbZKXOSO (ORCPT ); Tue, 24 Nov 2009 09:18:14 -0500 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Mon, 2009-11-23 at 12:52 -0700, Williams, Mitch A wrote: > >From: Ben Hutchings [mailto:bhutchings@solarflare.com] > >Sent: Monday, November 23, 2009 5:23 AM > [snip] > > > > >How does this interact with use of multiple queues within a single > >function? Are the specified queue numbers really interpreted as RX > >queue indices or as function numbers? > > > >Ben. > > Yeah, that is ambiguous. Would it be better if we changed the name of the parameter to 'vf' instead of 'queue' to make it explicit? > > This would give us: > $ ip link set eth1 vf 1 mac > > The issue of which VF goes with which PF device can be deduced in userspace via sysfs. > > If we want to make this apply to non SR-IOV queues, then we'll add a new parameter later. > > Works for you? OK, this sounds reasonable. Ben. -- Ben Hutchings, Senior Software Engineer, Solarflare Communications Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked.