Lines Matching +full:1 +full:kb
17 .repeat = 1, in test_xdp_adjust_tail_shrink()
52 .repeat = 1, in test_xdp_adjust_tail_grow()
90 .repeat = 1, in test_xdp_adjust_tail_grow2()
102 memset(buf, 1, sizeof(buf)); in test_xdp_adjust_tail_grow2()
113 ASSERT_EQ(buf[0], 1, "case-64-data buf[0]"); /* 0-63 memset to 1 */ in test_xdp_adjust_tail_grow2()
114 ASSERT_EQ(buf[63], 1, "case-64-data buf[63]"); in test_xdp_adjust_tail_grow2()
117 ASSERT_EQ(buf[128], 1, "case-64-data buf[128]"); /* 128-191 memset to 1 */ in test_xdp_adjust_tail_grow2()
118 ASSERT_EQ(buf[191], 1, "case-64-data buf[191]"); in test_xdp_adjust_tail_grow2()
166 if (!ASSERT_OK_PTR(buf, "alloc buf 9Kb")) in test_xdp_adjust_frags_tail_shrink()
179 ASSERT_OK(err, "9Kb-10b"); in test_xdp_adjust_frags_tail_shrink()
180 ASSERT_EQ(topts.retval, XDP_TX, "9Kb-10b retval"); in test_xdp_adjust_frags_tail_shrink()
181 ASSERT_EQ(topts.data_size_out, exp_size, "9Kb-10b size"); in test_xdp_adjust_frags_tail_shrink()
184 buf[0] = 1; in test_xdp_adjust_frags_tail_shrink()
190 ASSERT_OK(err, "9Kb-4Kb"); in test_xdp_adjust_frags_tail_shrink()
191 ASSERT_EQ(topts.retval, XDP_TX, "9Kb-4Kb retval"); in test_xdp_adjust_frags_tail_shrink()
192 ASSERT_EQ(topts.data_size_out, exp_size, "9Kb-4Kb size"); in test_xdp_adjust_frags_tail_shrink()
200 ASSERT_OK(err, "9Kb-9Kb"); in test_xdp_adjust_frags_tail_shrink()
201 ASSERT_EQ(topts.retval, XDP_TX, "9Kb-9Kb retval"); in test_xdp_adjust_frags_tail_shrink()
202 ASSERT_EQ(topts.data_size_out, exp_size, "9Kb-9Kb size"); in test_xdp_adjust_frags_tail_shrink()
230 if (!ASSERT_OK_PTR(buf, "alloc buf 16Kb")) in test_xdp_adjust_frags_tail_grow()
234 memset(buf, 1, 16384); in test_xdp_adjust_frags_tail_grow()
243 ASSERT_OK(err, "9Kb+10b"); in test_xdp_adjust_frags_tail_grow()
244 ASSERT_EQ(topts.retval, XDP_TX, "9Kb+10b retval"); in test_xdp_adjust_frags_tail_grow()
245 ASSERT_EQ(topts.data_size_out, exp_size, "9Kb+10b size"); in test_xdp_adjust_frags_tail_grow()
248 ASSERT_EQ(buf[i], 1, "9Kb+10b-old"); in test_xdp_adjust_frags_tail_grow()
251 ASSERT_EQ(buf[i], 0, "9Kb+10b-new"); in test_xdp_adjust_frags_tail_grow()
254 ASSERT_EQ(buf[i], 1, "9Kb+10b-untouched"); in test_xdp_adjust_frags_tail_grow()
257 memset(buf, 1, 16384); in test_xdp_adjust_frags_tail_grow()
265 ASSERT_OK(err, "9Kb+10b"); in test_xdp_adjust_frags_tail_grow()
266 ASSERT_EQ(topts.retval, XDP_DROP, "9Kb+10b retval"); in test_xdp_adjust_frags_tail_grow()
267 ASSERT_EQ(topts.data_size_out, exp_size, "9Kb+10b size"); in test_xdp_adjust_frags_tail_grow()