From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Hutchings Subject: Re: [PATCH net-next-2.6] ethtool: Complete kernel-doc comments for RX flow filter and hash control Date: Tue, 07 Sep 2010 15:46:20 +0100 Message-ID: <1283870780.2270.12.camel@achroite.uk.solarflarecom.com> References: <1283870488.2270.9.camel@achroite.uk.solarflarecom.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Santwona Behera , Peter Waskiewicz , netdev@vger.kernel.org, linux-net-drivers@solarflare.com, Dimitris Michailidis To: David Miller Return-path: Received: from mail.solarflare.com ([216.237.3.220]:41837 "EHLO exchange.solarflare.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756518Ab0IGOqY (ORCPT ); Tue, 7 Sep 2010 10:46:24 -0400 In-Reply-To: <1283870488.2270.9.camel@achroite.uk.solarflarecom.com> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, 2010-09-07 at 15:41 +0100, Ben Hutchings wrote: > There are now several interfaces within the ethtool API for getting > and setting RX flow filtering and hashing behaviour, most of which are > poorly documented. This adds kernel-doc comments for all these > interfaces, based on the existing incomplete comments and on the > initial implementations. > > Signed-off-by: Ben Hutchings > --- > Santwona, Peter, > > Please point out any errors and any information that should be added to > the comments to explain the significant differences between the RXNFC > and RXNTUPLE interfaces. [...] > +/** > + * struct ethtool_rx_ntuple - command to get or set RX flow filter > + * @cmd: Specific command number - %ETHTOOL_GRXNTUPLE or %ETHTOOL_SRXNTUPLE Of course this is wrong - ETHTOOL_GRXNTUPLE uses struct ethtool_gstrings instead. Ben. > + * @fs: Flow filter specification > + */ > struct ethtool_rx_ntuple { > __u32 cmd; > struct ethtool_rx_ntuple_flow_spec fs; -- 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.