Thread (1 message) 1 message, 1 author, 2009-10-05

Re: [PATCH 3/4] net: Convert ethtool {get_stats,self_test}_count() ops to get_sset_count()

From: David Miller <davem@davemloft.net>
Date: 2009-10-05 07:12:56

From: "Eilon Greenstein" <redacted>
Date: Sun, 4 Oct 2009 17:07:21 +0200
On Thu, 2009-10-01 at 14:32 -0700, Ben Hutchings wrote:
quoted
These string query operations were supposed to be replaced by the
generic get_sset_count() starting in 2007.  Convert the remaining
implementations.

Also remove calls to these operations to initialise drvinfo->n_stats.
The ethtool core code already does that.

Signed-off-by: Ben Hutchings <redacted>
---
 drivers/infiniband/hw/nes/nes_nic.c |   12 ++++---
 drivers/net/benet/be_ethtool.c      |   11 +++++--
 drivers/net/bnx2x_main.c            |   60 ++++++++++++++++++-----------------
 drivers/net/ibm_newemac/core.c      |   10 +++--
 drivers/net/igbvf/ethtool.c         |   25 +++++++-------
 drivers/net/niu.c                   |    7 +++-
 6 files changed, 70 insertions(+), 55 deletions(-)
Thanks Ben, bnx2x tested and works just fine with this patch.
Acked-by: Eilon Greenstein <redacted>
Applied to net-next-2.6
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help