[PATCH] net/idpf: fix a compiler issue about virtchnl opcode

Ferruh Yigit ferruh.yigit at amd.com
Thu Mar 9 13:10:01 CET 2023


On 3/9/2023 11:52 AM, Mingxia Liu wrote:
> Comparing an enum virtchnl_ops variable with VIRTCHNL2_OP_EVENT
> will cause a compiler issue, as VIRTCHNL2_OP_EVENT is not included
> in enum virtchnl_ops. And the PMD uses virtual msg opcodes prefixed
> with virtchnl2 or VIRTCHNL2.
> 
> Fixes: 78049b3dc7e6 ("net/idpf: add alarm to handle virtual channel message")
> 

Fixes: d633a4859c98 ("net/idpf: add alarm to handle virtual channel
message")

> Signed-off-by: Mingxia Liu <mingxia.liu at intel.com>

Reported-by: Raslan Darawsheh <rasland at nvidia.com>

Acked-by: Ferruh Yigit <ferruh.yigit at amd.com>


Applied to dpdk-next-net/main, thanks.



More information about the dev mailing list