Bug 1405

Summary: Static Memory footprint large increase due to net/bnxt changes in 23.11
Product: DPDK Reporter: Nicolas Chautru (nicolas.chautru)
Component: otherAssignee: Ajit Khaparde (ajit.khaparde)
Status: UNCONFIRMED ---    
Severity: normal CC: ajit.khaparde, ferruh.yigit, maxime.coquelin, somnath.kotur
Priority: Normal    
Version: 23.11   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Nicolas Chautru 2024-03-20 20:07:50 CET
The memory footprint has increased massively when the commit "97435d7906 net/bnxt: update Truflow core" was added.
The bss in my example going from 6M to 94M when building any dpdk-test applicationfor instance, when that commit is introduced. 
There are now notably huge memory reserved for cfa_tcam_mgr_* from the bnxt PMD visible from nm.

That issue is notably impacting v23.11 and still seen on main as of today. 

For now for application building with 23.11, we recommend to disable the net/bnxt through meson to avoid this issue.

I believe a proper fix is required from Broadcom bnxt: --cc Ajit Khaparde <ajit.khaparde@broadcom.com>, Somnath Kotur <somnath.kotur@broadcom.com>, Randy Schacher <stuart.schacher@broadcom.com>
 

Nic
Comment 1 Maxime Coquelin 2024-03-21 10:13:54 CET
Hi Ajit,

could you team please have a look?

Thanks,
Maxime
Comment 2 Ajit Khaparde 2024-03-21 14:43:48 CET
Yes, we are discussing internally. Thanks
Comment 3 Nicolas Chautru 2024-04-29 22:43:57 CEST
Any update on this one please? Thanks
Comment 4 Ajit Khaparde 2024-05-01 18:11:32 CEST
Since the fix is a little involved, we are finalizing the changes.
We will submit it as soon as it is ready.