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

Ferruh Yigit ferruh.yigit at intel.com
Wed Oct 13 15:41:35 CEST 2021


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_EPERM when it does not support filtering at all. So, treat
> ERR_EPERM as "no filtering available" instead of an unexpected error.
> 
> Fixes: 322b355f2183 ("net/enic/base: bring NIC interface functions up to date")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Hyong Youb Kim <hyonkim at cisco.com>
> Reviewed-by: John Daley <johndale at cisco.com>

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



More information about the stable mailing list