[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211005011302.41793-1-saeed@kernel.org>
Date: Mon, 4 Oct 2021 18:12:47 -0700
From: Saeed Mahameed <saeed@...nel.org>
To: "David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>
Cc: netdev@...r.kernel.org, Tariq Toukan <tariqt@...dia.com>,
Saeed Mahameed <saeedm@...dia.com>
Subject: [pull request][net-next 00/15] mlx5 updates 2021-10-04
From: Saeed Mahameed <saeedm@...dia.com>
Hi Dave and Jakub,
This series introduces some misc updates to mlx5.
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 1660034361904dfcb82714aa48615a9b66462ee6:
Merge branch 'phy-10g-mode-helper' (2021-10-04 13:50:05 +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-04
for you to fetch changes up to f891b7cdbdcda116fd26bbd706f91bd58567aa17:
net/mlx5: Enable single IRQ for PCI Function (2021-10-04 18:10:57 -0700)
----------------------------------------------------------------
mlx5-updates-2021-10-04
Misc updates for mlx5 driver
1) Add TX max rate support for MQPRIO channel mode
2) Trivial TC action and modify header refactoring
3) TC support for accept action in fdb offloads
4) Allow single IRQ for PCI functions
5) Bridge offload: Pop PVID VLAN header on egress miss
Vlad Buslov says:
=================
With current architecture of mlx5 bridge offload it is possible for a
packet to match in ingress table by source MAC (resulting VLAN header push
in case of port with configured PVID) and then miss in egress table when
destination MAC is not in FDB. Due to the lack of hardware learning in
NICs, this, in turn, results packet going to software data path with PVID
VLAN already added by hardware. This doesn't break software bridge since it
accepts either untagged packets or packets with any provisioned VLAN on
ports with PVID, but can break ingress TC, if affected part of Ethernet
header is matched by classifier.
Improve compatibility with software TC by restoring the packet header on
egress miss. Effectively, this change implements atomicity of mlx5 bridge
offload implementation - packet is either modified and redirected to
destination port or appears unmodified in software.
=================
----------------------------------------------------------------
Chris Mi (1):
net/mlx5e: Specify out ifindex when looking up encap route
Roi Dayan (4):
net/mlx5e: TC, Refactor sample offload error flow
net/mlx5e: Move mod hdr allocation to a single place
net/mlx5e: Split actions_match_supported() into a sub function
net/mlx5e: Move parse fdb check into actions_match_supported_fdb()
Shay Drory (2):
net/mlx5: Shift control IRQ to the last index
net/mlx5: Enable single IRQ for PCI Function
Tariq Toukan (2):
net/mlx5e: Specify SQ stats struct for mlx5e_open_txqsq()
net/mlx5e: Add TX max rate support for MQPRIO channel mode
Vlad Buslov (6):
net/mlx5e: Reserve a value from TC tunnel options mapping
net/mlx5e: Support accept action
net/mlx5: Bridge, refactor eswitch instance usage
net/mlx5: Bridge, extract VLAN pop code to dedicated functions
net/mlx5: Bridge, mark reg_c1 when pushing VLAN
net/mlx5: Bridge, pop VLAN on egress table miss
drivers/infiniband/hw/mlx5/odp.c | 1 +
drivers/net/ethernet/mellanox/mlx5/core/en.h | 7 +-
drivers/net/ethernet/mellanox/mlx5/core/en/qos.c | 102 ++++++++-
drivers/net/ethernet/mellanox/mlx5/core/en/qos.h | 9 +
.../net/ethernet/mellanox/mlx5/core/en/tc/sample.c | 21 +-
.../net/ethernet/mellanox/mlx5/core/en/tc_tun.c | 8 +
.../net/ethernet/mellanox/mlx5/core/en/tc_tun.h | 1 +
.../ethernet/mellanox/mlx5/core/en/tc_tun_vxlan.c | 9 +
drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 106 +++++++++-
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c | 179 +++++++++-------
drivers/net/ethernet/mellanox/mlx5/core/eq.c | 9 +-
.../net/ethernet/mellanox/mlx5/core/esw/bridge.c | 227 ++++++++++++++++++---
.../ethernet/mellanox/mlx5/core/esw/bridge_priv.h | 1 +
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h | 8 +
.../ethernet/mellanox/mlx5/core/eswitch_offloads.c | 6 +-
.../mellanox/mlx5/core/eswitch_offloads_termtbl.c | 2 +-
drivers/net/ethernet/mellanox/mlx5/core/mlx5_irq.h | 2 -
drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c | 36 ++--
include/linux/mlx5/driver.h | 2 +
include/linux/mlx5/eq.h | 1 -
include/linux/mlx5/eswitch.h | 9 +
21 files changed, 597 insertions(+), 149 deletions(-)
Powered by blists - more mailing lists