]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/ixgbe/ixgbe_rxtx.c
net/ixgbe: restore VLAN filter for VF
[dpdk.git] / drivers / net / ixgbe / ixgbe_rxtx.c
index e92a70fb38f20314bd765e806a3a90a88f351f15..e71d3c188a67b94bbf588efa3b3342198063c054 100644 (file)
@@ -2853,14 +2853,14 @@ ixgbe_get_rx_port_offloads(struct rte_eth_dev *dev)
                   DEV_RX_OFFLOAD_TCP_CKSUM   |
                   DEV_RX_OFFLOAD_KEEP_CRC    |
                   DEV_RX_OFFLOAD_JUMBO_FRAME |
+                  DEV_RX_OFFLOAD_VLAN_FILTER |
                   DEV_RX_OFFLOAD_SCATTER;
 
        if (hw->mac.type == ixgbe_mac_82598EB)
                offloads |= DEV_RX_OFFLOAD_VLAN_STRIP;
 
        if (ixgbe_is_vf(dev) == 0)
-               offloads |= (DEV_RX_OFFLOAD_VLAN_FILTER |
-                            DEV_RX_OFFLOAD_VLAN_EXTEND);
+               offloads |= DEV_RX_OFFLOAD_VLAN_EXTEND;
 
        /*
         * RSC is only supported by 82599 and x540 PF devices in a non-SR-IOV