linux/drivers/net/ethernet/qlogic/qede
Yuval Mintz c524e2f5b7 qede: Don't try removing unconfigured vlans
As part of ndo_vlan_rx_kill_vid() implementation,
qede is requesting firmware to remove the vlan filter.
This currently happens even if the vlan wasn't previously
added [In case device ran out of vlan credits].

For PFs this doesn't cause any issues as the firmware
would simply ignore the removal request. But for VFs their
parent PF is holding an accounting of the configured vlans,
and such a request would cause the PF to fail the VF's
removal request.

Simply fix this for both PFs & VFs and don't remove filters
that were not previously added.

Fixes: 7c1bfcad9f ("qede: Add vlan filtering offload support")
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-07-30 20:33:53 -07:00
..
Makefile qede: Add dcbnl support. 2016-06-08 11:11:00 -07:00
qede_dcbnl.c qede: Add dcbnl support. 2016-06-08 11:11:00 -07:00
qede_ethtool.c qede: Add get/set rx copy break tunable support 2016-07-01 05:40:53 -04:00
qede_main.c qede: Don't try removing unconfigured vlans 2016-07-30 20:33:53 -07:00
qede.h qede: Bump up driver version to 8.10.1.20 2016-07-01 05:40:53 -04:00