From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5C52844008 for ; Sun, 12 May 2024 07:53:04 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5624340268; Sun, 12 May 2024 07:53:04 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 1DD724003C for ; Sun, 12 May 2024 07:53:03 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 04EB2121E57; Sun, 12 May 2024 07:53:02 +0200 (CEST) Subject: |WARNING| pw140025 [PATCH] bpf: don't verify classic bpfs In-Reply-To: <20240512055109.96609-1-yoav.w@claroty.com> References: <20240512055109.96609-1-yoav.w@claroty.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Yoav Winstein Message-Id: <20240512055303.04EB2121E57@dpdk.org> Date: Sun, 12 May 2024 07:53:02 +0200 (CEST) X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org 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