From: Saeed Mahameed <saeed@kernel.org>
To: "David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>
Cc: netdev@vger.kernel.org, Saeed Mahameed <saeedm@nvidia.com>
Subject: [pull request][net-next 00/13] mlx5 updates 2021-10-15
Date: Fri, 15 Oct 2021 17:38:49 -0700 [thread overview]
Message-ID: <20211016003902.57116-1-saeed@kernel.org> (raw)
From: Saeed Mahameed <saeedm@nvidia.com>
Hi Dave, Jakub,
This series provides 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 295711fa8fec42a55623bf6997d05a21d7855132:
Merge branch 'dpaa2-irq-coalescing' (2021-10-15 14:32:41 +0100)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git tags/mlx5-updates-2021-10-15
for you to fetch changes up to 8a543184d79c83d0887c25cf202a43559ba39583:
net/mlx5: Use system_image_guid to determine bonding (2021-10-15 17:37:47 -0700)
----------------------------------------------------------------
mlx5-updates-2021-10-15
1) From Rongwei Liu:
Use system_image_guid and native_port_num when bonding.
Don't relay on PCIe ids anymore.
With some specific NIC, the physical devices may have PCIe IDs like
0001:01:00.0/1 and 0002:02:00.0/1. All of these devices should have
the same system_image_guid and device index can be queried from
native_port_num.
For matching sibling devices/port of the same HCA, compare the HCA
GUID reported on each device rather than just assuming PCIe ids have
similar attributes.
2) From Amir Tzin: Use HCA defined Timouts
Replace hard coded timeouts with values stored by firmware in default
timeouts register (DTOR). Timeouts are read during driver load. If DTOR
is not supported by firmware then fallback to hard coded defaults
instead.
3) From Shay Drory: Disable roce at HCA level
Disable RoCE in Firmware when devlink roce parameter is set to off.
4) A small set of trivial cleanups
----------------------------------------------------------------
Abhiram R N (1):
net/mlx5e: Add extack msgs related to TC for better debug
Amir Tzin (3):
net/mlx5: Add layout to support default timeouts register
net/mlx5: Read timeout values from init segment
net/mlx5: Read timeout values from DTOR
Len Baker (1):
net/mlx5: DR, Prefer kcalloc over open coded arithmetic
Moosa Baransi (1):
net/mlx5i: Enable Rx steering for IPoIB via ethtool
Paul Blakey (1):
net/mlx5: CT: Fix missing cleanup of ct nat table on init failure
Rongwei Liu (4):
net/mlx5: Check return status first when querying system_image_guid
net/mlx5: Introduce new device index wrapper
net/mlx5: Use native_port_num as 1st option of device index
net/mlx5: Use system_image_guid to determine bonding
Shay Drory (1):
net/mlx5: Disable roce at HCA level
Vlad Buslov (1):
net/mlx5: Bridge, provide flow source hints
drivers/net/ethernet/mellanox/mlx5/core/Makefile | 2 +-
drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 18 ++-
drivers/net/ethernet/mellanox/mlx5/core/dev.c | 14 +-
drivers/net/ethernet/mellanox/mlx5/core/devlink.c | 3 +-
.../net/ethernet/mellanox/mlx5/core/en/devlink.c | 2 +-
drivers/net/ethernet/mellanox/mlx5/core/en/fs.h | 8 +-
.../net/ethernet/mellanox/mlx5/core/en/health.h | 1 -
.../ethernet/mellanox/mlx5/core/en/reporter_rx.c | 7 +-
.../ethernet/mellanox/mlx5/core/en/reporter_tx.c | 7 +-
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c | 1 +
.../net/ethernet/mellanox/mlx5/core/en_ethtool.c | 6 +-
.../ethernet/mellanox/mlx5/core/en_fs_ethtool.c | 6 +-
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c | 106 ++++++++++----
.../net/ethernet/mellanox/mlx5/core/esw/bridge.c | 4 +
.../ethernet/mellanox/mlx5/core/esw/devlink_port.c | 4 +-
.../ethernet/mellanox/mlx5/core/eswitch_offloads.c | 2 +-
drivers/net/ethernet/mellanox/mlx5/core/fw.c | 9 +-
drivers/net/ethernet/mellanox/mlx5/core/fw_reset.c | 16 +-
drivers/net/ethernet/mellanox/mlx5/core/health.c | 21 ++-
.../ethernet/mellanox/mlx5/core/ipoib/ethtool.c | 30 ++++
.../net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c | 3 +
drivers/net/ethernet/mellanox/mlx5/core/lag.c | 4 +-
drivers/net/ethernet/mellanox/mlx5/core/lib/tout.c | 162 +++++++++++++++++++++
drivers/net/ethernet/mellanox/mlx5/core/lib/tout.h | 41 ++++++
drivers/net/ethernet/mellanox/mlx5/core/main.c | 69 ++++++---
.../net/ethernet/mellanox/mlx5/core/pagealloc.c | 16 +-
.../net/ethernet/mellanox/mlx5/core/sf/devlink.c | 2 +-
.../mellanox/mlx5/core/steering/dr_action.c | 8 +-
drivers/net/ethernet/mellanox/mlx5/core/vport.c | 21 +--
include/linux/mlx5/device.h | 4 +-
include/linux/mlx5/driver.h | 25 +++-
include/linux/mlx5/mlx5_ifc.h | 40 ++++-
32 files changed, 529 insertions(+), 133 deletions(-)
create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/lib/tout.c
create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/lib/tout.h
next reply other threads:[~2021-10-16 0:39 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-16 0:38 Saeed Mahameed [this message]
2021-10-16 0:38 ` [net-next 01/13] net/mlx5: Add layout to support default timeouts register Saeed Mahameed
2021-10-16 8:00 ` patchwork-bot+netdevbpf
2021-10-16 0:38 ` [net-next 02/13] net/mlx5: Read timeout values from init segment Saeed Mahameed
2021-10-16 0:38 ` [net-next 03/13] net/mlx5: Read timeout values from DTOR Saeed Mahameed
2021-10-16 0:38 ` [net-next 04/13] net/mlx5: Bridge, provide flow source hints Saeed Mahameed
2021-10-16 0:38 ` [net-next 05/13] net/mlx5i: Enable Rx steering for IPoIB via ethtool Saeed Mahameed
2021-10-16 0:38 ` [net-next 06/13] net/mlx5: Disable roce at HCA level Saeed Mahameed
2021-10-16 0:38 ` [net-next 07/13] net/mlx5: CT: Fix missing cleanup of ct nat table on init failure Saeed Mahameed
2021-10-16 0:38 ` [net-next 08/13] net/mlx5e: Add extack msgs related to TC for better debug Saeed Mahameed
2021-10-16 0:38 ` [net-next 09/13] net/mlx5: DR, Prefer kcalloc over open coded arithmetic Saeed Mahameed
2021-10-16 0:38 ` [net-next 10/13] net/mlx5: Check return status first when querying system_image_guid Saeed Mahameed
2021-10-16 0:39 ` [net-next 11/13] net/mlx5: Introduce new device index wrapper Saeed Mahameed
2021-10-16 0:39 ` [net-next 12/13] net/mlx5: Use native_port_num as 1st option of device index Saeed Mahameed
2021-10-16 0:39 ` [net-next 13/13] net/mlx5: Use system_image_guid to determine bonding Saeed Mahameed
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=20211016003902.57116-1-saeed@kernel.org \
--to=saeed@kernel.org \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=saeedm@nvidia.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;
as well as URLs for NNTP newsgroup(s).