[dpdk-dev] [PATCH] examples/guest_cli: fix hardcoded lcoreid

Pattan, Reshma reshma.pattan at intel.com
Mon Apr 1 18:09:09 CEST 2019



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Hajkowski
> +	if (lcore_id == RTE_MAX_LCORE)
> +		return -1;

This check is already performed by rte_power_guest_channel_send_msg(). So it would be redundant here.

Thanks,
Reshma



More information about the dev mailing list