Revision 4556dc591691fca743518edb24f15fbc83b5c8ef authored by Vlad Yasevich on 22 November 2014, 07:52:52 UTC, committed by David S. Miller on 23 November 2014, 19:26:12 UTC
IXGBE adapter seems to require that VLAN filtering be enabled if
VMDQ or SRIOV are enabled.  When those functions are disabled,
VLAN filtering may be disabled in promiscuous mode.

Prior to commit a9b8943ee129 ("ixgbe: remove vlan_filter_disable
and enable functions")

The logic was correct.  However, after the commit the logic
got reversed and VLAN filtered in now turned on when VMDQ/SRIOV
is disabled.

This patch changes the condition to enable hw vlan filtered
when VMDQ or SRIOV is enabled.

Fixes: a9b8943ee129 ("ixgbe: remove vlan_filter_disable and enable functions")
Cc: stable <stable@vger.kernel.org>
CC: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com>
Acked-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent b6fef4c
History
File Mode Size
Documentation
arch
bench
config
python
scripts
tests
ui
util
.gitignore -rw-r--r-- 288 bytes
CREDITS -rw-r--r-- 603 bytes
MANIFEST -rw-r--r-- 1.1 KB
Makefile -rw-r--r-- 1.9 KB
Makefile.perf -rw-r--r-- 31.7 KB
builtin-annotate.c -rw-r--r-- 9.9 KB
builtin-bench.c -rw-r--r-- 6.7 KB
builtin-buildid-cache.c -rw-r--r-- 9.5 KB
builtin-buildid-list.c -rw-r--r-- 2.9 KB
builtin-diff.c -rw-r--r-- 25.8 KB
builtin-evlist.c -rw-r--r-- 1.7 KB
builtin-help.c -rw-r--r-- 11.7 KB
builtin-inject.c -rw-r--r-- 11.8 KB
builtin-kmem.c -rw-r--r-- 16.6 KB
builtin-kvm.c -rw-r--r-- 35.1 KB
builtin-list.c -rw-r--r-- 1.8 KB
builtin-lock.c -rw-r--r-- 22.9 KB
builtin-mem.c -rw-r--r-- 5.9 KB
builtin-probe.c -rw-r--r-- 13.8 KB
builtin-record.c -rw-r--r-- 22.8 KB
builtin-report.c -rw-r--r-- 23.8 KB
builtin-sched.c -rw-r--r-- 44.0 KB
builtin-script.c -rw-r--r-- 44.0 KB
builtin-stat.c -rw-r--r-- 47.4 KB
builtin-timechart.c -rw-r--r-- 46.6 KB
builtin-top.c -rw-r--r-- 32.4 KB
builtin-trace.c -rw-r--r-- 69.3 KB
builtin.h -rw-r--r-- 2.2 KB
command-list.txt -rw-r--r-- 878 bytes
design.txt -rw-r--r-- 17.3 KB
perf-archive.sh -rw-r--r-- 1.3 KB
perf-completion.sh -rw-r--r-- 4.0 KB
perf-sys.h -rw-r--r-- 5.1 KB
perf-with-kcore.sh -rw-r--r-- 6.7 KB
perf.c -rw-r--r-- 13.4 KB
perf.h -rw-r--r-- 1.4 KB

back to top