Lines Matching +full:2 +full:kb

121 	memset(buf, 2, sizeof(buf));  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()
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()
195 buf[0] = 2; 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()
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()
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()