ethtool: Add direct access to ops->get_sset_count
authorJeff Garzik <jgarzik@redhat.com>
Wed, 3 Mar 2010 22:51:50 +0000 (22:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Mar 2010 22:00:17 +0000 (14:00 -0800)
commit723b2f57ad83ee7087acf9a95e8e289414b1f521
treee8120bff2899245d2c84905b1368a128bf881268
parent4b79a1aedcb9dd6e3f27b970dcb553aefcd97254
ethtool: Add direct access to ops->get_sset_count

This patch is an alternative approach for accessing string
counts, vs. the drvinfo indirect approach.  This way the drvinfo
space doesn't run out, and we don't break ABI later.

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
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