Re: [dpdk-dev] [PATCH] net/enic: fix filter mode detection

2021-10-13 Thread Ferruh Yigit
On 10/13/2021 2:21 AM, Hyong Youb Kim wrote: vnic_dev_capable_filter_mode() currently fails when CMD_CAPABILITY(CMD_ADD_FILTER) returns ERR_EPERM. In turn, this failure causes the driver initialization to fail. But, firmware may legitimately return ERR_EPERM. For example, VF vNIC returns ERR_EPE

[dpdk-dev] [PATCH] net/enic: fix filter mode detection

2021-10-12 Thread Hyong Youb Kim
vnic_dev_capable_filter_mode() currently fails when CMD_CAPABILITY(CMD_ADD_FILTER) returns ERR_EPERM. In turn, this failure causes the driver initialization to fail. But, firmware may legitimately return ERR_EPERM. For example, VF vNIC returns ERR_EPERM when it does not support filtering at all. S