Merge branch 'ethtool-rssh-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorDavid S. Miller <davem@davemloft.net>
Tue, 3 Jun 2014 06:07:02 +0000 (23:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Jun 2014 06:07:02 +0000 (23:07 -0700)
commit014b20133bcd442db554c2d2d86181b34cd15b66
tree3402034d4bba5628d21c98258634c58d5bb46bb7
parenta68ab98e6c7ab0955babcdc45ca446886f3bfb25
parentf062a3844845d267e3716cbc188ad502a15898b7
Merge branch 'ethtool-rssh-fixes' of git://git./linux/kernel/git/bwh/net-next

Ben Hutchings says:

====================
Pull request: Fixes for new ethtool RSS commands

This addresses several problems I previously identified with the new
ETHTOOL_{G,S}RSSH commands:

1. Missing validation of reserved parameters
2. Vague documentation
3. Use of unnamed magic number
4. No consolidation with existing driver operations

I don't currently have access to suitable network hardware, but have
tested these changes with a dummy driver that can support various
combinations of operations and sizes, together with (a) Debian's ethtool
3.13 (b) ethtool 3.14 with the submitted patch to use ETHTOOL_{G,S}RSSH
and minor adjustment for fixes 1 and 3.

v2: Update RSS operations in vmxnet3 too
====================

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c
drivers/net/ethernet/broadcom/tg3.c
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_cmds.h
drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c