ethtool: Add n-tuple string length to drvinfo and return it
authorPeter Waskiewicz <peter.p.waskiewicz.jr@intel.com>
Fri, 26 Feb 2010 01:54:20 +0000 (01:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Feb 2010 12:18:43 +0000 (04:18 -0800)
commitc79c5ffdce14abb4de3878c5aa8c3c6e5093c69b
treeecbad9995e46991937010622c183e7e33308187a
parentc43491d73ea04277c92a4aa1a7e63ccab4577756
ethtool: Add n-tuple string length to drvinfo and return it

The drvinfo struct should include the number of strings that
get_rx_ntuple will return.  It will be variable if an underlying
driver implements its own get_rx_ntuple routine, so userspace
needs to know how much data is coming.

Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ethtool.h
net/core/ethtool.c