summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2025-05-20 16:46:30 +0300
committerAlex Williamson <alex.williamson@redhat.com>2025-05-20 08:32:07 -0600
commit674ebb64cd5dc40827b8ac8c95bb72d328ed59ff (patch)
treeaa0a2057b6744ef61e25a0eba147bb4eb62724e6 /scripts/lib/kdoc/kdoc_parser.py
parent6ef04555b252e60913d3dc80b45f048bfef33d0f (diff)
vfio/mlx5: Explicitly use number of pages instead of allocated length
allocated_length is a multiple of page size and number of pages, so let's change the functions to accept number of pages. This improves code readability, simplifies buffer handling, and enables combining DMA send/receive operations, as will be introduced in the next patches. Tested-by: Jens Axboe <axboe@kernel.dk> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Acked-by: Yishai Hadas <yishaih@nvidia.com> Link: https://lore.kernel.org/r/76f39993d2ca0311b3bcfe56038a669d03926815.1747747694.git.leon@kernel.org Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions