ethtool: Clarify use of size field for ETHTOOL_GRXFHINDIR
commit14596f7006297b67516e2b6a2b26bcb11fe08fb3
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 15 Dec 2011 13:51:16 +0000 (15 13:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Dec 2011 18:52:47 +0000 (16 13:52 -0500)
tree02356cc1106bba9a80cd5664e60313a27992863f
parent5d531aaa64a06622874f06e5068b8eefca048feb
ethtool: Clarify use of size field for ETHTOOL_GRXFHINDIR

In order to find out the device's RX flow hash table size, ethtool
initially uses ETHTOOL_GRXFHINDIR with a buffer size of zero.  This
must be supported, but it is not necessary to support any other user
buffer size less than the device table size.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ethtool.h