Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_check_mtu.c14 volatile const int GLOBAL_USER_MTU; variable
50 if (mtu_len != GLOBAL_USER_MTU) in xdp_use_helper()
71 delta = GLOBAL_USER_MTU - (data_len - ETH_HLEN) + 1; in xdp_exceed_mtu()
144 __u32 mtu_len = GLOBAL_USER_MTU; in xdp_input_len_exceed()
168 if (mtu_len != GLOBAL_USER_MTU) in tc_use_helper()
186 delta = GLOBAL_USER_MTU - (skb_len - ETH_HLEN) + 1; in tc_exceed_mtu()
213 delta = GLOBAL_USER_MTU - (data_len - ETH_HLEN) + 1; in tc_exceed_mtu_da()
259 __u32 mtu_len = GLOBAL_USER_MTU; in tc_input_len()
280 __u32 mtu_len = GLOBAL_USER_MTU; in tc_input_len_exceed()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcheck_mtu.c114 skel->rodata->GLOBAL_USER_MTU = mtu; in test_check_mtu_xdp()
167 skel->rodata->GLOBAL_USER_MTU = mtu; in test_check_mtu_tc()