Re: [PATCH v2 1/1] net/ena/base: fix metrics excessive memory consumption

2024-04-13 Thread Xueming Li
: sta...@dpdk.org ; dev@dpdk.org ; Shai Brandes Subject: [PATCH v2 1/1] net/ena/base: fix metrics excessive memory consumption From: Shai Brandes [ upstream commit c8a1898f82f8c04cbe1d3e2d0eec0705386c23f7 ] The driver accidentally allocates a huge memory buffer for the customer metrics because it

[PATCH v2 1/1] net/ena/base: fix metrics excessive memory consumption

2024-04-08 Thread shaibran
From: Shai Brandes [ upstream commit c8a1898f82f8c04cbe1d3e2d0eec0705386c23f7 ] The driver accidentally allocates a huge memory buffer for the customer metrics because it uses an uninitialized variable for the buffer length. This can lead to excessive memory footprint for the driver which can ev

[PATCH v2 1/1] net/ena/base: fix metrics excessive memory consumption

2024-03-28 Thread shaibran
From: Shai Brandes The driver accidentally allocates a huge memory buffer for the customer metrics because it uses an uninitialized variable for the buffer length. This can lead to excessive memory footprint for the driver which can even fail to initialize in case of insufficient memory. Signed-