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 A9717456F7; Tue, 30 Jul 2024 15:57:59 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 398A14025C; Tue, 30 Jul 2024 15:57:59 +0200 (CEST) Received: from forward500b.mail.yandex.net (forward500b.mail.yandex.net [178.154.239.144]) by mails.dpdk.org (Postfix) with ESMTP id 2418F400D7 for ; Tue, 30 Jul 2024 14:22:46 +0200 (CEST) Received: from mail-nwsmtp-smtp-production-main-42.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-42.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:3c91:0:640:38da:0]) by forward500b.mail.yandex.net (Yandex) with ESMTPS id 1148561443; Tue, 30 Jul 2024 15:22:45 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-42.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id cMUdT3ZoOSw0-Zm24wmwJ; Tue, 30 Jul 2024 15:22:44 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1722342164; bh=p1MVSaC/bV8FV8mlwWLhwLZ9K6R5pu2Tsk3FbfJNvF4=; h=Message-Id:Date:In-Reply-To:Cc:Subject:References:To:From; b=j5jzDlaKasf474PFbYAnrAf1r0e2GnOWieyGfZFaWsqdzUh+tEr62jEFdwcivkE6P LUUSXRyqK2KYw3GYyMJQoQKex2pu76ilCiNU91iFi60CjyzQUOCe1JK/U0itdrxNq5 Mm6FhUas9Ngjf8vj0R2nN+2Mc1A+TqQ+zDECG1bo= Authentication-Results: mail-nwsmtp-smtp-production-main-42.myt.yp-c.yandex.net; dkim=pass header.i=@yandex.ru From: Konstantin Ananyev To: dev@dpdk.org Cc: songx.jiale@intel.com, Konstantin Ananyev Subject: [PATCH v2 0/2] examples/l3fwd fixes for ACL mode Date: Tue, 30 Jul 2024 13:22:33 +0100 Message-Id: <20240730122235.1084-1-konstantin.v.ananyev@yandex.ru> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240726194302.920-1-konstantin.v.ananyev@yandex.ru> References: <20240726194302.920-1-konstantin.v.ananyev@yandex.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Konstantin Ananyev As Song Jiale pointed outprevious fix is not enough to fix the problem he is observing with l3fwd in ACl mode: https://bugs.dpdk.org/show_bug.cgi?id=1502 This is a second attempt to fix it. Konstantin Ananyev (2): examples/l3fwd: fix read beyond array bondaries examples/l3fwd: fix read beyond array boundaries in ACL mode examples/l3fwd/l3fwd_acl.c | 37 ++++++++++++++++++++-------- examples/l3fwd/l3fwd_altivec.h | 6 ++++- examples/l3fwd/l3fwd_common.h | 7 ++++++ examples/l3fwd/l3fwd_em_hlm.h | 2 +- examples/l3fwd/l3fwd_em_sequential.h | 2 +- examples/l3fwd/l3fwd_fib.c | 2 +- examples/l3fwd/l3fwd_lpm_altivec.h | 2 +- examples/l3fwd/l3fwd_lpm_neon.h | 2 +- examples/l3fwd/l3fwd_lpm_sse.h | 2 +- examples/l3fwd/l3fwd_neon.h | 6 ++++- examples/l3fwd/l3fwd_sse.h | 6 ++++- 11 files changed, 55 insertions(+), 19 deletions(-) -- 2.35.3