[v7 08/15] dma/dpaa: refactor driver

Thomas Monjalon thomas at monjalon.net
Sat Nov 9 15:27:33 CET 2024


15/10/2024 09:13, Gagandeep Singh:
> +static inline int
> +ilog2_qthld(uint32_t q_thld)
>  {
> -       csgf->cfg = rte_cpu_to_le_32(QDMA_SG_FIN | (len & QDMA_SG_LEN_MASK));
> +       return (ilog2(q_thld) - ilog2(16));
>  }


error: unused function 'ilog2_qthld'

You must make sure each patch is compiling.




More information about the dev mailing list