Netdev List
 help / color / mirror / Atom feed
From: Saeed Mahameed <saeedm@mellanox.com>
To: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org, Or Gerlitz <ogerlitz@mellanox.com>,
	Saeed Mahameed <saeedm@mellanox.com>
Subject: [pull request][net 0/9] Mellanox, mlx5 fixes 2018-06-26
Date: Tue, 26 Jun 2018 17:21:09 -0700	[thread overview]
Message-ID: <20180627002118.9856-1-saeedm@mellanox.com> (raw)

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(-)

             reply	other threads:[~2018-06-27  0:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-27  0:21 Saeed Mahameed [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180627002118.9856-1-saeedm@mellanox.com \
    --to=saeedm@mellanox.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=ogerlitz@mellanox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox