summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2015-04-27 14:57:10 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-07-14 18:26:41 -0700
commit85927ec1b369c880407aa82eba70d49c04c35062 (patch)
tree5c46ef5b013ecd9f596f295733159acb86a3ea84 /net/switchdev/switchdev.c
parent973371da4d66b96736143bd3f2b2ff2331faae8f (diff)
i40e: ignore duplicate port VLAN requests
If user attempts to set a port VLAN on a VF that already has the same port VLAN configured, the driver will go through a completely unnecessary flurry of filter removals and filter adds. Just check for this condition and return success instead of doing a bunch of busywork. Change-ID: Ia1a9e83e6ed48b3f4658bc20dfc6af0cf525d54a Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Tested-by: Jim Young <james.m.young@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions