Re: [PATCH bpf-next 1/1] selftests: drv-net: add XDP RX checksum metadata tests
From: bot+bpf-ci@kernel.org
Date: 2026-07-08 13:28:27
Also in:
bpf
quoted hunk ↗ jump to hunk
diff --git a/tools/testing/selftests/drivers/net/hw/xdp_metadata.py b/tools/testing/selftests/drivers/net/hw/xdp_metadata.py index 33a1985356d9..687c43a1797a 100644 --- a/tools/testing/selftests/drivers/net/hw/xdp_metadata.py +++ b/tools/testing/selftests/drivers/net/hw/xdp_metadata.py
[ ... ]
quoted hunk ↗ jump to hunk
@@ -81,8 +83,22 @@ _RSS_KEY_TYPE = 1 _RSS_KEY_PKT_CNT = 2 _RSS_KEY_ERR_CNT = 3 +_CSUM_KEY_IP_SUMMED = 0 +_CSUM_KEY_CKSUM = 1 +_CSUM_KEY_LEVEL = 2 +_CSUM_KEY_PKT_CNT = 3 +_CSUM_KEY_ERR_CNT = 4 + XDP_RSS_L4 = 0x8 # BIT(3) from enum xdp_rss_hash_type +# Mirror of enum xdp_checksum from include/net/xdp.h +XDP_CHECKSUM_NONE = 0x1 +XDP_CHECKSUM_UNNECESSARY = 0x2 +XDP_CHECKSUM_COMPLETE = 0x4
This isn't a bug, but XDP_CHECKSUM_NONE does not seem to be used anywhere in the test; was it intended to mirror the full enum for documentation, or could it be dropped to match the nearby XDP_RSS_L4 which defines only the bit it uses? [ ... ] --- AI reviewed your patch. Please fix the bug or email reply why it's not a bug. See: https://github.com/kernel-patches/vmtest/blob/master/ci/claude/README.md CI run summary: https://github.com/kernel-patches/bpf/actions/runs/28945032378