Hi Stephen On 2023/6/3 5:19, Stephen Hemminger wrote:
On Wed, 15 Mar 2023 19:00:31 +0800 Dongdong Liu <liudongdo...@huawei.com> wrote:+ rss_key = rte_malloc(NULL, + dev_info.hash_key_size * sizeof(uint8_t), 0); + if (rss_key == NULL) + return;Don't use rte_malloc() unless this is a structure that needs to be shared between primary/secondary. In this case it doesn't need to be shared; so just use calloc().
Thanks for pointing that, Will do. Thanks, Dongdong
.