netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/7] Move vlan acceleration into networking core.
@ 2010-10-13 20:02 Jesse Gross
  2010-10-13 20:02 ` [RFC PATCH 1/7] ebtables: Allow filtering of hardware accelerated vlan frames Jesse Gross
                   ` (7 more replies)
  0 siblings, 8 replies; 15+ messages in thread
From: Jesse Gross @ 2010-10-13 20:02 UTC (permalink / raw)
  To: davem; +Cc: netdev

Hardware vlan acceleration behaves fairly differently from other types of
offloading, which limits its usefulness.  This patch series aims to bring
it more in line with other common forms of acceleration, such as checksum
offloading and TSO.  In doing this it eliminates common driver bugs, increases
flexibility, and improves performance, while reducing the number of lines of
code.

The first four patches can be applied immediately, while the last three need
to wait until all drivers that support vlan acceleration are updated.  If
people agree that this patch set makes sense I will go ahead and switch over
the dozen or so drivers that would need to change.

Jesse Gross (7):
  ebtables: Allow filtering of hardware accelerated vlan frames.
  vlan: Centralize handling of hardware acceleration.
  bnx2: Update bnx2 to use new vlan accleration.
  ixgbe: Update ixgbe to use new vlan accleration.
  lro: Remove explicit vlan support.
  bonding: Update bonding for new vlan model.
  vlan: Remove accleration legacy functions.

 drivers/net/bnx2.c              |   75 ++--------------------
 drivers/net/bnx2.h              |    4 -
 drivers/net/bonding/bond_alb.c  |    8 +--
 drivers/net/bonding/bond_ipv6.c |    5 +-
 drivers/net/bonding/bond_main.c |  134 ++++++++-------------------------------
 drivers/net/bonding/bonding.h   |    1 -
 drivers/net/ixgbe/ixgbe.h       |    4 +-
 drivers/net/ixgbe/ixgbe_main.c  |   60 +++++-------------
 include/linux/if_vlan.h         |   87 ++++++++------------------
 include/linux/inet_lro.h        |   20 ------
 include/linux/netdevice.h       |   20 +++---
 net/8021q/vlan.c                |  100 +++++++-----------------------
 net/8021q/vlan.h                |   17 -----
 net/8021q/vlan_core.c           |  132 ++++++--------------------------------
 net/8021q/vlan_dev.c            |    2 +-
 net/bridge/br_netfilter.c       |   16 +++--
 net/bridge/netfilter/ebt_vlan.c |   42 +++++++-----
 net/bridge/netfilter/ebtables.c |   15 +++-
 net/core/dev.c                  |   42 +++++++++++--
 net/ipv4/inet_lro.c             |   74 +++------------------
 20 files changed, 225 insertions(+), 633 deletions(-)


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

end of thread, other threads:[~2010-10-19  9:50 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-13 20:02 [RFC PATCH 0/7] Move vlan acceleration into networking core Jesse Gross
2010-10-13 20:02 ` [RFC PATCH 1/7] ebtables: Allow filtering of hardware accelerated vlan frames Jesse Gross
2010-10-18 19:58   ` Ben Hutchings
2010-10-19  3:14     ` Jesse Gross
2010-10-13 20:02 ` [RFC PATCH 2/7] vlan: Centralize handling of hardware acceleration Jesse Gross
2010-10-13 21:12   ` Eric Dumazet
2010-10-14 22:23     ` Jesse Gross
2010-10-13 20:02 ` [RFC PATCH 3/7] bnx2: Update bnx2 to use new vlan accleration Jesse Gross
2010-10-14 22:56   ` Michael Chan
2010-10-15  1:36     ` Jesse Gross
2010-10-13 20:02 ` [RFC PATCH 4/7] ixgbe: Update ixgbe " Jesse Gross
2010-10-13 20:02 ` [RFC PATCH 5/7] lro: Remove explicit vlan support Jesse Gross
2010-10-13 20:02 ` [RFC PATCH 6/7] bonding: Update bonding for new vlan model Jesse Gross
2010-10-13 20:02 ` [RFC PATCH 7/7] vlan: Remove accleration legacy functions Jesse Gross
2010-10-19  9:50 ` [RFC PATCH 0/7] Move vlan acceleration into networking core David Miller

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).