On Tue, 15 Oct 2024 11:09:22 +0800
Howard Wang <howard_wang at realsil.com.cn> wrote:
> + /* Allocate memory for the software ring */
> + txq->sw_ring = rte_zmalloc_socket("r8169 sw tx ring",
> + nb_tx_desc * sizeof(struct rtl_tx_entry),
> + RTE_CACHE_LINE_SIZE, socket_id);
> +
Prefer use of rte_calloc when allocating array