[dpdk-stable] [dpdk-dev] [PATCH] lib: add warning for NULL pointer
Varghese, Vipin
vipin.varghese at intel.com
Wed Dec 5 05:37:11 CET 2018
Hi,
Should not the warning be stated for ' alloc_completion' failure
Snipped
> flows->num_packets * flows->categories);
> }
>
> + if (flows->last_cmplt == NULL)
> + RTE_LOG(WARNING, MALLOC, "packet tries allocate
> failed");
Why is that we want to try this outside block?
> +
> /* set completion parameters and starting index for this slot */
> parms[n].cmplt = flows->last_cmplt;
> transition =
> --
> 2.9.5
More information about the stable
mailing list