Files
linux-stable-mirror/drivers
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
..
2023-01-07 11:11:39 +01:00
2023-02-09 11:28:25 +01:00
2022-12-31 13:33:12 +01:00