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: <20181211002701.18138-1-saeedm@mellanox.com>
Date:   Mon, 10 Dec 2018 16:26:49 -0800
From:   Saeed Mahameed <saeedm@...lanox.com>
To:     "David S. Miller" <davem@...emloft.net>
Cc:     netdev@...r.kernel.org, Saeed Mahameed <saeedm@...lanox.com>
Subject: [pull request][net-next 00/12] Mellanox, mlx5 updates (Gre offloads support) 2018-12-10

Hi Dave,

This series adds the support for mlx5 gre offloads, From Oz Shlomo.

Please note:
1) The mlx5-next merge commit at the base of this pull request.
(required for dependencies)
2) Two non mlx5 patches to remove the now deprecated egdev mechanism.

For more information please see tag log below.

Please pull and let me know if there's any problem.

Thanks,
Saeed.

---

The following changes since commit 2f62747c77e2e5a8acb720aaec9ee4860d55118f:

  Merge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux (2018-12-10 15:50:50 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git tags/mlx5e-updates-2018-12-10

for you to fetch changes up to 69bd48404f251b9c45a15799fdcfc87a7ad6ab8a:

  net/sched: Remove egdev mechanism (2018-12-10 15:54:34 -0800)

----------------------------------------------------------------
mlx5e-updates-2018-12-10 (gre)

This patch set adds GRE offloading support to Mellanox ethernet driver.

Patches 1-5 replace the existing egdev mechanism with the new TC indirect
block binds mechanism that was introduced by Netronome:
7f76fa36754b ("net: sched: register callbacks for indirect tc block binds")

Patches 6-9 add GRE offloading support along with some required
refactoring work.

Patch 10, Add netif_is_gretap()/netif_is_ip6gretap()
 - Changed the is_gretap_dev and is_ip6gretap_dev logic from structure
   comparison to string comparison of the rtnl_link_ops kind field.

Patch 11, add GRE offloading support to mlx5.

Patch 12 removes the egdev mechanism from TC as it is no longer used by
any of the drivers.

----------------------------------------------------------------
Oz Shlomo (12):
      net/mlx5e: Store eswitch uplink representor state on a dedicated struct
      net/mlx5e: Support TC indirect block notifications for eswitch uplink reprs
      net/mlx5e: Provide the TC filter netdev as parameter to flower callbacks
      net/mlx5e: Propagate the filter's net device to mlx5e structures
      net/mlx5e: Replace egdev with indirect block notifications
      net/mlx5e: Refactor VXLAN tunnel encap offloading code
      net/mlx5e: Refactor VXLAN tunnel decap offloading code
      net/mlx5e: Branch according to classified tunnel type
      net/mlx5e: Move TC tunnel offloading code to separate source file
      net: Add netif_is_gretap()/netif_is_ip6gretap()
      net/mlx5e: Add GRE protocol offloading
      net/sched: Remove egdev mechanism

 drivers/net/ethernet/mellanox/mlx5/core/Makefile   |   2 +-
 .../net/ethernet/mellanox/mlx5/core/en/tc_tun.c    | 583 +++++++++++++++++++++
 .../net/ethernet/mellanox/mlx5/core/en/tc_tun.h    |  44 ++
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c  |   9 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c   | 245 +++++++--
 drivers/net/ethernet/mellanox/mlx5/core/en_rep.h   |  24 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c    | 547 +++----------------
 drivers/net/ethernet/mellanox/mlx5/core/en_tc.h    |   7 +-
 .../net/ethernet/mellanox/mlxsw/spectrum_span.c    |   4 +-
 include/net/act_api.h                              |  30 --
 include/net/gre.h                                  |  13 +-
 net/ipv4/ip_gre.c                                  |   6 -
 net/ipv6/ip6_gre.c                                 |   6 -
 net/sched/act_api.c                                | 221 --------
 net/sched/cls_api.c                                |  47 +-
 15 files changed, 952 insertions(+), 836 deletions(-)
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ