When NET_F_F_GRO_FRAGLIST is enabled and bpf_skb_change_proto is used, check if udp packets and tcp packets are successfully delivered to user space. If wrong udp packets are delivered, udpgso_bench_rx will exit with "Initial byte out of range" Signed-off-by: Maciej enczykowski <maze@google.com> Signed-off-by: Lina Wang <lina.wang@mediatek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
15 lines
297 B
Makefile
15 lines
297 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
CLANG ?= clang
|
|
CCINCLUDE += -I../../bpf
|
|
CCINCLUDE += -I../../../../../usr/include/
|
|
|
|
TEST_CUSTOM_PROGS = $(OUTPUT)/bpf/nat6to4.o
|
|
all: $(TEST_CUSTOM_PROGS)
|
|
|
|
$(OUTPUT)/%.o: %.c
|
|
$(CLANG) -O2 -target bpf -c $< $(CCINCLUDE) -o $@
|
|
|
|
clean:
|
|
rm -f $(TEST_CUSTOM_PROGS)
|