ixgbe: Fix cls_u32 offload support for fields with masks
[deliverable/linux.git] / drivers / net / ethernet / intel / ixgbe / ixgbe_main.c
index ca9c543417847e4a805dea08efc1ca84a78cae59..7df3fe29b210e65a75171196aecaf04c93eae6ce 100644 (file)
@@ -8331,8 +8331,7 @@ static int ixgbe_configure_clsu32(struct ixgbe_adapter *adapter,
                int j;
 
                for (j = 0; field_ptr[j].val; j++) {
-                       if (field_ptr[j].off == off &&
-                           field_ptr[j].mask == m) {
+                       if (field_ptr[j].off == off) {
                                field_ptr[j].val(input, &mask, val, m);
                                input->filter.formatted.flow_type |=
                                        field_ptr[j].type;
This page took 0.048 seconds and 5 git commands to generate.