From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 60CFCA0613 for ; Tue, 24 Sep 2019 19:03:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 10EA52C57; Tue, 24 Sep 2019 19:03:40 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id B46922C18 for ; Tue, 24 Sep 2019 19:03:37 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Sep 2019 10:03:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,544,1559545200"; d="scan'208";a="388924017" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by fmsmga005.fm.intel.com with ESMTP; 24 Sep 2019 10:03:35 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.164]) by IRSMSX152.ger.corp.intel.com ([169.254.6.150]) with mapi id 14.03.0439.000; Tue, 24 Sep 2019 18:03:34 +0100 From: "Ananyev, Konstantin" To: "jerinj@marvell.com" , "dev@dpdk.org" CC: "honnappa.nagarahalli@arm.com" , "thomas@monjalon.net" , "gavin.hu@arm.com" Thread-Topic: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support Thread-Index: AQHVYkau4z+kbQypC0mSJ0CaQHdhxqc7LuLg Date: Tue, 24 Sep 2019 17:03:34 +0000 Message-ID: <2601191342CEEE43887BDE71AB9772580191969C51@irsmsx105.ger.corp.intel.com> References: <20190903105938.33231-1-jerinj@marvell.com> In-Reply-To: <20190903105938.33231-1-jerinj@marvell.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNWQyYTNiOTAtNTM5Yy00MmMwLWI5YzUtMDRiYjJlMTExNzc0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiZmowMHd6UUhvVk9oSDc1UUl2dTI1UGx6bkttVzZoSEYxVHlEajZheFVvWmlXbVNra1JzVGd0UFVFMjZEbTFuRSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 0/8] eBPF arm64 JIT support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" >=20 > Added eBPF arm64 JIT support to improve the eBPF program performance > on arm64. >=20 > dpdk.org/examples/bpf/t1.c application shows around 50% improvement > on OCTEON TX2 platform in JIT vs interpreter mode. >=20 > Verified the implementation using existing bpf_autotest application. >=20 > # echo "bpf_autotest" | sudo ./build/app/test -c 0x3 >=20 > RTE>>bpf_autotest > run_test(test_store1) start > run_test(test_store2) start > run_test(test_load1) start > run_test(test_ldimm1) start > run_test(test_mul1) start > run_test(test_shift1) start > run_test(test_jump1) start > run_test(test_alu1) start > run_test(test_bele1) start > run_test(test_xadd1) start > run_test(test_div1) start > bpf_exec(0xffffa37c0000): division by 0 at pc: 0x68; > run_test(test_call1) start > run_test(test_call2) start > run_test(test_call3) start > Test OK >=20 > Jerin Jacob (8): > bpf/arm64: add build infrastructure > bpf/arm64: add prologue and epilogue > bpf/arm64: add basic arithmetic operations > bpf/arm64: add logical operations > bpf/arm64: add byte swap operations > bpf/arm64: add load and store operations > bpf/arm64: add atomic-exchange-and-add operation > bpf/arm64: add branch operation >=20 > MAINTAINERS | 1 + > doc/guides/prog_guide/bpf_lib.rst | 2 +- > doc/guides/rel_notes/release_19_11.rst | 5 + > lib/librte_bpf/Makefile | 2 + > lib/librte_bpf/bpf.c | 4 +- > lib/librte_bpf/bpf_impl.h | 3 +- > lib/librte_bpf/bpf_jit_arm64.c | 1451 ++++++++++++++++++++++++ > lib/librte_bpf/meson.build | 2 + > 8 files changed, 1466 insertions(+), 4 deletions(-) > create mode 100644 lib/librte_bpf/bpf_jit_arm64.c >=20 > -- Series Acked-by: Konstantin Ananyev > 2.23.0