Netdev List
 help / color / mirror / Atom feed
* [pull request][net 0/9] Mellanox, mlx5 fixes 2018-06-26
@ 2018-06-27  0:21 Saeed Mahameed
  2018-06-27  0:21 ` [net 1/9] net/mlx5e: Don't attempt to dereference the ppriv struct if not being eswitch manager Saeed Mahameed
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Saeed Mahameed @ 2018-06-27  0:21 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev, Or Gerlitz, Saeed Mahameed

Hi Dave,

This pull request includes fixes for mlx5 netdev and core driver,
for more information please see the tag log below and for.

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

For -stable:

For -stable v4.0
    net/mlx5: Fix incorrect raw command length parsing

For -stable v4.6
    net/mlx5: Fix wrong size allocation for QoS ETC TC regitster

Most of the patches dealing with eswitch below rely on:
[1] net/mlx5: E-Switch, Avoid setup attempt if not being e-switch manager

And they apply cleanly, but [1] has some very trivial conflicts to resolve
when applied to v4.12, I hope this won't be an issue.

For -stable v4.12
    net/mlx5: E-Switch, Avoid setup attempt if not being e-switch manager
    net/mlx5e: Don't attempt to dereference the ppriv struct if not being eswitch manager

For -stable v4.13
    net/mlx5: Fix command interface race in polling mode

For -stable v4.14
    net/mlx5e: Avoid dealing with vport representors if not being e-switch manager
    net/mlx5: Fix required capability for manipulating MPFS

For -stable v4.17
    IB/mlx5: Avoid dealing with vport representors if not being e-switch manager

Thanks,
Saeed.

---

The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab40:

  Linux 4.18-rc1 (2018-06-17 08:04:49 +0900)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git tags/mlx5-fixes-2018-06-26

for you to fetch changes up to d412c31dae053bf30a1bc15582a9990df297a660:

  net/mlx5: Fix command interface race in polling mode (2018-06-26 15:26:34 -0700)

----------------------------------------------------------------
mlx5-fixes-2018-06-26

Fixes for mlx5 core and netdev driver:

Two fixes from Alex Vesker to address command interface issues
 - Race in command interface polling mode
 - Incorrect raw command length parsing

>From Shay Agroskin, Fix wrong size allocation for QoS ETC TC regitster.

>From Or Gerlitz and Eli Cohin, Address backward compatability issues for when
Eswitch capability is not advertised for the PF host driver
    - Fix required capability for manipulating MPFS
    - E-Switch, Disallow vlan/spoofcheck setup if not being esw manager
    - Avoid dealing with vport IB/eth representors if not being e-switch manager
    - E-Switch, Avoid setup attempt if not being e-switch manager
    - Don't attempt to dereference the ppriv struct if not being eswitch manager

----------------------------------------------------------------
Alex Vesker (2):
      net/mlx5: Fix incorrect raw command length parsing
      net/mlx5: Fix command interface race in polling mode

Eli Cohen (2):
      net/mlx5: E-Switch, Disallow vlan/spoofcheck setup if not being esw manager
      net/mlx5: Fix required capability for manipulating MPFS

Or Gerlitz (4):
      net/mlx5e: Don't attempt to dereference the ppriv struct if not being eswitch manager
      net/mlx5: E-Switch, Avoid setup attempt if not being e-switch manager
      net/mlx5e: Avoid dealing with vport representors if not being e-switch manager
      IB/mlx5: Avoid dealing with vport representors if not being e-switch manager

Shay Agroskin (1):
      net/mlx5: Fix wrong size allocation for QoS ETC TC regitster

 drivers/infiniband/hw/mlx5/main.c                          |  2 +-
 drivers/net/ethernet/mellanox/mlx5/core/cmd.c              |  8 ++++----
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c          | 12 ++++++------
 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c           |  8 ++++++--
 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c          | 12 +++++-------
 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c |  4 ++--
 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c          |  3 ++-
 drivers/net/ethernet/mellanox/mlx5/core/fw.c               |  5 +++--
 drivers/net/ethernet/mellanox/mlx5/core/lib/mpfs.c         |  9 +++++----
 drivers/net/ethernet/mellanox/mlx5/core/port.c             |  4 ++--
 drivers/net/ethernet/mellanox/mlx5/core/sriov.c            |  7 ++++++-
 drivers/net/ethernet/mellanox/mlx5/core/vport.c            |  2 --
 include/linux/mlx5/eswitch.h                               |  2 ++
 include/linux/mlx5/mlx5_ifc.h                              |  2 +-
 14 files changed, 45 insertions(+), 35 deletions(-)

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-06-28  7:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-27  0:21 [pull request][net 0/9] Mellanox, mlx5 fixes 2018-06-26 Saeed Mahameed
2018-06-27  0:21 ` [net 1/9] net/mlx5e: Don't attempt to dereference the ppriv struct if not being eswitch manager Saeed Mahameed
2018-06-27  0:21 ` [net 2/9] net/mlx5: E-Switch, Avoid setup attempt if not being e-switch manager Saeed Mahameed
2018-06-27  0:21 ` [net 3/9] net/mlx5e: Avoid dealing with vport representors " Saeed Mahameed
2018-06-27  0:21 ` [net 4/9] IB/mlx5: " Saeed Mahameed
2018-06-27  0:21 ` [net 5/9] net/mlx5: E-Switch, Disallow vlan/spoofcheck setup if not being esw manager Saeed Mahameed
2018-06-27  0:21 ` [net 6/9] net/mlx5: Fix required capability for manipulating MPFS Saeed Mahameed
2018-06-27  0:21 ` [net 7/9] net/mlx5: Fix wrong size allocation for QoS ETC TC regitster Saeed Mahameed
2018-06-27  0:21 ` [net 8/9] net/mlx5: Fix incorrect raw command length parsing Saeed Mahameed
2018-06-27  0:21 ` [net 9/9] net/mlx5: Fix command interface race in polling mode Saeed Mahameed
2018-06-28  7:57 ` [pull request][net 0/9] Mellanox, mlx5 fixes 2018-06-26 David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox