[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20111216.135402.1422705681678794730.davem@davemloft.net>
Date: Fri, 16 Dec 2011 13:54:02 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: bhutchings@...arflare.com
Cc: linux-net-drivers@...arflare.com, mcarlson@...adcom.com,
eilong@...adcom.com, dm@...lsio.com, sbhatewara@...are.com,
netdev@...r.kernel.org, pv-drivers@...are.com
Subject: Re: [PATCH net-next 3/3] ethtool: Define and apply a default
policy for RX flow hash indirection
From: Ben Hutchings <bhutchings@...arflare.com>
Date: Thu, 15 Dec 2011 23:56:49 +0000
> All drivers that support modification of the RX flow hash indirection
> table initialise it in the same way: RX rings are assigned to table
> entries in rotation. Make that default policy explicit by having them
> call a ethtool_rxfh_indir_default() function.
>
> In the ethtool core, add support for a zero size value for
> ETHTOOL_SRXFHINDIR, which resets the table to this default.
>
> Partly-suggested-by: Matt Carlson <mcarlson@...adcom.com>
> Signed-off-by: Ben Hutchings <bhutchings@...arflare.com>
Applied.
> + * @size: On entry, the array size of the user buffer, which may be zero.
> + * On return from %ETHTOOL_GRXFHINDIR, the array size of the hardware
> + * indirection table.
^^^
Trailing whitespace I had to fixup while applying this, just FYI.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists