lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1287000177-7126-1-git-send-email-jesse@nicira.com>
Date:	Wed, 13 Oct 2010 13:02:50 -0700
From:	Jesse Gross <jesse@...ira.com>
To:	davem@...emloft.net
Cc:	netdev@...r.kernel.org
Subject: [RFC PATCH 0/7] Move vlan acceleration into networking core.

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

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ