On Wed, 18 Dec 2024 15:46:35 -0800
Joshua Washington <joshw...@google.com> wrote:

> From: Praveen Kaligineedi <pkaligine...@google.com>
> 
> Allocating QPL for an RX queue might fail if enough contiguous IOVA
> memory cannot be allocated. However, the only requirement for QPL
> for RX is that each 4K buffer be IOVA contiguous, not the entire
> QPL. Therefore, use malloc to allocate 4K buffers if the allocation
> using memzone fails.
> 
> Signed-off-by: Praveen Kaligineedi <pkaligine...@google.com>
> Reviewed-by: Joshua Washington <joshw...@google.com>
> ---

Why keep the memzone code? rte_malloc and memzone are both coming from
huge pages. Is there any advantage to memzone for what you are doing?

Better to not have two potential allocation paths to test.

Reply via email to