On Tue, 19 Aug 2025 03:22:32 -0700 Dimon Zhao <[email protected]> wrote:
> -static int nbl_res_txrx_start_tx_ring(void *priv,
> - struct nbl_start_tx_ring_param *param,
> - u64 *dma_addr)
> +static inline u16 nbl_prep_tx_ehdr_leonis(void *priv, struct rte_mbuf *mbuf)
> {
Get the prototype right in earlier patch.
And don't use void * to hide the private data. Instead always use a structure
pointer.
That way you avoid potential type confusion bugs.

