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 65507A04BC; Fri, 9 Oct 2020 20:36:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0402A1D183; Fri, 9 Oct 2020 20:36:24 +0200 (CEST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140055.outbound.protection.outlook.com [40.107.14.55]) by dpdk.org (Postfix) with ESMTP id 376C31D172 for ; Fri, 9 Oct 2020 20:36:22 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EQWp47cp+MEabyl0OaArCUE5YdM+hyHPnl/kRs2rTDGR9MXGMYGzxfGz7ON+FkACL2ZhuyoHaItUPyNY8jF9gIJZqkIKb8eUimxEuxjoNwTq9X7pD1weEZisxmd7kL3AWp4U6bpXSPpWnOG6BlVfulhm0i03iDBPaYRw7d/5QwpKey3P4zlB9f1tTx5EQQ0gwvsO7pqkQgVnHizly5rfvKAUpLJmqncDQ+O4WI6rfjE1kIENL9p/ZHhkSR7URKaE8/u8CtEtSMRC2C1TxotMgcngnlvN4bUBEXuHWjIwG6Oe8KH/0KULFkV5xq/KN8MkLY7VQpE73i8hNW6LxrhlTg== 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=ESEtokf7q3LPwiFASc2Ew+4SABy6ZGF/ml5gCk80drQ=; b=AfZDIFcH/615uJyuwquWlVA04GEpDyH0hBaqt4GeQoya8ZN0E/7H/8Kbnj1pXmatImN28K6V+YMloISsBpGJ/fogNaE2+DConEYpHIDWhWV877KK4Ddzz8UMVEZhB/WKh4oWDYNrrBjYiXzoEhNa0f+WTLHvgUXq/tgmvdPEcm/YC02dRj8UwArNJq91RiuK8KM/d+kXO3gqUtDXEZDv5rBLlCA7tpAs7JdCHgkK39g3MoEgDZ7Wa/dAv3/T9YWmQPxZFyF/LKF1+eTMLcv7EaCD2rtr3UOJ4co7cXYaxthuul+Dj0DkIJvi+omhkISgO6Mm6SoOuTvDrl0UktvZ7w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ESEtokf7q3LPwiFASc2Ew+4SABy6ZGF/ml5gCk80drQ=; b=NYp2PabM2IlkHGr2wyNGnW2+1wcBa8I9/z+sTBLMfSUGqvS/cFuDIeImEday6nN20me+pJg3gGwjEsZQZHKEHUGlcOKxY6HwJtj8X8yBcYKkOCGBDvAbfkeGFIUodANoLYuSLHwEXOIgz5zmnk+Q1hSDt/xmA1uU7mnBe/Ghgy8= Received: from VI1PR04MB3168.eurprd04.prod.outlook.com (2603:10a6:802:6::10) by VI1PR04MB4367.eurprd04.prod.outlook.com (2603:10a6:803:4e::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.23; Fri, 9 Oct 2020 18:36:20 +0000 Received: from VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::9513:3b55:931f:216e]) by VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::9513:3b55:931f:216e%4]) with mapi id 15.20.3433.045; Fri, 9 Oct 2020 18:36:20 +0000 From: Akhil Goyal To: "De Lara Guarch, Pablo" , "Doherty, Declan" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v4 2/2] test/crypto: add GMAC SGL tests Thread-Index: AQHWnjEQLXB7oF27oUOgJi+jEAWiZKmPTsZQgABJuYCAAABCAA== Date: Fri, 9 Oct 2020 18:36:19 +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-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [122.180.231.103] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 003db820-54d8-44aa-6a3c-08d86c823734 x-ms-traffictypediagnostic: VI1PR04MB4367: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ppubvGK3+y81SKcSAL86mXU1gPgTdfr+X8J6oxEZBdN0GFG0nuPcv6EFfxOxEyKUgBtKShiVKn7O51n0ty8ehNKYVnFRqomVWHoijvbKyZWuiW8Sbxi+efbdhnuiHrdJdNk6I3QHUtPG02Pv9q9HSriaDuWNOchtughI9VUzO13kajJTbZhYTXSxObTQvJC5P1IKfaSeOdvamurS4mbnNgPEKNip7L48ea92uyk8zgVEkHTanwGtHQzOXvLmxDEvIM51UgCInRjz3Pr12TjldPo/ou0aX/5LXzrE4ygtCWSIyN0ingX2AfaAOibyk4OiZPCnw3jQozmbfJzR2ACyJw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB3168.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(376002)(396003)(346002)(39860400002)(136003)(76116006)(5660300002)(8676002)(66946007)(71200400001)(86362001)(4326008)(55016002)(8936002)(110136005)(2906002)(316002)(52536014)(26005)(9686003)(6506007)(64756008)(66556008)(478600001)(186003)(44832011)(66476007)(66446008)(33656002)(7696005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: vJ73J8cyQldnd5zX0FN1INLJqMIOgSJTQzftS8ayd8oAJaPh8aq+qIpmxh5WOHWfbyljqa/nJPefwgnWvbxAABmckK4AGC74EATca9/C2XxZTXcVPiIIhLWfSi130PBDqG2BOt5bbDUvvgc6R0SojUmDyPpDpNziVwLPKHWeeVVD/3iMGRsGIkPhoGofDacBaBKUc76Nx97l9FvpPnkfL4Qga+0JZoerZBAVjBvNMr1Mb60XcKcEty8nUdtBRwTQFDFmifWYCFMafKwkbV1IOpfuEF9pvfIavE3+dZxI4tpyUp8AZqiBwjwvQtAeaMJoZjA4lMsLmtzIiQoH0mmqgW/HS75RqoPY0YLS+/HuZY6Zephn5ukpQZ70ZqIYYJkNi7katwuNSMdDsx8x+Jo4Z6O1cmVMtMtz8sV/XlkKwG968eSSQXImaDoFEfSxOt8WyaK26w1Cl0d52qohMu57p3zyL9n6B91HeKCUKwYgVS6ECGrHMTTDJ9I+rCYxAKPHi0QreArkgX4pX33C3aJE+DraPjPL6IMxVhQ5qeiPumcnCblHGJTHY55PS0MSHqtMLehF2Zqqn00Hu5/bwlcXgKK/aXyQZ/YJwHLVKZywA61b7vkS3yHWTvv0iR1Oq4TxvBUvwJNDBFuSWuK4vle6Dw== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3168.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 003db820-54d8-44aa-6a3c-08d86c823734 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Oct 2020 18:36:19.9785 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: e/b2lNeN7xkglG87f6kEZ/2wdjmZ2iX4rvTOPv7xLcgpRzVHLgbxoUsrlcRlYSw5zFBdf9i0xA5Fqar2/BKDog== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4367 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 Pablo, > Hi Akhil, >=20 > > > 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 believ= e > > 2048 is also good enough. >=20 > I needed to reduce the maximum number of segments for the SGL tests, sinc= e > Intel QAT PMD does not support more than 16, and this way both PMDs can b= e > tested with the new tests. >=20 What is your packet size. I believe 16 segments of 2K means 32KB of data wh= ich Should be more than enough for testing. Right? Can we reduce the length of = vector? But by changing the MBUF_DATAPAYLOAD_SIZE to 4K would change the behavior o= f Other cases. Isn't it? Regards, Akhil