RE: [PATCH v13 2/3] examples/l3fwd-power: fix data overflow when parse command line

2024-10-28 Thread Tummala, Sivaprasad
intel.com; david.h...@intel.com; > Tummala, Sivaprasad ; > step...@networkplumber.org; konstantin.anan...@huawei.com; > david.march...@redhat.com; fengcheng...@huawei.com; > liuyongl...@huawei.com; lihuis...@huawei.com > Subject: [PATCH v13 2/3] examples/l3fwd-power: fix data o

Re: [PATCH v13 2/3] examples/l3fwd-power: fix data overflow when parse command line

2024-10-25 Thread fengchengwen
Acked-by: Chengwen Feng On 2024/10/25 17:18, Huisong Li wrote: > Many variables are 'uint32_t', like, 'pause_duration', 'scale_freq_min' > and so on. They use parse_int() to parse it from command line. > But overflow problem occurs when this function return. > > Fixes: 59f2853c4cae ("examples/l3

[PATCH v13 2/3] examples/l3fwd-power: fix data overflow when parse command line

2024-10-25 Thread Huisong Li
Many variables are 'uint32_t', like, 'pause_duration', 'scale_freq_min' and so on. They use parse_int() to parse it from command line. But overflow problem occurs when this function return. Fixes: 59f2853c4cae ("examples/l3fwd_power: add configuration options") Cc: sta...@dpdk.org Signed-off-by: