]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/mlx5: Add silent mode set/query and VHCA RX IFC bits
authorShay Drory <shayd@nvidia.com>
Mon, 9 Mar 2026 09:34:28 +0000 (11:34 +0200)
committerLeon Romanovsky <leon@kernel.org>
Mon, 16 Mar 2026 20:23:00 +0000 (16:23 -0400)
commit691dffc7255e740bc3df1c68b50b36786aadeb3a
tree2b5de5cb567195987fd9c6bca0a90d91af5ac3b8
parentf8e761655997cc0ee434fb5f35570d2e93d3a707
net/mlx5: Add silent mode set/query and VHCA RX IFC bits

Update the mlx5 IFC headers with newly defined capability and
command-layout bits:

- Add silent_mode_query and rename silent_mode to silent_mode_set cap
  fields.
- Add forward_vhca_rx and MLX5_IFC_FLOW_DESTINATION_TYPE_VHCA_RX.
- Expose silent mode fields in the L2 table query command structures.

Update the SD support check to use the new capability name
(silent_mode_set) to match the updated IFC definition.

Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260309093435.1850724-3-tariqt@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c
drivers/net/ethernet/mellanox/mlx5/core/lib/sd.c
include/linux/mlx5/mlx5_ifc.h