On 09/11/2024 02:48, Andre Muezerie wrote:
From: Konstantin Ananyev <konstantin.anan...@huawei.com>

../drivers/net/ice/ice_rxtx.c:1871:29: warning:
     variable length array used [-Wvla]

Here VLA is used as a temp array for mbufs that will be used as a split
RX data buffers.
As at any given time only one thread can do RX from particular queue,
at rx_queue_setup() we can allocate extra space for that array, and then
safely use it at RX fast-path.

Signed-off-by: Konstantin Ananyev <konstantin.anan...@huawei.com>
---
Acked-by: Anatoly Burakov <anatoly.bura...@intel.com>

--
Thanks,
Anatoly

Reply via email to