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

2023-03-09 Thread Ferruh Yigit
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: 20618563b8

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

2023-03-08 Thread Mingxia Liu
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") Signe