mbox series

[pull,request,net-next,00/10] mlx5 updates 2020-05-22

Message ID 20200522235148.28987-1-saeedm@mellanox.com
Headers show
Series mlx5 updates 2020-05-22 | expand

Message

Saeed Mahameed May 22, 2020, 11:51 p.m. UTC
Hi Dave/Jakub

This series adds misc updates to mlx5 driver.
For more information please see tag log below.

Please pull and let me know if there is any problem.

Thanks,
Saeed.

---
The following changes since commit 593532668f635d19d207510e0fbb5c2250f56b6f:

  Revert "net: mvneta: speed down the PHY, if WoL used, to save energy" (2020-05-22 16:09:42 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git tags/mlx5-updates-2020-05-22

for you to fetch changes up to 582234b465edfa12835b20477c0aa2bc91a02e18:

  net/mlx5e: Support pedit on mpls over UDP decap (2020-05-22 16:46:23 -0700)

----------------------------------------------------------------
mlx5-updates-2020-05-22

This series includes two updates and one cleanup patch

1) Tang Bim, clean-up with IS_ERR() usage

2) Vlad introduces a new mlx5 kconfig flag for TC support

   This is required due to the high volume of current and upcoming
   development in the eswitch and representors areas where some of the
   feature are TC based such as the downstream patches of MPLSoUDP and
   the following representor bonding support for VF live migration and
   uplink representor dynamic loading.
   For this Vlad kept TC specific code in tc.c and rep/tc.c and
   organized non TC code in representors specific files.

3) Eli Cohen adds support for MPLS over UPD encap and decap TC offloads.

----------------------------------------------------------------
Eli Cohen (5):
      net: Add netif_is_bareudp() API to identify bareudp devices
      net/mlx5e: Add support for hw encapsulation of MPLS over UDP
      net/mlx5e: Allow to match on mpls parameters
      net/mlx5e: Add support for hw decapsulation of MPLS over UDP
      net/mlx5e: Support pedit on mpls over UDP decap

Tang Bin (1):
      net/mlx5e: Use IS_ERR() to check and simplify code

Vlad Buslov (4):
      net/mlx5e: Extract TC-specific code from en_rep.c to rep/tc.c
      net/mlx5e: Extract neigh-specific code from en_rep.c to rep/neigh.c
      net/mlx5e: Move TC-specific code from en_main.c to en_tc.c
      net/mlx5e: Introduce kconfig var for TC support

 drivers/net/ethernet/mellanox/mlx5/core/Kconfig    |  17 +-
 drivers/net/ethernet/mellanox/mlx5/core/Makefile   |  10 +-
 .../net/ethernet/mellanox/mlx5/core/en/rep/neigh.c | 368 +++++++++
 .../net/ethernet/mellanox/mlx5/core/en/rep/neigh.h |  34 +
 .../net/ethernet/mellanox/mlx5/core/en/rep/tc.c    | 711 +++++++++++++++++
 .../net/ethernet/mellanox/mlx5/core/en/rep/tc.h    |  81 ++
 .../net/ethernet/mellanox/mlx5/core/en/tc_tun.c    |  10 +-
 .../net/ethernet/mellanox/mlx5/core/en/tc_tun.h    |   2 +
 .../mellanox/mlx5/core/en/tc_tun_mplsoudp.c        | 137 ++++
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c  |  41 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c   | 887 +--------------------
 drivers/net/ethernet/mellanox/mlx5/core/en_rep.h   |  21 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c    |   9 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c    | 509 +++++++-----
 drivers/net/ethernet/mellanox/mlx5/core/en_tc.h    |  58 +-
 .../net/ethernet/mellanox/mlx5/core/esw/chains.h   |  19 +
 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c  |   3 +
 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h  |   3 +
 .../ethernet/mellanox/mlx5/core/eswitch_offloads.c |   6 +
 .../net/ethernet/mellanox/mlx5/core/lib/port_tun.c |   4 +-
 include/net/bareudp.h                              |   7 +
 21 files changed, 1816 insertions(+), 1121 deletions(-)
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/en/rep/neigh.c
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/en/rep/neigh.h
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/en/rep/tc.c
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/en/rep/tc.h
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_mplsoudp.c