Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/enic: fix filter type used for flow API
[ upstream commit d700f0d ] 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: 26faa12 ("net/enic: flow API for NICs with advanced filters disabled") Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com> Reviewed-by: John Daley <johndale@cisco.com>
- Loading branch information