]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ethtool: Clarify use of size field for ETHTOOL_GRXFHINDIR
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 15 Dec 2011 13:51:16 +0000 (13:51 +0000)
committerJoe Jin <joe.jin@oracle.com>
Tue, 28 Aug 2012 07:21:28 +0000 (15:21 +0800)
commitf1d8afeebc3694ebc9b7b141591c63940fc3abc4
tree8629e522a64908bf1d377413dce7f8baa8456afa
parente5f54314bdfa55fedf96a934f62d4b8bafb3c0b1
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.

(cherry picked from commit 14596f7006297b67516e2b6a2b26bcb11fe08fb3)
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
include/linux/ethtool.h