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 5F81D457D1; Thu, 15 Aug 2024 10:53:14 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E5E854027E; Thu, 15 Aug 2024 10:53:13 +0200 (CEST) Received: from forward103b.mail.yandex.net (forward103b.mail.yandex.net [178.154.239.150]) by mails.dpdk.org (Postfix) with ESMTP id 7B31A4025F for ; Thu, 15 Aug 2024 10:53:12 +0200 (CEST) Received: from mail-nwsmtp-smtp-production-main-10.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-10.sas.yp-c.yandex.net [IPv6:2a02:6b8:c10:2222:0:640:c513:0]) by forward103b.mail.yandex.net (Yandex) with ESMTPS id EAC2260D0E; Thu, 15 Aug 2024 11:53:11 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-10.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id lqDax56kCiE0-xrtX5oA3; Thu, 15 Aug 2024 11:53:10 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1723711990; bh=p1MVSaC/bV8FV8mlwWLhwLZ9K6R5pu2Tsk3FbfJNvF4=; h=Message-Id:Date:Cc:Subject:To:From; b=jc5swA06pF3ixQevLc8Ejjnbww1iePlSzl4P9s+JCHYN3tQFvvSxeR9ne0qPsU8i0 neWy5r/S7jQb04XG3MRix7Vdbt4aZc0vqi9ZBsFQr7DqH1aItHlIWoCecSkld238CC MTaNn1xC9XakQcEWHw2oy1BtKOPTR5mHU/X3O5W8= Authentication-Results: mail-nwsmtp-smtp-production-main-10.sas.yp-c.yandex.net; dkim=pass header.i=@yandex.ru From: Konstantin Ananyev To: dev@dpdk.org Cc: honnappa.nagarahalli@arm.com, jerinj@marvell.com, hemant.agrawal@nxp.com, bruce.richardson@intel.com, drc@linux.vnet.ibm.com, ruifeng.wang@arm.com, mb@smartsharesystems.com, Konstantin Ananyev Subject: [PATCH v2 0/2] examples/l3fwd fixes for ACL mode Date: Thu, 15 Aug 2024 09:52:44 +0100 Message-Id: <20240815085246.1378-1-konstantin.v.ananyev@yandex.ru> X-Mailer: git-send-email 2.25.1 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