|
@@ -3936,8 +3936,8 @@ void ixgbe_set_rx_mode(struct net_device *netdev)
|
|
|
* if SR-IOV and VMDQ are disabled - otherwise ensure
|
|
|
* that hardware VLAN filters remain enabled.
|
|
|
*/
|
|
|
- if (!(adapter->flags & (IXGBE_FLAG_VMDQ_ENABLED |
|
|
|
- IXGBE_FLAG_SRIOV_ENABLED)))
|
|
|
+ if (adapter->flags & (IXGBE_FLAG_VMDQ_ENABLED |
|
|
|
+ IXGBE_FLAG_SRIOV_ENABLED))
|
|
|
vlnctrl |= (IXGBE_VLNCTRL_VFE | IXGBE_VLNCTRL_CFIEN);
|
|
|
} else {
|
|
|
if (netdev->flags & IFF_ALLMULTI) {
|