[dpdk-dev] [PATCH v7 08/12] net/octeontx_ep: added tx queue setup and release
Ferruh Yigit
ferruh.yigit at intel.com
Fri Jan 29 15:04:25 CET 2021
On 1/29/2021 12:45 PM, Nalla Pradeep wrote:
> Transmit queue setup involves allocating memory for the command queue
> considering tx descriptor count and initializing data structure
> representing the queue. Transmit queue release function frees the
> command queue.
>
> Signed-off-by: Nalla Pradeep <pnalla at marvell.com>
<...>
> +
> + otx_ep_info("IQ[%d]: base: %p basedma: %lx count: %d\n",
> + iq_no, iq->base_addr, (unsigned long)iq->base_addr_dma,
'base_addr_dma' type is 'uint64_t', but isn't "unsigned long" 4 btyes in 32 bit?
Better to use PRIx64 for 'uint64_t' instead of '%lx', and using it removes the
need to cast.
More information about the dev
mailing list