[PATCH 3/5] app/proc-info: fix never show RSS info

Jie Hai haijie1 at huawei.com
Fri Sep 8 10:01:27 CEST 2023


Hi, Pattan, Reshma

On 2023/9/6 0:29, Pattan, Reshma wrote:
> 
> 
>> -----Original Message-----
>> +		uint8_t *rss_key;
> 
> Instead of pointer can you just take key of type below, so u no need to do dynamic memory allocation using malloc and free .
>   
> Ex: uint8_t hash_key[RSS_HASH_KEY_LENGTH];
> 
> And then do below ?
> rss_conf.rss_key = hash_key;
> .

Thanks for your review, will fix it in next version.

Thanks,
Jie Hai


More information about the dev mailing list