[dpdk-stable] [PATCH] net/enic: fix the filter type used for flow API

Ferruh Yigit ferruh.yigit at intel.com
Tue Feb 2 13:57:12 CET 2021


On 2/2/2021 12:24 AM, Hyong Youb Kim wrote:
> The filter type (struct filter_v2.type) should always be set to
> FILTER_DPDK_1, when advanced filtering is enabled in
> firmware. Otherwise, for some old firmware versions, the driver sets
> it to FILTER_USNIC_IP, and attempts to install filters fail. This
> behavior matches that of the now-removed flow director implementation
> (enic_clsf.c).
> 
> Fixes: 26faa126d87e ("net/enic: flow API for NICs with advanced filters disabled")
> 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