net: cls_u32: move TC offload feature bit into cls_u32 offload logic
[deliverable/linux.git] / drivers / net / ethernet / intel / ixgbe / ixgbe_main.c
index cf4b729c92d7655d5928da9eefbebd56af85e645..b893ff8e65f598e580bf618a39c639c4088b925d 100644 (file)
@@ -8400,9 +8400,6 @@ int __ixgbe_setup_tc(struct net_device *dev, u32 handle, __be16 proto,
 
        if (TC_H_MAJ(handle) == TC_H_MAJ(TC_H_INGRESS) &&
            tc->type == TC_SETUP_CLSU32) {
-               if (!(dev->features & NETIF_F_HW_TC))
-                       return -EINVAL;
-
                switch (tc->cls_u32->command) {
                case TC_CLSU32_NEW_KNODE:
                case TC_CLSU32_REPLACE_KNODE:
This page took 0.041546 seconds and 5 git commands to generate.