diff options
author | Maher Sanalla <msanalla@nvidia.com> | 2023-01-22 22:09:40 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-02-08 06:01:05 +0300 |
commit | c3bdbaea654d8df39112de33037106134a520dc7 (patch) | |
tree | 3967675e8c7d2a18afa82f30b9ce97f0c703c6ae /drivers/dma-buf | |
parent | 8aa5f171d51c1cb69e5e3106df4dd1a446102823 (diff) | |
download | linux-c3bdbaea654d8df39112de33037106134a520dc7.tar.xz |
net/mlx5: Store page counters in a single array
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>
Diffstat (limited to 'drivers/dma-buf')
0 files changed, 0 insertions, 0 deletions