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

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


On 3/9/2023 10:38 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: 20618563b81b ("net/cpfl: support device initialization")
> 

Fixes: 2d823ecd671c ("net/cpfl: support device initialization")

> 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