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 98C6B43C27; Sat, 2 Mar 2024 02:01:14 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 639664025D; Sat, 2 Mar 2024 02:01:14 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.15]) by mails.dpdk.org (Postfix) with ESMTP id 8E8AB4025C for ; Sat, 2 Mar 2024 02:01:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1709341272; x=1740877272; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=Gx1NUkPzXGxpq6FoEMtR7W8N9/umtY4rs+YP/Zg7lsA=; b=M6kfDFDiUBY+qf7+UHcl9u339Xy74W6x4NcFt8n9UcM1Qx6cH92+j3ib ehbsSAc+KTIsUelKkmLj02Uw+Z8dnk/dvIuJjRQCmFLdmJgz/hWyd6FTY 6ZwFWTK5ZNMl2AiPORiWp4C1RkOHS8FvQ7x6yWFGpph9q+echbiDFGcc2 ad7wqMntbGVjcF93AcM/btP7dVgexd8aYdp8A0DYf4Zj75rnTQetfCTcs 3vyvSPJz19Cv1T7QtG4oYmWcIPtOPBFWSCrxlmuhSHNHS/a/yupI/2oHm s8+tV0/Ki42VBzApSxPwOOql7kuLYln0IHWfALD5bceDo8BxkWpGCZylP g==; X-IronPort-AV: E=McAfee;i="6600,9927,11000"; a="4070186" X-IronPort-AV: E=Sophos;i="6.06,197,1705392000"; d="scan'208";a="4070186" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Mar 2024 17:01:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,197,1705392000"; d="scan'208";a="8503956" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmviesa008.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 01 Mar 2024 17:01:05 -0800 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 1 Mar 2024 17:01:05 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Fri, 1 Mar 2024 17:01:05 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.168) 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.2507.35; Fri, 1 Mar 2024 17:01:05 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D74gqF92vtqdMQCeO9dynAN7SRGSzotoyLSb1CGvgrnIJdVDqpqWssElaxpPEre557/yWWF9smG7Cl/otKydirItDHAgZbPWRayeRBVo/vwcrSCkdH2XLtyu3N7dYr7idLUJ+bmbGCTcFPRYrAilj4jR7Gvxu9hvtJtA0+qgD2eKbK5Tbg/D6YO6VYa6K5uCUFUQsZ8nChDYgg2IMY1j9HuFfpEjY5/uwcNLqbApygIl+dNts1QnR/IgkmNLIcrx9FXcNZSq/mZzWT7by8vNnQMKtWKCvR1fMxHI6kc9tX/e7S6/1eoB+v8H3YW5YkGONLpd4A2mu5WvfPik1De6ZQ== 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=0jXPTn1uEtJUZxY6HM+UQu2MbmTkOnaXYnM4oSTIDVk=; b=dOiaRs3bLxLVqN7zRAYZbGTZwvgL0QY+H0dhZwIfpBhJ3SAuf4VNZqhpIHnhc6Dsd0zh2pegtLW72yWFRnkECQ22qk8zg9JsWtgPYNmurGUXv5nTf4Tk179jMJzVDoayVv9QkxscLPNGdTRMPibEakkQOXUKtASKhKi1Cjk6NM3yqbg0nxRKvlSSmLbwXu/dxmDXWpTCrxYWy3PpyJrhIs1+TF1lEJxFO2FeOLI7pZUHYHxJ1C9LHhZ8skll0hBed9FIAg0mbDoB9p+obLbQKo6XwSkjjZ/cq7HGSNrqkqF8Mnt/ALonibTmaVG3jwGZwwZPQRDa25Fz1sbLVdaiFg== 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 Received: from BY5PR11MB4451.namprd11.prod.outlook.com (2603:10b6:a03:1cb::30) by BL1PR11MB5223.namprd11.prod.outlook.com (2603:10b6:208:31a::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.14; Sat, 2 Mar 2024 01:01:02 +0000 Received: from BY5PR11MB4451.namprd11.prod.outlook.com ([fe80::49d9:bd88:4a13:199b]) by BY5PR11MB4451.namprd11.prod.outlook.com ([fe80::49d9:bd88:4a13:199b%6]) with mapi id 15.20.7362.015; Sat, 2 Mar 2024 01:01:02 +0000 From: "Chautru, Nicolas" To: Stephen Hemminger , "dev@dpdk.org" , Maxime Coquelin Subject: RE: [PATCH v2 33/71] baseband/acc: replace use of fixed size rte_memcpy Thread-Topic: [PATCH v2 33/71] baseband/acc: replace use of fixed size rte_memcpy Thread-Index: AQHaa/xlLZQzgR5m3kqQnVcPsLfGSrEjohbw Date: Sat, 2 Mar 2024 01:01:02 +0000 Message-ID: References: <20240229225936.483472-1-stephen@networkplumber.org> <20240301171707.95242-1-stephen@networkplumber.org> <20240301171707.95242-34-stephen@networkplumber.org> In-Reply-To: <20240301171707.95242-34-stephen@networkplumber.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BY5PR11MB4451:EE_|BL1PR11MB5223:EE_ x-ms-office365-filtering-correlation-id: befc27d1-0b68-4c4f-1126-08dc3a543b54 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Gvp7bXT25dFHaXTNI/WrBcDKrSzzFreyP+7ld48ankMQSmYGTO6cCtSFfZaunl1PEug9CAKQcpaxSZ+8IkIefL6czAq9ctWZ9SycrrWnkwnocL50k/wuWqNDkQvx5n5lBT1pHUXefw6jGSK3SWEm0KM8aU1pFcd4rP35N/jNFVLIT1qYnS0VQQZ55BHgp/CBE1TEcb85UtyJ0oEzT6lJKpH7cL6D8OOdMjv+tkwrvWNnr/HX6hdo19yFRRQ3uFnHDbzsc7dCw6PHRi8a8bSqK4iHmsel/qH7ppUhMH79zjgs6Qb4yDe0sCsas5nOmz1jxrJTDqPIQEDg8QjgK+qNBFzqyYM2/8rzC1Zxz/1Qaa1eF7valk9sh9OBxzG894LAgLdj8WwjIE5LoNAC/bOqF97jLHrlvEKU4rNkJfw6t1fsCqZHE/M1zGCQWMSyz/VPxH9Oxq9aunYQunqikncsEhAEqMfo0gbbPVXooOsQK8Q2XyHqF8Ukw6UQwVgF3nZy/eptQDDk/m0bYubt57aGvPj1C93QXPC7vchYohW+aGCHYcM5pj4gh+iJ1GDmjw0J552COdIEXmSwGXyy0jTKOdy5JPFsUADwjmL/F5Nvw42nFqV/7mpAvDdhVH5xH/WiW5m5ecjM/AUlzw8HFMEbeai4C+i/7XbuvfGatZmoPeecmCrKM/5P1ZSY/fwLvLcJwaAZroC3dzgqO++rhiY7Rg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR11MB4451.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376005)(38070700009); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?xt9SgR7IlXzG0pVH91LcyjIXozpFk2cWHfJ1t8edNHH5TwdYgallpsOCg7tf?= =?us-ascii?Q?w3aCF+GTptajYVYixBGXEJrMP6ucPn7Qwh2m2g1iejr0I/oy0zMtB+GrWD7m?= =?us-ascii?Q?lyMB86TtvXuhMGP4AuMdPPO67zfZ/d0y/rVAQiJl32PKhB4VmN/Cbm5mJkCi?= =?us-ascii?Q?+9DrcSXUOF3EL73XRU+6VeERcNONB9qWiMeL158bvsGsrl3WG0Vv0q10uKSI?= =?us-ascii?Q?XCFCEIvHnLfcPeNBx3q//hqrlF59tEVcyDO0YYX8jprvAmQZDK1KtLAcvk9F?= =?us-ascii?Q?CNgsJzTElMusqxAqjPs6c0fQbtD1MvQ99Jv0Tu8X4cSH3dSFow4SutwvU+Xt?= =?us-ascii?Q?yTFwU3SgtZyntfkE5NPw0S5BBb+3pau2BbIwgexrrshJjzsNLHq1YpjgYtuI?= =?us-ascii?Q?svKTzu7lw4ZsIs9tI6/4y7rG8QkqdhdCfykSrW7OiqnTNB15ZAPnx9kGpF3o?= =?us-ascii?Q?y1F2reR4FnzZ8oRxrD1MB5/6nWbKKibmyOxU90ZPgT7QDWqSqMMeUtx14U1q?= =?us-ascii?Q?HCdVRkwLLDL7fnQ4p3lwW2HOf7c79eN0neZdWlgPo6fAu04PMhrCAs9SyF5c?= =?us-ascii?Q?Pe6H1sl5V1wca87ACVx/oLsPcsIMPZRZH5xKR4RUUficj/3sZQ5N+WkplRf4?= =?us-ascii?Q?S2T3GpAsKs8m/KoZQQ2nLH/EgCy2f/pXIiIL2LFo7gwunEYjvsB5AIRYaXL5?= =?us-ascii?Q?62anewmynsmDykaNz1eJ3A+X/DYwZTW/rZJZfsxl91H8jTNGeqc4K1ytetFi?= =?us-ascii?Q?9to40rMIfcC1YAkmFVpQTcXFx1NatHGxDBm6tf/68o+vr9/nxAO+RSBTAr9F?= =?us-ascii?Q?AS7qAC9CuaCPlKNvZ1s2iKaBeD8N9q0dNzT/6ILcHYS5aCCFRKKFyyh4yHzN?= =?us-ascii?Q?tM3aPi+uEqH7QEcxDP1EOVlcQiZQg72WBf9jP1wmdHAbBkAHPiRr1QTJa4dh?= =?us-ascii?Q?XPRbPxAW5FfmhHs0vMDoe0x9+WLFxuMUK4B8ClrI6DGuTF4kxOZwFF+UsW5o?= =?us-ascii?Q?9hTMxeyaZksK2zAXuajScRyIi065jQyUKDkVFwubQj6RCXVD0w8H474fcalL?= =?us-ascii?Q?17/Wc446eBbR6b74R5e0gaB8yAIRBnKDnmuaoV5I3jEP3IXxgdaQc1LuGVCO?= =?us-ascii?Q?g1J/1pDYxxJLLUxDtIDZOlyhISKo24EzZGsChxCbvC1lEhDzIyXi9U+AlFxk?= =?us-ascii?Q?x2kMfbaOEd8QcMl1aQGM7m84uBSwMjE3kRFcESsM/nZV/OM7FSkeKGqfcHhE?= =?us-ascii?Q?d3WQcV3DTjKnpvlAWeO3G1NYdyDc6LxlU0pOcVVjQX+4t/75GR7JUEDyQR3z?= =?us-ascii?Q?6kds8Pd9nZ+Dodj21CtX1gm35W1gNdvAiu0UaJpxLXITR1L2WMjI9OHehO2P?= =?us-ascii?Q?OYyA4OSWa8HvrFPPG6j+Vwxlyx2Hw7eWOK4E67FUQqLFQJJam4UgtkfQQgTi?= =?us-ascii?Q?/Ffob8UdrCGUtPX5xRmN7LO51/isJinJlCLMGDsy9c3RnQx9ePVTyKcXt8m5?= =?us-ascii?Q?KLKYlkxMp9qC+4NrJOCR7Uoy5f/FVAX4kY9Irhkri1pVWil6tLOtMtWGH/RC?= =?us-ascii?Q?lUo3uPF6tSRIlF51IPvJzVAvzAnb5xgH+kIdkXJ9?= 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: BY5PR11MB4451.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: befc27d1-0b68-4c4f-1126-08dc3a543b54 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Mar 2024 01:01:02.6260 (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: nbY2zQKPQuzYB0xAgNdrQ4A41JI1DRyQjtv7CPheQq56AdAu5cAdwkadTExIcD9C9Ub74D31Rj375oRuJE7ThMYRK6VAjd9DPJ0guNBv0ts= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR11MB5223 X-OriginatorOrg: intel.com 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 Hi Stephen,=20 It messed with the indentation, didn't it? Thanks Nic > -----Original Message----- > From: Stephen Hemminger > Sent: Friday, March 1, 2024 9:15 AM > To: dev@dpdk.org > Cc: Stephen Hemminger ; Chautru, Nicolas > > Subject: [PATCH v2 33/71] baseband/acc: replace use of fixed size > rte_memcpy >=20 > Automatically generated by devtools/cocci/rte_memcpy.cocci >=20 > Signed-off-by: Stephen Hemminger > --- > drivers/baseband/acc/rte_acc100_pmd.c | 17 ++++++++--------- > drivers/baseband/acc/rte_vrb_pmd.c | 21 ++++++++++----------- > 2 files changed, 18 insertions(+), 20 deletions(-) >=20 > diff --git a/drivers/baseband/acc/rte_acc100_pmd.c > b/drivers/baseband/acc/rte_acc100_pmd.c > index 4f666e514b72..6a6212f3deed 100644 > --- a/drivers/baseband/acc/rte_acc100_pmd.c > +++ b/drivers/baseband/acc/rte_acc100_pmd.c > @@ -2975,15 +2975,13 @@ enqueue_ldpc_dec_one_op_cb(struct > acc_queue *q, struct rte_bbdev_dec_op *op, > uint8_t *prev_ptr =3D (uint8_t *) prev_desc; > uint8_t *new_ptr =3D (uint8_t *) desc; > /* Copy first 4 words and BDESCs */ > - rte_memcpy(new_ptr, prev_ptr, ACC_5GUL_SIZE_0); > - rte_memcpy(new_ptr + ACC_5GUL_OFFSET_0, > - prev_ptr + ACC_5GUL_OFFSET_0, > - ACC_5GUL_SIZE_1); > + memcpy(new_ptr, prev_ptr, ACC_5GUL_SIZE_0); > + memcpy(new_ptr + ACC_5GUL_OFFSET_0, > + prev_ptr + ACC_5GUL_OFFSET_0, ACC_5GUL_SIZE_1); > desc->req.op_addr =3D prev_desc->req.op_addr; > /* Copy FCW */ > - rte_memcpy(new_ptr + ACC_DESC_FCW_OFFSET, > - prev_ptr + ACC_DESC_FCW_OFFSET, > - ACC_FCW_LD_BLEN); > + memcpy(new_ptr + ACC_DESC_FCW_OFFSET, > + prev_ptr + ACC_DESC_FCW_OFFSET, > ACC_FCW_LD_BLEN); > acc100_dma_desc_ld_update(op, &desc->req, input, > h_output, > &in_offset, &h_out_offset, > &h_out_length, harq_layout); > @@ -3130,7 +3128,8 @@ enqueue_ldpc_dec_one_op_tb(struct acc_queue > *q, struct rte_bbdev_dec_op *op, > desc =3D acc_desc(q, total_enqueued_cbs); > desc->req.data_ptrs[0].address =3D q->ring_addr_iova + > fcw_offset; > desc->req.data_ptrs[0].blen =3D ACC_FCW_LD_BLEN; > - rte_memcpy(&desc->req.fcw_ld, &desc_first->req.fcw_ld, > ACC_FCW_LD_BLEN); > + memcpy(&desc->req.fcw_ld, &desc_first->req.fcw_ld, > + ACC_FCW_LD_BLEN); > ret =3D acc100_dma_desc_ld_fill(op, &desc->req, &input, > h_output, &in_offset, &h_out_offset, > &h_out_length, > @@ -4430,7 +4429,7 @@ acc100_configure(const char *dev_name, struct > rte_acc_conf *conf) > struct acc_device *d =3D bbdev->data->dev_private; >=20 > /* Store configuration */ > - rte_memcpy(&d->acc_conf, conf, sizeof(d->acc_conf)); > + memcpy(&d->acc_conf, conf, sizeof(d->acc_conf)); >=20 > value =3D acc_reg_read(d, HwPfPcieGpexBridgeControl); > bool firstCfg =3D (value !=3D ACC100_CFG_PCI_BRIDGE); diff --git > a/drivers/baseband/acc/rte_vrb_pmd.c > b/drivers/baseband/acc/rte_vrb_pmd.c > index 88b1104fab47..3e5376a12e39 100644 > --- a/drivers/baseband/acc/rte_vrb_pmd.c > +++ b/drivers/baseband/acc/rte_vrb_pmd.c > @@ -2450,15 +2450,13 @@ vrb_enqueue_ldpc_dec_one_op_cb(struct > acc_queue *q, struct rte_bbdev_dec_op *op, > uint8_t *prev_ptr =3D (uint8_t *) prev_desc; > uint8_t *new_ptr =3D (uint8_t *) desc; > /* Copy first 4 words and BDESCs. */ > - rte_memcpy(new_ptr, prev_ptr, ACC_5GUL_SIZE_0); > - rte_memcpy(new_ptr + ACC_5GUL_OFFSET_0, > - prev_ptr + ACC_5GUL_OFFSET_0, > - ACC_5GUL_SIZE_1); > + memcpy(new_ptr, prev_ptr, ACC_5GUL_SIZE_0); > + memcpy(new_ptr + ACC_5GUL_OFFSET_0, > + prev_ptr + ACC_5GUL_OFFSET_0, ACC_5GUL_SIZE_1); > desc->req.op_addr =3D prev_desc->req.op_addr; > /* Copy FCW. */ > - rte_memcpy(new_ptr + ACC_DESC_FCW_OFFSET, > - prev_ptr + ACC_DESC_FCW_OFFSET, > - ACC_FCW_LD_BLEN); > + memcpy(new_ptr + ACC_DESC_FCW_OFFSET, > + prev_ptr + ACC_DESC_FCW_OFFSET, > ACC_FCW_LD_BLEN); > vrb_dma_desc_ld_update(op, &desc->req, input, h_output, > &in_offset, &h_out_offset, > &h_out_length, harq_layout); > @@ -2566,7 +2564,8 @@ vrb_enqueue_ldpc_dec_one_op_tb(struct > acc_queue *q, struct rte_bbdev_dec_op *op, > fcw_offset =3D (desc_idx << 8) + ACC_DESC_FCW_OFFSET; > desc->req.data_ptrs[0].address =3D q->ring_addr_iova + > fcw_offset; > desc->req.data_ptrs[0].blen =3D ACC_FCW_LD_BLEN; > - rte_memcpy(&desc->req.fcw_ld, &desc_first->req.fcw_ld, > ACC_FCW_LD_BLEN); > + memcpy(&desc->req.fcw_ld, &desc_first->req.fcw_ld, > + ACC_FCW_LD_BLEN); > desc->req.fcw_ld.tb_trailer_size =3D (c - r - 1) * trail_len; > ret =3D vrb_dma_desc_ld_fill(op, &desc->req, &input, > h_output, &in_offset, &h_out_offset, @@ - > 3991,7 +3990,7 @@ enqueue_mldts_split_op(struct acc_queue *q, struct > rte_bbdev_mldts_op *op, > if (symb =3D=3D 0) > desc->req.cbs_in_tb =3D num_syms; > else > - rte_memcpy(&desc->req.fcw_mldts, fcw, > ACC_FCW_MLDTS_BLEN); > + memcpy(&desc->req.fcw_mldts, fcw, > ACC_FCW_MLDTS_BLEN); > desc->req.data_ptrs[1].address =3D > rte_pktmbuf_iova_offset(input_q, in_offset); > desc->req.data_ptrs[1].blen =3D q_size; > in_offset +=3D q_size; > @@ -4337,7 +4336,7 @@ vrb1_configure(const char *dev_name, struct > rte_acc_conf *conf) > struct acc_device *d =3D bbdev->data->dev_private; >=20 > /* Store configuration. */ > - rte_memcpy(&d->acc_conf, conf, sizeof(d->acc_conf)); > + memcpy(&d->acc_conf, conf, sizeof(d->acc_conf)); >=20 > /* Check we are already out of PG. */ > status =3D acc_reg_read(d, VRB1_PfHiSectionPowerGatingAck); @@ - > 4744,7 +4743,7 @@ vrb2_configure(const char *dev_name, struct > rte_acc_conf *conf) > struct acc_device *d =3D bbdev->data->dev_private; >=20 > /* Store configuration. */ > - rte_memcpy(&d->acc_conf, conf, sizeof(d->acc_conf)); > + memcpy(&d->acc_conf, conf, sizeof(d->acc_conf)); >=20 > /* Explicitly releasing AXI as this may be stopped after PF FLR/BME. > */ > address =3D VRB2_PfDmaAxiControl; > -- > 2.43.0