linux/include/linux/mlx5
Maher Sanalla bbdfebb08f net/mlx5: Store page counters in a single array
[ Upstream commit c3bdbaea65 ]

Currently, an independent page counter is used for tracking memory usage
for each function type such as VF, PF and host PF (DPU).

For better code-readibilty, use a single array that stores
the number of allocated memory pages for each function type.

Signed-off-by: Maher Sanalla <msanalla@nvidia.com>
Reviewed-by: Shay Drory <shayd@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Stable-dep-of: 9965bbebae ("net/mlx5: Expose SF firmware pages counter")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-02-14 19:11:47 +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 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: Store page counters in a single array 2023-02-14 19:11:47 +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/mlx5: E-switch, Remove dependency between sriov and eswitch mode 2022-07-02 11:58:26 -07:00
fs_helpers.h net/mlx5: Remove unused functions 2022-09-27 12:50:27 -07:00
fs.h net/mlx5: Add MACsec Rx tables support to fs_core 2022-09-07 14:02:08 +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
mlx5_ifc.h net/mlx5: E-Switch, properly handle ingress tagged packets on VST 2023-01-12 12:02:09 +01: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