mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-05-09 21:42:09 +02:00
8888bf4fb9
The gro.c packet sender is used for SW testing but bulk of incoming new tests will be HW-specific. So it's better to put them under drivers/net/hw/, to avoid tip-toeing around netdevsim. Move gro.c to lib so we can reuse it. Reviewed-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Link: https://patch.msgid.link/20260318033819.1469350-2-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
26 lines
539 B
Makefile
26 lines
539 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
CFLAGS += -Wall -Wl,--no-as-needed -O2 -g
|
|
CFLAGS += -I../../../../../usr/include/ $(KHDR_INCLUDES)
|
|
# Additional include paths needed by kselftest.h
|
|
CFLAGS += -I../../
|
|
|
|
TEST_FILES := \
|
|
../../../../net/ynl \
|
|
../../../../../Documentation/netlink/specs \
|
|
ksft_setup_loopback.sh \
|
|
# end of TEST_FILES
|
|
|
|
TEST_GEN_FILES := \
|
|
$(patsubst %.c,%.o,$(wildcard *.bpf.c)) \
|
|
csum \
|
|
gro \
|
|
xdp_helper \
|
|
# end of TEST_GEN_FILES
|
|
|
|
TEST_INCLUDES := $(wildcard py/*.py sh/*.sh)
|
|
|
|
include ../../lib.mk
|
|
|
|
include ../bpf.mk
|