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]
Date:   Mon,  9 Jul 2018 15:20:35 -0700
From:   Jeff Kirsher <jeffrey.t.kirsher@...el.com>
To:     davem@...emloft.net
Cc:     Jeff Kirsher <jeffrey.t.kirsher@...el.com>, netdev@...r.kernel.org,
        nhorman@...hat.com, sassmann@...hat.com, jogreene@...hat.com
Subject: [net-next 0/7][pull request] L2 Fwd Offload & 10GbE Intel Driver Updates 2018-07-09

This patch series is meant to allow support for the L2 forward offload, aka
MACVLAN offload without the need for using ndo_select_queue.

The existing solution currently requires that we use ndo_select_queue in
the transmit path if we want to associate specific Tx queues with a given
MACVLAN interface. In order to get away from this we need to repurpose the
tc_to_txq array and XPS pointer for the MACVLAN interface and use those as
a means of accessing the queues on the lower device. As a result we cannot
offload a device that is configured as multiqueue, however it doesn't
really make sense to configure a macvlan interfaced as being multiqueue
anyway since it doesn't really have a qdisc of its own in the first place.

The big changes in this set are:
  Allow lower device to update tc_to_txq and XPS map of offloaded MACVLAN
  Disable XPS for single queue devices
  Replace accel_priv with sb_dev in ndo_select_queue
  Add sb_dev parameter to fallback function for ndo_select_queue
  Consolidated ndo_select_queue functions that appeared to be duplicates

The following are changes since commit c47078d6a33fd78d882200cdaacbcfcd63318234:
  tcp: remove redundant SOCK_DONE checks
and are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue 10GbE

Alexander Duyck (7):
  net-sysfs: Drop support for XPS and traffic_class on single queue
    device
  net: Add support for subordinate device traffic classes
  ixgbe: Add code to populate and use macvlan TC to Tx queue map
  net: Add support for subordinate traffic classes to netdev_pick_tx
  net: Add generic ndo_select_queue functions
  net: allow ndo_select_queue to pass netdev
  net: allow fallback function to pass netdev

 drivers/infiniband/hw/hfi1/vnic_main.c        |   2 +-
 .../infiniband/ulp/opa_vnic/opa_vnic_netdev.c |   4 +-
 drivers/net/bonding/bond_main.c               |   3 +-
 drivers/net/ethernet/amazon/ena/ena_netdev.c  |   5 +-
 drivers/net/ethernet/broadcom/bcmsysport.c    |   6 +-
 .../net/ethernet/broadcom/bnx2x/bnx2x_cmn.c   |   6 +-
 .../net/ethernet/broadcom/bnx2x/bnx2x_cmn.h   |   3 +-
 .../net/ethernet/chelsio/cxgb4/cxgb4_main.c   |   5 +-
 drivers/net/ethernet/hisilicon/hns/hns_enet.c |   5 +-
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |  62 +++++--
 drivers/net/ethernet/lantiq_etop.c            |  10 +-
 drivers/net/ethernet/mellanox/mlx4/en_tx.c    |   7 +-
 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h  |   3 +-
 drivers/net/ethernet/mellanox/mlx5/core/en.h  |   3 +-
 .../net/ethernet/mellanox/mlx5/core/en_tx.c   |   5 +-
 drivers/net/ethernet/renesas/ravb_main.c      |   3 +-
 drivers/net/ethernet/sun/ldmvsw.c             |   3 +-
 drivers/net/ethernet/sun/sunvnet.c            |   3 +-
 drivers/net/ethernet/ti/netcp_core.c          |   9 +-
 drivers/net/hyperv/netvsc_drv.c               |   6 +-
 drivers/net/macvlan.c                         |  10 +-
 drivers/net/net_failover.c                    |   7 +-
 drivers/net/team/team.c                       |   3 +-
 drivers/net/tun.c                             |   3 +-
 drivers/net/wireless/marvell/mwifiex/main.c   |   3 +-
 drivers/net/xen-netback/interface.c           |   4 +-
 drivers/net/xen-netfront.c                    |   3 +-
 drivers/staging/netlogic/xlr_net.c            |   9 +-
 drivers/staging/rtl8188eu/os_dep/os_intfs.c   |   3 +-
 drivers/staging/rtl8723bs/os_dep/os_intfs.c   |   7 +-
 include/linux/netdevice.h                     |  34 +++-
 net/core/dev.c                                | 157 +++++++++++++++---
 net/core/net-sysfs.c                          |  36 +++-
 net/mac80211/iface.c                          |   4 +-
 net/packet/af_packet.c                        |   7 +-
 35 files changed, 312 insertions(+), 131 deletions(-)

-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ