Home
last modified time | relevance | path

Searched refs:GSO_SIZE (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/net/
H A Ddouble_udp_encap.sh225 pkts=$((total_size / GSO_SIZE))
228 elif [ $((total_size % GSO_SIZE)) -eq 0 ]; then
230 rx_args+=("-l" "$GSO_SIZE")
306 GSO_SIZE=1340 # 1392 - 20 - 32
310 GSO_SIZE=1280 # 1352 - 40 - 32
322 run_test "No GSO - $ENCAP" $((GSO_SIZE * 4)) 4 4
326 run_test "GSO without GRO - $ENCAP" $((GSO_SIZE * 4)) \
336 $((GSO_SIZE * 4)) 4 4
343 run_test "double tunnel GRO, no hints" $((GSO_SIZE * 4)) 4
352 run_test "double tunnel GRO" $((GSO_SIZE * 4)) 1
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlwt_ip_encap.c342 #define GSO_SIZE 5000 macro
348 char gso_packet[GSO_SIZE] = {}; in test_gso_fix()
383 bytes = send(cfd, gso_packet, GSO_SIZE, 0); in test_gso_fix()
384 if (!ASSERT_EQ(bytes, GSO_SIZE, "send packet")) in test_gso_fix()
388 bytes = read(afd, gso_packet, GSO_SIZE); in test_gso_fix()
389 if (!ASSERT_EQ(bytes, GSO_SIZE, "receive packet")) in test_gso_fix()