net/i40e: remove duplicate tunnel type check
[dpdk.git] / drivers / net / ixgbe / base / ixgbe_82599.c
index 38ab58d..69fd4cd 100644 (file)
@@ -1832,6 +1832,7 @@ s32 ixgbe_fdir_set_input_mask_82599(struct ixgbe_hw *hw,
                                     ~input_mask->formatted.src_ip[0]);
                IXGBE_WRITE_REG_BE32(hw, IXGBE_FDIRDIP4M,
                                     ~input_mask->formatted.dst_ip[0]);
+               IXGBE_WRITE_REG_BE32(hw, IXGBE_FDIRIP6M, 0xFFFFFFFF);
        }
        return IXGBE_SUCCESS;
 }
@@ -2093,9 +2094,7 @@ s32 ixgbe_start_hw_82599(struct ixgbe_hw *hw)
        if (ret_val != IXGBE_SUCCESS)
                goto out;
 
-       ret_val = ixgbe_start_hw_gen2(hw);
-       if (ret_val != IXGBE_SUCCESS)
-               goto out;
+       ixgbe_start_hw_gen2(hw);
 
        /* We need to run link autotry after the driver loads */
        hw->mac.autotry_restart = true;