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 2C0A4A317C for ; Thu, 17 Oct 2019 13:23:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 08B041E900; Thu, 17 Oct 2019 13:23:12 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id F095F1C13A for ; Thu, 17 Oct 2019 13:23:09 +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 orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Oct 2019 04:23:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,307,1566889200"; d="scan'208";a="396231567" Received: from irsmsx154.ger.corp.intel.com ([163.33.192.96]) by fmsmga005.fm.intel.com with ESMTP; 17 Oct 2019 04:23:06 -0700 Received: from irsmsx104.ger.corp.intel.com ([169.254.5.252]) by IRSMSX154.ger.corp.intel.com ([169.254.12.170]) with mapi id 14.03.0439.000; Thu, 17 Oct 2019 12:23:05 +0100 From: "Ananyev, Konstantin" To: Harman Kalra CC: "dev@dpdk.org" Thread-Topic: [PATCH v2] test/bpf: add new test cases Thread-Index: AQHVc44hfQImn0lRYUaCfG39SZ08+6de0yzw Date: Thu, 17 Oct 2019 11:23:05 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725801A8C6A2AE@IRSMSX104.ger.corp.intel.com> References: <2601191342CEEE43887BDE71AB9772580191969C75@irsmsx105.ger.corp.intel.com> <1569408128-7408-1-git-send-email-hkalra@marvell.com> In-Reply-To: <1569408128-7408-1-git-send-email-hkalra@marvell.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZjA1YzgxMzktNjRkMi00ODJiLWI2N2MtOWU5Yzc5Zjk3NmU0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoieTBlN0NTalNtSmJGOXBWTEFrb2lnMytJTDVoTXBcL2p1UnN0bzE5XC8rQWNTZE9CNnArZm9scU45WkpHcGloc1dZIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] test/bpf: add new test cases 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" > This patch implements following new test cases: > - test_call4: test case to verify if stack corruption occurs > across with multiple function calls. > - test_jump2: test case with a default packet in memory, parse > the packet and check if dest ip is part of a subnet. > - test_call5: test case with string data in the stack and > calling string comaprision. >=20 > Signed-off-by: Harman Kalra > --- > V2 Changes: > * Maintaining uniformity across the code by using cmp_res rather than > individual if statements. >=20 > app/test/test_bpf.c | 619 ++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 619 insertions(+) > -- Acked-by: Konstantin Ananyev > 2.18.0