|WARNING| pw140025 [PATCH] bpf: don't verify classic bpfs

checkpatch at dpdk.org checkpatch at dpdk.org
Sun May 12 07:53:02 CEST 2024


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/140025

_coding style issues_


WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#98: 
I noticed that when classic BPFs with lots of branching instructions are compiled, __rte_bpf_bpf_validate runs way too slow. A simple bpf such as: 'ether host a0:38:6d:af:17:eb or b3:a3:ff:b6:c1:ef or ...' 12 times results in ~1 minute of bpf validation. This patch makes __rte_bpf_bpf_validate be aware of bpf_prm originating from classic BPF, allowing to safely skip over the validation.

ERROR:TRAILING_WHITESPACE: trailing whitespace
#151: FILE: lib/bpf/bpf_load.c:119:
+^I$

total: 1 errors, 1 warnings, 39 lines checked


More information about the test-report mailing list