[dpdk-dev] [PATCH v2 08/17] net/ionic: add adminq support

Ferruh Yigit ferruh.yigit at intel.com
Mon Dec 2 17:15:58 CET 2019


On 10/15/2019 9:22 AM, Alfredo Cardigliano wrote:
> Add support for the admin queue, which is used for most
> of the NIC configurations.
> 
> Signed-off-by: Alfredo Cardigliano <cardigliano at ntop.org>
> Reviewed-by: Shannon Nelson <snelson at pensando.io>

<...>

> +int
> +ionic_cq_init(struct ionic_lif *lif, struct ionic_cq *cq,
> +		struct ionic_intr_info *intr,
> +		uint32_t num_descs, size_t desc_size)
> +{
> +	if (desc_size == 0) {
> +		ionic_init_print(ERR, "Descriptor size is %lu", desc_size);

The 32 bits build is failing [1], there are multiple similar error caused by the
format identifiers in the logs, can you please check it?


[1]
 error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument
5 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]


More information about the dev mailing list