mbox series

[pull,request,net-next,00/16] Mellanox, mlx5 updates 2020-03-25

Message ID 20200326063809.139919-1-saeedm@mellanox.com
Headers show
Series Mellanox, mlx5 updates 2020-03-25 | expand

Message

Saeed Mahameed March 26, 2020, 6:37 a.m. UTC
Hi Dave,

This series include mainly updates to mlx5 flow steering core and
E-Switch.

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 29f3490ba9d2399d3d1b20c4aa74592d92bd4e11:

  net: use indirect call wrappers for skb_copy_datagram_iter() (2020-03-25 11:30:40 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git tags/mlx5-updates-2020-03-25

for you to fetch changes up to 8e0aa4bc959c98c14ed0aaee522d77ca52690189:

  net/mlx5: E-switch, Protect eswitch mode changes (2020-03-25 23:19:25 -0700)

----------------------------------------------------------------
mlx5-updates-2020-03-25

1) Cleanups from Dan Carpenter and wenxu.

2) Paul and Roi, Some minor updates and fixes to E-Switch to address
issues introduced in the previous reg_c0 updates series.

3) Eli Cohen simplifies and improves flow steering matching group searches
and flow table entries version management.

4) Parav Pandit, improves devlink eswitch mode changes thread safety.
By making devlink rely on driver for thread safety and introducing mlx5
eswitch mode change protection.

----------------------------------------------------------------
Dan Carpenter (1):
      net/mlx5e: Fix actions_match_supported() return

Eli Cohen (4):
      net/mlx5: Simplify matching group searches
      net/mlx5: Fix group version management
      net/mlx5: Avoid incrementing FTE version
      net/mlx5: Avoid group version scan when not necessary

Parav Pandit (6):
      net/mlx5: Simplify mlx5_register_device to return void
      net/mlx5: Simplify mlx5_unload_one() and its callers
      devlink: Rely on driver eswitch thread safety instead of devlink
      net/mlx5: Split eswitch mode check to different helper function
      net/mlx5: E-switch, Extend eswitch enable to handle num_vfs change
      net/mlx5: E-switch, Protect eswitch mode changes

Paul Blakey (2):
      net/mlx5: E-Switch, Enable restore table only if reg_c1 is supported
      net/mlx5: E-Switch, Enable chains only if regs loopback is enabled

Roi Dayan (2):
      net/mlx5: E-Switch, free flow_group_in after creating the restore table
      net/mlx5: E-Switch, Use correct type for chain, prio and level values

wenxu (1):
      net/mlx5e: remove duplicated check chain_index in mlx5e_rep_setup_ft_cb

 drivers/net/ethernet/mellanox/mlx5/core/dev.c      |   4 +-
 drivers/net/ethernet/mellanox/mlx5/core/devlink.c  |   3 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c   |   3 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c    |   2 +-
 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c  | 107 +++++++++++----
 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h  |  17 ++-
 .../ethernet/mellanox/mlx5/core/eswitch_offloads.c | 143 ++++++++++++++++-----
 .../mellanox/mlx5/core/eswitch_offloads_chains.c   |  38 +++---
 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c  |  59 ++++-----
 drivers/net/ethernet/mellanox/mlx5/core/main.c     |  24 +---
 .../net/ethernet/mellanox/mlx5/core/mlx5_core.h    |   4 +-
 drivers/net/ethernet/mellanox/mlx5/core/sriov.c    |   3 +-
 net/core/devlink.c                                 |   3 +-
 13 files changed, 263 insertions(+), 147 deletions(-)