[PATCH v2 1/1] common/cnxk: fix static assertion failure

Ling, WeiX weix.ling at intel.com
Thu Mar 3 12:54:20 CET 2022


> -----Original Message-----
> From: Vamsi Attunuru <vattunuru at marvell.com>
> Sent: Wednesday, March 2, 2022 9:47 PM
> To: dev at dpdk.org
> Cc: jerinj at marvell.com; vattunuru at marvell.com; ndabilpuram at marvell.com;
> Jiang, YuX <yux.jiang at intel.com>; stable at dpdk.org; Ling, WeiX
> <weix.ling at intel.com>; Srikanth Yalavarthi <syalavarthi at marvell.com>
> Subject: [PATCH v2 1/1] common/cnxk: fix static assertion failure
> 
> Use dynamically allocated memory for storing soft expiry ring base addresses
> which fixes the static assertion failure, as the size of dynamic allocation
> depends on RTE_MAX_ETHPORTS which varies based on the build config.
> 
> Bugzilla ID: 940
> Fixes: d26185716d3f ("net/cnxk: support outbound soft expiry notification")
> Cc: stable at dpdk.org
> 
> Reported-by: Wei Ling <weix.ling at intel.com>
> Reported-by: Yu Jiang <yux.jiang at intel.com>
> Signed-off-by: Vamsi Attunuru <vattunuru at marvell.com>
> Signed-off-by: Srikanth Yalavarthi <syalavarthi at marvell.com>
> ---

Tested-by: Wei Ling <weix.ling at intel.com>


More information about the stable mailing list