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

Stephen Hemminger stephen at networkplumber.org
Mon Sep 18 04:31:19 CEST 2023


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.


More information about the dev mailing list