Messages in this thread | | | Date | Sun, 16 Sep 2007 03:39:12 -0400 | From | Jeff Garzik <> | Subject | Re: [PATCH] jumbo all-NICs ethtool count cleanup |
| |
Sam Ravnborg wrote: > Hi Jeff. > > You wrote: >> The hooks ->self_test_count() and ->get_stats_count() are now unused >> in the main tree. > > So I'm suprised to see more lines added than deleted: >> 35 files changed, 346 insertions(+), 246 deletions(-) > > Puzzled - may need a bit more coffee (morning here)..
The new interface that supercedes these is ->get_sset_count(), which was added to provide additional functionality without having to add a new hook each time we want to return a new integer value. This new interface also (intentionally) aligns with the existing ->get_strings() interface. ("sset" in get_sset_count stands for "string set")
Jeff
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |