netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 RESEND 0/9] net: Unified offload configuration
@ 2011-02-13 11:11 Michał Mirosław
  2011-02-13 11:11 ` [PATCH v5 RESEND 1/9] ethtool: move EXPORT_SYMBOL(ethtool_op_set_tx_csum) to correct place Michał Mirosław
                   ` (8 more replies)
  0 siblings, 9 replies; 18+ messages in thread
From: Michał Mirosław @ 2011-02-13 11:11 UTC (permalink / raw)
  To: netdev; +Cc: Ben Hutchings, David Miller

Here's a v5 of the ethtool unification patch series.

What's in it?
 1..4:
	cleanups for the core patches
 5:
	the patch - implement unified ethtool setting ops
 6..7:
	implement interoperation between old and new ethtool ops
 8:
	include RX checksum in features and plug it into new framework
 9:
	convert loopback device to new framework

What is it good for?
 - unifies driver behaviour wrt hardware offloads
 - removes a lot of boilerplate code from drivers
 - allows better fine-grained control over used offloads

This version is not tested in any way, yet. I hope I've split all cleanups
from the core patches now.

Best Regards,
Michał Mirosław

[This is a resend because of broken headers in previous submission. Sorry
for the delay - I got disconnected from my dev machine for a while.]

v1: http://marc.info/?l=linux-netdev&m=129245188832643&w=3

Changes from v4:
 - more split cleanups
 - fix error return for ETHTOOL_SFLAGS
 - fix ETHTOOL_G* compatibility for not converted drivers

Changes from v3:
 - fixed kernel-doc and other comments
 - added HIGHDMA to never-changeable features
 - changed GFEATURES .size interpretation
 - changed feature strings
 - change __ethtool_set_flags() to reject invalid changes

Changes from v2:
 - rebase to net-next after merging v2 leading patches
 - fix missing comma in feature name table
 - force NETIF_F_SOFT_FEATURES in hw_features for simpler code
   (fixes a bug that disallowed changing GSO and GRO state)

Changes from v1:
 - split structures for GFEATURES/SFEATURES
 - naming of feature bits using GSTRINGS ETH_SS_FEATURES
 - strict checking of bits used in SFEATURES call
 - more comments and kernel-doc
 - rebased to net-next after 2.6.37


Michał Mirosław (9):
  ethtool: move EXPORT_SYMBOL(ethtool_op_set_tx_csum) to correct place
  ethtool: enable GSO and GRO by default
  ethtool: factorize ethtool_get_strings() and ethtool_get_sset_count()
  ethtool: factorize get/set_one_feature
  net: Introduce new feature setting ops
  net: ethtool: use ndo_fix_features for offload setting
  net: use ndo_fix_features for ethtool_ops->set_flags
  net: introduce NETIF_F_RXCSUM
  loopback: convert to hw_features

 drivers/net/loopback.c    |    9 +-
 include/linux/ethtool.h   |   86 ++++++++-
 include/linux/netdevice.h |   48 ++++-
 net/core/dev.c            |   49 ++++-
 net/core/ethtool.c        |  527 +++++++++++++++++++++++++++++---------------
 5 files changed, 526 insertions(+), 193 deletions(-)

-- 
1.7.2.3


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2011-02-16  2:50 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-13 11:11 [PATCH v5 RESEND 0/9] net: Unified offload configuration Michał Mirosław
2011-02-13 11:11 ` [PATCH v5 RESEND 1/9] ethtool: move EXPORT_SYMBOL(ethtool_op_set_tx_csum) to correct place Michał Mirosław
2011-02-13 11:11 ` [PATCH v5 RESEND 5/9] net: Introduce new feature setting ops Michał Mirosław
2011-02-16  2:43   ` [PATCH v6 " Michał Mirosław
2011-02-13 11:11 ` [PATCH v5 RESEND 6/9] net: ethtool: use ndo_fix_features for offload setting Michał Mirosław
2011-02-13 11:11 ` [PATCH v5 RESEND 4/9] ethtool: factorize get/set_one_feature Michał Mirosław
2011-02-13 11:11 ` [PATCH v5 RESEND 2/9] ethtool: enable GSO and GRO by default Michał Mirosław
2011-02-13 18:50   ` David Miller
2011-02-15 21:46     ` Michał Mirosław
2011-02-15 22:00       ` David Miller
2011-02-16  2:42         ` Michał Mirosław
2011-02-16  2:43           ` [PATCH v6 " Michał Mirosław
2011-02-16  2:48             ` David Miller
2011-02-16  2:50               ` Michał Mirosław
2011-02-13 11:11 ` [PATCH v5 RESEND 3/9] ethtool: factorize ethtool_get_strings() and ethtool_get_sset_count() Michał Mirosław
2011-02-13 11:11 ` [PATCH v5 RESEND 8/9] net: introduce NETIF_F_RXCSUM Michał Mirosław
2011-02-13 11:11 ` [PATCH v5 RESEND 7/9] net: use ndo_fix_features for ethtool_ops->set_flags Michał Mirosław
2011-02-13 11:11 ` [PATCH v5 RESEND 9/9] loopback: convert to hw_features Michał Mirosław

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).