From: Saeed Mahameed <saeed@kernel.org>
To: "David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>
Cc: netdev@vger.kernel.org, Tariq Toukan <tariqt@nvidia.com>,
Leon Romanovsky <leonro@nvidia.com>,
Saeed Mahameed <saeedm@nvidia.com>
Subject: [pull request][net-next V2 00/17] mlx5 updates 2021-08-16
Date: Mon, 16 Aug 2021 16:22:02 -0700 [thread overview]
Message-ID: <20210816232219.557083-1-saeed@kernel.org> (raw)
From: Saeed Mahameed <saeedm@nvidia.com>
Hi Dave and Jakub,
This series adds the support for TC MQPRIO channel mode and Lag mode for
mlx5 bridge offloads.
v1->v2:
- Fix variable ‘priv’ set but not used, patch #16.
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 1b3f78df6a80932d7deb0155d8b0871e8d3e4bca:
bonding: improve nl error msg when device can't be enslaved because of IFF_MASTER (2021-08-16 14:03:30 +0100)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git tags/mlx5-updates-2021-08-16
for you to fetch changes up to ff9b7521468bc2909293c1cda66a245a49688f6f:
net/mlx5: Bridge, support LAG (2021-08-16 16:17:32 -0700)
----------------------------------------------------------------
mlx5-updates-2021-08-16
The following patchset provides two separate mlx5 updates
1) Ethtool RSS context and MQPRIO channel mode support:
1.1) enable mlx5e netdev driver to allow creating Transport Interface RX
(TIRs) objects on the fly to be used for ethtool RSS contexts and
TX MQPRIO channel mode
1.2) Introduce mlx5e_rss object to manage such TIRs.
1.3) Ethtool support for RSS context
1.4) Support MQPRIO channel mode
2) Bridge offloads Lag support:
to allow adding bond net devices to mlx5 bridge
2.1) Address bridge port by (vport_num, esw_owner_vhca_id) pair
since vport_num is only unique per eswitch and in lag mode we
need to manage ports from both eswitches.
2.2) Allow connectivity between representors of different eswitch
instances that are attached to same bridge
2.3) Bridge LAG, Require representors to be in shared FDB mode and
introduce local and peer ports representors,
match on paired eswitch metadata in peer FDB entries,
And finally support addition/deletion and aging of peer flows.
----------------------------------------------------------------
Tariq Toukan (11):
net/mlx5e: Do not try enable RSS when resetting indir table
net/mlx5e: Introduce TIR create/destroy API in rx_res
net/mlx5e: Introduce abstraction of RSS context
net/mlx5e: Convert RSS to a dedicated object
net/mlx5e: Dynamically allocate TIRs in RSS contexts
net/mlx5e: Support multiple RSS contexts
net/mlx5e: Support flow classification into RSS contexts
net/mlx5e: Abstract MQPRIO params
net/mlx5e: Maintain MQPRIO mode parameter
net/mlx5e: Handle errors of netdev_set_num_tc()
net/mlx5e: Support MQPRIO channel mode
Vlad Buslov (6):
net/mlx5: Bridge, release bridge in same function where it is taken
net/mlx5: Bridge, obtain core device from eswitch instead of priv
net/mlx5: Bridge, identify port by vport_num+esw_owner_vhca_id pair
net/mlx5: Bridge, extract FDB delete notification to function
net/mlx5: Bridge, allow merged eswitch connectivity
net/mlx5: Bridge, support LAG
drivers/net/ethernet/mellanox/mlx5/core/Makefile | 6 +-
drivers/net/ethernet/mellanox/mlx5/core/en.h | 12 +-
drivers/net/ethernet/mellanox/mlx5/core/en/ptp.c | 18 +-
drivers/net/ethernet/mellanox/mlx5/core/en/qos.c | 2 +-
.../ethernet/mellanox/mlx5/core/en/rep/bridge.c | 329 +++++++----
.../ethernet/mellanox/mlx5/core/en/reporter_tx.c | 8 +-
drivers/net/ethernet/mellanox/mlx5/core/en/rss.c | 588 ++++++++++++++++++++
drivers/net/ethernet/mellanox/mlx5/core/en/rss.h | 49 ++
.../net/ethernet/mellanox/mlx5/core/en/rx_res.c | 603 ++++++++-------------
.../net/ethernet/mellanox/mlx5/core/en/rx_res.h | 20 +-
.../net/ethernet/mellanox/mlx5/core/en_ethtool.c | 71 ++-
.../ethernet/mellanox/mlx5/core/en_fs_ethtool.c | 99 +++-
drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 176 ++++--
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c | 5 +-
.../net/ethernet/mellanox/mlx5/core/esw/bridge.c | 359 +++++++-----
.../net/ethernet/mellanox/mlx5/core/esw/bridge.h | 46 +-
.../ethernet/mellanox/mlx5/core/esw/bridge_priv.h | 9 +
.../mlx5/core/esw/diag/bridge_tracepoint.h | 9 +-
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h | 3 -
19 files changed, 1696 insertions(+), 716 deletions(-)
create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/en/rss.c
create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/en/rss.h
next reply other threads:[~2021-08-16 23:22 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-16 23:22 Saeed Mahameed [this message]
2021-08-16 23:22 ` [net-next V2 01/17] net/mlx5e: Do not try enable RSS when resetting indir table Saeed Mahameed
2021-08-17 9:40 ` patchwork-bot+netdevbpf
2021-08-16 23:22 ` [net-next V2 02/17] net/mlx5e: Introduce TIR create/destroy API in rx_res Saeed Mahameed
2021-08-16 23:22 ` [net-next V2 03/17] net/mlx5e: Introduce abstraction of RSS context Saeed Mahameed
2021-08-16 23:22 ` [net-next V2 04/17] net/mlx5e: Convert RSS to a dedicated object Saeed Mahameed
2021-08-16 23:22 ` [net-next V2 05/17] net/mlx5e: Dynamically allocate TIRs in RSS contexts Saeed Mahameed
2021-08-16 23:22 ` [net-next V2 06/17] net/mlx5e: Support multiple " Saeed Mahameed
2021-08-16 23:22 ` [net-next V2 07/17] net/mlx5e: Support flow classification into " Saeed Mahameed
2021-08-16 23:22 ` [net-next V2 08/17] net/mlx5e: Abstract MQPRIO params Saeed Mahameed
2021-08-16 23:22 ` [net-next V2 09/17] net/mlx5e: Maintain MQPRIO mode parameter Saeed Mahameed
2021-08-16 23:22 ` [net-next V2 10/17] net/mlx5e: Handle errors of netdev_set_num_tc() Saeed Mahameed
2021-08-16 23:22 ` [net-next V2 11/17] net/mlx5e: Support MQPRIO channel mode Saeed Mahameed
2021-08-16 23:22 ` [net-next V2 12/17] net/mlx5: Bridge, release bridge in same function where it is taken Saeed Mahameed
2021-08-16 23:22 ` [net-next V2 13/17] net/mlx5: Bridge, obtain core device from eswitch instead of priv Saeed Mahameed
2021-08-16 23:22 ` [net-next V2 14/17] net/mlx5: Bridge, identify port by vport_num+esw_owner_vhca_id pair Saeed Mahameed
2021-08-16 23:22 ` [net-next V2 15/17] net/mlx5: Bridge, extract FDB delete notification to function Saeed Mahameed
2021-08-16 23:22 ` [net-next V2 16/17] net/mlx5: Bridge, allow merged eswitch connectivity Saeed Mahameed
2021-08-16 23:22 ` [net-next V2 17/17] net/mlx5: Bridge, support LAG 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=20210816232219.557083-1-saeed@kernel.org \
--to=saeed@kernel.org \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=leonro@nvidia.com \
--cc=netdev@vger.kernel.org \
--cc=saeedm@nvidia.com \
--cc=tariqt@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).