linux-stable/include/linux/mlx5
Maher Sanalla ee128b700f net/mlx5: Expose SF firmware pages counter
[ Upstream commit 9965bbebae ]

Currently, each core device has VF pages counter which stores number of
fw pages used by its VFs and SFs.

The current design led to a hang when performing firmware reset on DPU,
where the DPU PFs stalled in sriov unload flow due to waiting on release
of SFs pages instead of waiting on only VFs pages.

Thus, Add a separate counter for SF firmware pages, which will prevent
the stall scenario described above.

Fixes: 1958fc2f07 ("net/mlx5: SF, Add auxiliary device driver")
Signed-off-by: Maher Sanalla <msanalla@nvidia.com>
Reviewed-by: Shay Drory <shayd@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-02-14 19:11:47 +01:00
..
cq.h
device.h net/mlx5: E-Switch, properly handle ingress tagged packets on VST 2023-01-12 12:02:09 +01:00
doorbell.h
driver.h net/mlx5: Expose SF firmware pages counter 2023-02-14 19:11:47 +01:00
eq.h
eswitch.h net/mlx5: E-switch, Remove dependency between sriov and eswitch mode 2022-07-02 11:58:26 -07:00
fs.h net/mlx5: Add MACsec Rx tables support to fs_core 2022-09-07 14:02:08 +01:00
fs_helpers.h net/mlx5: Remove unused functions 2022-09-27 12:50:27 -07:00
mlx5_ifc.h net/mlx5: E-Switch, properly handle ingress tagged packets on VST 2023-01-12 12:02:09 +01: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
port.h IB/mlx5: Fix undefined behavior due to shift overflowing the constant 2022-04-06 10:15:03 +03:00
qp.h net/mlx5e: xsk: Use KSM for unaligned XSK 2022-09-30 07:55:46 -07:00
rsc_dump.h
transobj.h
vport.h