tcp: avoid fr segments less than mss if possible
[vpp.git] / src / vppinfra / test_hash.c
index 7f047d9..25adff3 100644 (file)
@@ -86,14 +86,12 @@ hash_next_test (word * h)
   hash_pair_t *p0, *p1;
   clib_error_t *error = 0;
 
-  /* *INDENT-OFF* */
   hash_foreach_pair (p0, h, {
     p1 = hash_next (h, &hn);
     error = CLIB_ERROR_ASSERT (p0 == p1);
     if (error)
       break;
   });
-  /* *INDENT-ON* */
 
   if (!error)
     error = CLIB_ERROR_ASSERT (!hash_next (h, &hn));
@@ -176,16 +174,12 @@ test_word_key (hash_test_t * ht)
        hash_pair_t *p;
        uword ki;
 
-         /* *INDENT-OFF* */
          hash_foreach_pair (p, h, {
              ki = p->value[0];
              ASSERT (keys[ki] == p->key);
          });
-         /* *INDENT-ON* */
       }
 
-      clib_mem_validate ();
-
       if ((error = hash_validate (h)))
        goto done;
 
@@ -222,8 +216,6 @@ test_word_key (hash_test_t * ht)
          || (i + 1) % ht->n_iterations_per_validate)
        continue;
 
-      clib_mem_validate ();
-
       if ((error = hash_validate (h)))
        goto done;
 
@@ -317,8 +309,6 @@ test_string_key (hash_test_t * ht)
          || (i + 1) % ht->n_iterations_per_validate)
        continue;
 
-      clib_mem_validate ();
-
       if ((error = hash_validate (h)))
        goto done;
 
@@ -355,8 +345,6 @@ test_string_key (hash_test_t * ht)
          || (i + 1) % ht->n_iterations_per_validate)
        continue;
 
-      clib_mem_validate ();
-
       if ((error = hash_validate (h)))
        goto done;