[PATCH v5 06/32] net/sssnic/base: add message definition and utility

Renyong Wan wanry at 3snic.com
Mon Sep 18 07:08:57 CEST 2023


Hello, Stephen,

data_buf is just used by control plane process, and it will not be used 
very frequtely, it has a little impact on IO performance. I'm not going 
to fix it.

Thanks.

On 2023/9/18 10:31, Stephen Hemminger wrote:
> On Mon, 4 Sep 2023 12:56:32 +0800
> <wanry at 3snic.com> wrote:
>
>> +static int
>> +sssnic_msg_buf_alloc(struct sssnic_msg *msg, size_t size)
>> +{
>> +	msg->data_buf = rte_zmalloc("sssnic_msg_data", size, 1);
> Putting message buffer on same NUMA node as device might help
> performance on NUMA architecture.

-- 
Regards,
Renyong Wan



More information about the dev mailing list