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 45273A04B6; Mon, 12 Oct 2020 11:38:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2586D1D66C; Mon, 12 Oct 2020 11:38:33 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 691771D62C for ; Mon, 12 Oct 2020 11:38:30 +0200 (CEST) IronPort-SDR: LqPZ6sKeyKECSeWbL1GkDpVGLmgIotgoAnMkGIpssmC1e2rMGosl72xVwUnpmn1UAXgAsBGH4c FukMME8A1Jwg== X-IronPort-AV: E=McAfee;i="6000,8403,9771"; a="183170526" X-IronPort-AV: E=Sophos;i="5.77,366,1596524400"; d="scan'208";a="183170526" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2020 02:38:27 -0700 IronPort-SDR: xnh6kzUfdCSIUisa8zNtORkc2gH/5xqNSzaluvx94VMGgZ5rn3yd+c5TQlbStqMvpZKqYU/cZh B3ALJgz9Tfhg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,366,1596524400"; d="scan'208";a="345795289" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga008.jf.intel.com with ESMTP; 12 Oct 2020 02:38:27 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 12 Oct 2020 02:38:26 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 12 Oct 2020 02:38:26 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 12 Oct 2020 02:38:26 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.174) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Mon, 12 Oct 2020 02:38:25 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aouSPv3MebL3KvArjM5vHJjQHMLf2Qgq4BRH8FQP5NYdYt20Xp6FzCajO0sYUF0YlBtjEWDCedj9bVkKxy+jZF0yG8gQV4ITbAV3IZ2NKbZxfv31ArVjvwENgFJRW+wItkdSuXzzjUojP0+4z1ijcoMUS5N774Jfg1uq85AksCK/vMkm1BpyOM5RXVC2ZJqZjjS13hrfX/S8b2pVCNGLLM5XLY4a9K9J7vIqrzZpaf3yKZLM2GRXjmpVvtQkc4K2cltDoFaU/2RK0TwP5MzOfGQZygQnHlpOW5DRhfiU4UG0CBqyi2hzWU30NYwbA1WUADrSrh/fNPH0GA3RBZFEUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eG5n++KtasKTtFugvOEFL9xGx9qI5g4AnqdCRzDRUpQ=; b=dWiXxUOao6ilV07u7oauLxRlRzRKrvUezXAQAJV3iherTKomYIG4+eTDBiujO3z63JrBXUms0+Kw5cX0A6An8uJVWy+XSiLANdZf9KVyDf0tUTUHSjHoglNRzy8LmeR06W23hxnovN/jdb74ssWC8vKz/uP0MYxQevYJIFnFQztgbFf56hAkQaewe2KCMjzPO0eK9QOt2TsSvU46l+H8jfO0xtrRf3/gw1bLA3XgvMbG5GZq9sEmYcaTBIyLrdv5JV/akCOLptAWRwiT8Pn3RnkvX842ztwZEYpzibS0xRNVlEG/Xm99+EP1aVLZhbAkpIcjHOOp64lPkb+SG7impQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eG5n++KtasKTtFugvOEFL9xGx9qI5g4AnqdCRzDRUpQ=; b=UFW1IZ9TZZPRxZRMbnJjwu5iw0qP8QmwGpj4qsqOLW/BnKUEpZoh4p2KMtGHCS84UgUwy67EJds9dVo6FPtFBFVHSbMXYi2gMbOFRSnvUUq3KHgiuoP+qGakA4f9cbWdUGw3WZ1NqXQYencQXPdBPAZxwPrdIp5wvQh4bkp+n9A= Received: from SN6PR11MB3101.namprd11.prod.outlook.com (2603:10b6:805:d8::23) by SA2PR11MB5066.namprd11.prod.outlook.com (2603:10b6:806:110::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.21; Mon, 12 Oct 2020 09:38:22 +0000 Received: from SN6PR11MB3101.namprd11.prod.outlook.com ([fe80::2120:9f14:6441:915]) by SN6PR11MB3101.namprd11.prod.outlook.com ([fe80::2120:9f14:6441:915%6]) with mapi id 15.20.3455.028; Mon, 12 Oct 2020 09:38:22 +0000 From: "De Lara Guarch, Pablo" To: Akhil Goyal , "Doherty, Declan" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v4 2/2] test/crypto: add GMAC SGL tests Thread-Index: AQHWnjEP9nwk5NRMvEaEFUZDvnicz6mPT0EAgABIROCAAAJBgIAEIBsQ Date: Mon, 12 Oct 2020 09:38:22 +0000 Message-ID: References: <20200922103430.128456-1-pablo.de.lara.guarch@intel.com> <20201009114029.190540-1-pablo.de.lara.guarch@intel.com> <20201009114029.190540-2-pablo.de.lara.guarch@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [92.176.212.90] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d47a68ca-fc5a-4ca7-b864-08d86e928fb2 x-ms-traffictypediagnostic: SA2PR11MB5066: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: txFVLI2ZI3nfWBcK3OU+KZhtLFbnlBBPQAmE5u4+2bXBeML4ukVxkNnL6rTDnQGB8ZrEh10gcTaqPS+1ADb5jCpaC5kHrYQj3XkmZlWHmxcGq9YAmvD6RdeSp4DikRtqyZu0XwWumYa7ZRvXt5FLtTr0mtIMW3PqogmTdvD7h5c3vouR3sVuJaIDMoWmZ+GCgx8wWfkjv95HDTbRO49cgme6AvDpQU3Ku/qU+yJmwDWcCX6qa5kRRUhPb2qhwrIYQsf4IB500JYW5kO/9NoKUvxJd7WfTW0ORWjch/OMxepJ0A22QF15z2YtCDcYqn2hZV9HblAIOEYAmVonhEiM1A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3101.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(39860400002)(376002)(396003)(366004)(136003)(66556008)(64756008)(316002)(55016002)(6636002)(76116006)(66476007)(66946007)(478600001)(52536014)(2906002)(66446008)(7696005)(6506007)(26005)(53546011)(186003)(71200400001)(33656002)(83380400001)(8676002)(5660300002)(86362001)(9686003)(4326008)(110136005)(8936002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: vwL5tgHmN6JHN3Owdxj0oBnJdRUbgjPBYypmA1d2m11jm9mNgJ7YyiN1+v3KTEkIYHZ29JH9v6QKXzWR7vSqUVCMadMYCdOWH9j8biFG70LJCRx2pU1ChpmaI5PHoAytkW3RZlyfoA/HfQPIgNAkt6TSDtMq7EZoXTx/MUcekFxsqvrd2p3+pO4OsOEm/bVEDykjPky8ijVkkZf79amCMbOsiTgcIpWxc1y/LZmKC1bxKy04ix2jCchXEOCiH8uHiX5GHK0ObNmTSE6Tm0qqshwfWa3WEiAKoJEJCrYod2hYCsSI+eh45M51mHC10G2ffPkBRRWha9uLC41Kmqde6GdzbQJYYdDPW6jDH3JRbHXc4x9xpmyF0eW4ggt/zC1WpS9AwJ2EUwn03AfBJNAbKMwfiywG2fIttxNax38Djnpxw5Ia+s/3SU5CaL/PK2zy1mAfVI2FnlsJACrY1EYYTGBjCLL5q2YA7VLn3Bd47q+mC/Etv3FTEzPF1Oj3v9FKW7yW/YuJZVNnjV4lDkE7tCu4M7ULySlxia1AFlOFtAFFZEcixseWlg5wyHRjKBXGPz/NXKmWLvZJgznphRqgUXg5AqfWehSvsm7e0qWFY66lbudEOU0xNu3zTfs5P/xajcq+BA/1r4hvAJSPDLKSbA== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB3101.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d47a68ca-fc5a-4ca7-b864-08d86e928fb2 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Oct 2020 09:38:22.6601 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: MczI7qb5lb6e/dgZhiuoIUgqLZJ8hDiEwAyuA9QTX5f7AXpWCdQWA4YkSv8DZYFLc7p9+mzr4vg64j1wwNL4lzp/zZNb0pPx3QH2IAlROb4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB5066 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v4 2/2] test/crypto: add GMAC SGL tests 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" Hi Akhil, > -----Original Message----- > From: Akhil Goyal > Sent: Friday, October 9, 2020 7:36 PM > To: De Lara Guarch, Pablo ; Doherty, Decl= an > > Cc: dev@dpdk.org > Subject: RE: [dpdk-dev] [PATCH v4 2/2] test/crypto: add GMAC SGL tests >=20 > Hi Pablo, >=20 > > Hi Akhil, > > > > > > diff --git a/app/test/test_cryptodev.h b/app/test/test_cryptodev.h > > > > index 41542e055..57003733b 100644 > > > > --- a/app/test/test_cryptodev.h > > > > +++ b/app/test/test_cryptodev.h > > > > @@ -17,9 +17,9 @@ > > > > #define DEFAULT_NUM_QPS_PER_QAT_DEVICE (2) > > > > #define DEFAULT_BURST_SIZE (64) > > > > #define DEFAULT_NUM_XFORMS (2) > > > > -#define NUM_MBUFS (8191) > > > > +#define NUM_MBUFS (4095) > > > > #define MBUF_CACHE_SIZE (256) > > > > -#define MBUF_DATAPAYLOAD_SIZE (2048 + > > > > DIGEST_BYTE_LENGTH_SHA512) > > > > +#define MBUF_DATAPAYLOAD_SIZE (4096 + > > > > DIGEST_BYTE_LENGTH_SHA512) > > > > #define MBUF_SIZE (sizeof(struct rte_mbuf) + \ > > > > RTE_PKTMBUF_HEADROOM + MBUF_DATAPAYLOAD_SIZE) > > > > > > > Why are these changes done? Any specific requirement for GMAC? I > > > believe > > > 2048 is also good enough. > > > > I needed to reduce the maximum number of segments for the SGL tests, > > since Intel QAT PMD does not support more than 16, and this way both > > PMDs can be tested with the new tests. > > > What is your packet size. I believe 16 segments of 2K means 32KB of data = which > Should be more than enough for testing. Right? Can we reduce the length o= f > vector? >=20 > But by changing the MBUF_DATAPAYLOAD_SIZE to 4K would change the > behavior of Other cases. Isn't it? Right. I will send another version reducing the length of the vector (I'll = add another test case with 32KB of data, instead of 64KB, so we don't need to change the mbuf size). Thanks, Pablo >=20 > Regards, > Akhil >=20