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 F2D5CA0543; Tue, 25 Oct 2022 09:21:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9DFF642B6C; Tue, 25 Oct 2022 09:21:16 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id DF871410FB for ; Tue, 25 Oct 2022 09:21:15 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29P096Bs015304 for ; Tue, 25 Oct 2022 00:21:14 -0700 Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2175.outbound.protection.outlook.com [104.47.56.175]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3kcdvrj7qx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 25 Oct 2022 00:21:14 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SQu30jSkOfE9nFONZXrC/RE4CRtyemkqR1Wu4Gd94UShUcm3q/7GxqJhAjoDKvjjQIuWCNiALZskVcsAFgG1SDnk28+/94aqWxWWuiw5FQ4GiWff1wUv+2SrZ5UWgHE4i81OpTTfXpHGittyLHoYu9sW6USiJ7jqTue3YQ8LG5uqMFsOznTpag8jd3yhzHnwa+ENUPfbwteB2ZtmnWMUJD2mlQbV2xo5RalhU8POCj+8o2dGn2aHacLrIORTVUnJ4JYFcfx55sVX34Ct+tuaGkaoowbQGm4iaONXdZvnT3YI2MkIG7yPyWoRE/xLm4md24liRK78mOcN5gdI7+5ehQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=z+edGY6IrKm3g0JDcT18sbkHO0PnCySFGQoXL6W9bjU=; b=WZc1h+3eH0C1y7nQxgCK7BLqzC3o/iB2C9Yxz7vMolK2wVibF9DPthaipPLn0nea3+O8SxF8HwdTmgbAx5fl89lP/jjD6T4p9yfSSYizXcgCjVhuDpGy4QcQLj7CuutuHmOEZhjJyz3cdLvsWr90kYCBQTNQB8dZV5817OMZMH1nb/cxfZM6jR1xmt9cFQ4hP7T5nwoKonof4Nrj/QHbNQ6TLxjwKDLsFiQrPvG6VsfzsNfLBd/4PpTP42Ht2WowMyNN3y8jYjuEig8EY1rtPfY2/Z/hNeSDUMZei40xTQ/oF52B/+ar60G6pAWMWmYSSdMrgtRZMI9i/9+u6wvMig== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=z+edGY6IrKm3g0JDcT18sbkHO0PnCySFGQoXL6W9bjU=; b=sVsGnrmSXeWfor5g6n0wAPcXijAPXi4raONkO0wwMXzHbDGoyek6tUfNUhY2uoTsibKmpp+W+yRnR7yY/0hwsHb7qdy6oI7TGGn4aSwvgO9BWy8dL9qPsxMqMR90PrUHfxw+oRG00FD82EZCnGPOL7PTDQzc+lgdWOWVmRdDUoQ= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by DM8PR18MB4517.namprd18.prod.outlook.com (2603:10b6:8:39::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Tue, 25 Oct 2022 07:21:13 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::8c4f:e24e:332d:dc6d]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::8c4f:e24e:332d:dc6d%3]) with mapi id 15.20.5746.021; Tue, 25 Oct 2022 07:21:13 +0000 From: Akhil Goyal To: Tejasree Kondoj CC: Anoob Joseph , Vidya Sagar Velumuri , "dev@dpdk.org" Subject: RE: [PATCH 11/13] crypto/cnxk: switch to SG when metabuf is allocated Thread-Topic: [PATCH 11/13] crypto/cnxk: switch to SG when metabuf is allocated Thread-Index: AQHY5HU2348Qi1IogUulzCBi2D/6f64et7LA Date: Tue, 25 Oct 2022 07:21:13 +0000 Message-ID: References: <20221020111453.1982947-1-ktejasree@marvell.com> <20221020111453.1982947-5-ktejasree@marvell.com> In-Reply-To: <20221020111453.1982947-5-ktejasree@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB4484:EE_|DM8PR18MB4517:EE_ x-ms-office365-filtering-correlation-id: 1863bc4f-3890-4c4b-3a57-08dab6597f55 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: b4TIZG+hhfQqPhIYufuw+q1Dn+JWKWFrUHUFOO0jk+zQHbi15uhYChtLPWA+UB2LjzCRtYRf4KP2nBvEQ4WCg9kmGoRpxMrjAplr1TzOKJjNYebJPW+A0eCUFV2z2dD5TQwlbCQPwCsbmOITVLUnudf0L4bmJ6FpJaarIbj3TQA03d7WPqpTj/ODPIowPmpzDniOtDenEnBqFTcawAIfb1nJWmDAcGCnktLlmcy+0ccfdROVbooDUJts8uMyX8CnQbIS3C13FtQeFa3oB2e69wlVp8cZVcwlTC5lFoGLp1aq0fzTwM+89eLGNZ6daf7GQzIgJ3Y4pS+102KbCPfWwcJ/05B07eOcEBMN06JiHZaohy6BqGfHQplhXpzlpz6wtw41fYhy704ZfZW8b9eOiYSn4A7TClqZxEAizt1gVAZaLRz8rhcQJGjMk3UpwebGiLrcJTC8WOK4CGSq6O8x+TyXK/f8mjP7mmZiLB25TshdMZ5WAczJxqlX9MhyN4w6hmcuzfL/vaD2YQZMw3USoZA2ITWYKwa8LRw3QcF0PDJnLnpOu4g2nueHhstr/L0+ULG8QjeJt1M+HaQtNUhLrqXZrtbcNQUQsnF16YiBfXtighicK8Zfo/MiMYYZXT7kL8yJWlBePU7RlZ9dsOFtXtHVdx7WMyqbnU+pFEHaC9y0WSv6XYwPMg8+mbH7p4jv0sPpHzSbJwZ0YQsHY/turs0RU92yG4TwxP4gEpfcgaP4Qjf3USakMnph2gP2Fx6T8GKzBE2eegOPV/87Af5sBQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(366004)(136003)(376002)(396003)(39860400002)(346002)(451199015)(38070700005)(33656002)(86362001)(186003)(122000001)(38100700002)(2906002)(6862004)(4744005)(8936002)(5660300002)(76116006)(66556008)(66446008)(52536014)(8676002)(83380400001)(41300700001)(7696005)(6506007)(55236004)(26005)(54906003)(316002)(478600001)(71200400001)(64756008)(6636002)(66476007)(4326008)(66946007)(9686003)(55016003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?hBjlOWduHt2wOSmQUvNkQ50dNsrNHufa4SHO3RpN4AbAaYaCDpPW7YEpaBz1?= =?us-ascii?Q?KmqNka1F0iVtnwPkYpf4b++gu8KLxnN7CDFdURJb3osXKnL09gQZzEE5nnxH?= =?us-ascii?Q?YCx7fS92SYotxfpo6eUgxFM4qjsxV2sXu6d231vmv5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SldSg6oAFW53sOJUW0dzUAR/SatP9HWESJ4alu00hL?= =?us-ascii?Q?cG29c+8hTRkQrPUYauMF+OzcuKlHAd8IUloERx894IUrrXxHOSOmd+n9ToZN?= =?us-ascii?Q?3G8Pmt08A3cczw2HEV6PFn9GdLkNGtLcPdVt7bZUu9XF4PiqFwAC9CLGTvnG?= =?us-ascii?Q?TW4+CGjJTFElJ9wS3Rf0ZaRDLhDZUSERsv2qGQYW/PeVFrK+tvE1jq65mwIT?= =?us-ascii?Q?Rewj9iuHXMhZ1J1ZqOtDc9/cuj/WKwR3n5LxR1x6rdIYlm/KgwJk5HuX9YyP?= =?us-ascii?Q?5IuBXEnLI+LpGNHQ54qDFJp01SKw9yM7kAX37eLiRINQl8fHVFhotmlD6bbl?= =?us-ascii?Q?FE4RFV4R/lp6DrG4K8bZ0qJIk5xpv5h+lg+UUcoe4/zFjn1mBDNW+xRFTs5T?= =?us-ascii?Q?K0uBz6QU5Cr1L+W8FwTFNDL/RZfEbIEIEP8G43ZhiRsOke7q2A4km/foSEH8?= =?us-ascii?Q?Z2fUTDVXG4JtufCARYPt11VQpUvlgUg26Rc9eFQSzz3bTB+s27Vbru5T2PwW?= =?us-ascii?Q?VH+XwcbR0XikNY56XZmKUsqeEhPxRx7FyP+acTXx?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1863bc4f-3890-4c4b-3a57-08dab6597f55 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Oct 2022 07:21:13.0358 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: a0AEZgfMxRJrRpCpqePHo01H70/arfgzBQhichkmOi7RpGzgTYzWzeMXNfYrCfNA/h9Ob3tlbwK2zO0bqKRyRA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR18MB4517 X-Proofpoint-GUID: rpJE3fO_kn7dmVutBfjE6iVg75W8iy6g X-Proofpoint-ORIG-GUID: rpJE3fO_kn7dmVutBfjE6iVg75W8iy6g X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-25_02,2022-10-21_01,2022-06-22_01 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 > Subject: [PATCH 11/13] crypto/cnxk: switch to SG when metabuf is allocate= d >=20 > From: Anoob Joseph >=20 > Metabuf would be allocated only when SG is required. Check the pointer > instead of flags. >=20 > Coverity issue: 381018 > Fixes: d3bff77cc371 ("crypto/cnxk: separate out PDCP chain datapath") >=20 > Signed-off-by: Anoob Joseph This patch is removed from the dpdk-next-crypto as it is causing build fail= ures on RHEL 7/8. Please resubmit after fixing.