linux/include/linux/mlx5
Patrisious Haddad 25e6e9da69 RDMA/mlx5: Enforce same type port association for multiport RoCE
[ Upstream commit e05feab22f ]

Different core device types such as PFs and VFs shouldn't be affiliated
together since they have different capabilities, fix that by enforcing
type check before doing the affiliation.

Fixes: 32f69e4be2 ("{net, IB}/mlx5: Manage port association for multiport RoCE")
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
Link: https://patch.msgid.link/88699500f690dff1c1852c1ddb71f8a1cc8b956e.1733233480.git.leonro@nvidia.com
Reviewed-by: Mateusz Polchlopek <mateusz.polchlopek@intel.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-01-09 13:31:56 +01:00
..
cq.h net/mlx5: Use mlx5_cmd_do() in core create_{cq,dct} 2022-02-23 15:21:59 -08:00
device.h RDMA/mlx5: Send events from IB driver about device affiliation state 2023-12-20 17:01:44 +01:00
doorbell.h net/mlx5: Remove spinlock support from mlx5_write64 2019-04-02 12:49:37 -07:00
driver.h RDMA/mlx5: Enforce same type port association for multiport RoCE 2025-01-09 13:31:56 +01:00
eq.h net/mlx5: Introduce API for bulk request and release of IRQs 2022-01-06 16:22:52 -08:00
eswitch.h net/mlx5e: Handle IPsec offload for RX datapath in switchdev mode 2023-08-02 18:37:29 -07:00
fs.h net/mlx5: Bridge, fix multicast packets sent to uplink 2024-01-31 16:19:02 -08:00
fs_helpers.h net/mlx5: Remove unused functions 2022-09-27 12:50:27 -07:00
macsec.h net/mlx5: Add RoCE MACsec steering infrastructure in core 2023-08-20 12:35:24 +03:00
mlx5_ifc.h net/mlx5: Correct TASR typo into TSAR 2024-09-18 19:24:08 +02:00
mlx5_ifc_fpga.h net/mlx5: Remove from FPGA IFC file not-needed definitions 2022-09-27 12:50:27 -07:00
mlx5_ifc_vdpa.h vdpa/mlx5: Implement susupend virtqueue callback 2022-08-11 04:26:08 -04:00
mpfs.h {net,vdpa}/mlx5: Configure interface MAC into mpfs L2 table 2021-05-18 23:01:48 -07:00
port.h IB/mlx5: Rename 400G_8X speed to comply to naming convention 2024-09-18 19:24:08 +02:00
qp.h RDMA/mlx5: Use sq timestamp as QP timestamp when RoCE is disabled 2024-08-03 08:53:59 +02:00
rsc_dump.h net/mlx5: Add support in query QP, CQ and MKEY segments 2020-06-23 17:26:10 +03:00
transobj.h net/mlx5e: Fix page reclaim for dead peer hairpin 2021-06-09 17:20:03 -07:00
vport.h net/mlx5: Update vport caps query/set for EC VFs 2023-06-09 18:40:51 -07:00