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 9205B45AA0; Thu, 3 Oct 2024 15:31:58 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2B95440299; Thu, 3 Oct 2024 15:31:58 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 74E1640261 for ; Thu, 3 Oct 2024 15:31:56 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 492Hl3l5009666; Thu, 3 Oct 2024 06:31:55 -0700 Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2044.outbound.protection.outlook.com [104.47.70.44]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 421avd9t6r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 03 Oct 2024 06:31:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=evrRbugUTcwP1JMF4uVLOZmhZjUQutqggnCXTsmJFSg4JGKFMGhAhjlXenXlmsOqXh9RVqE1mBEyPqr4l4tHirzdWcqEp2pvzqKBXCyfW/NeUI8+XELyhRaqr94j0jIb3xywVS8S68+MXIMW2uicL0LcFGfWCkkd4MjLjCRZzY1OEbRg2f1vqvL2z99mn6SRLlRdp48eq83Nsv+gfK3vGdLq4ORvR0Kp2tr1NBcfiLP9iERK9fU7BEY8H+7JmybgskEXuk+4BaQ1da8CpSBAOsSA015lV9vCt6+eu1xpSeOZuYMRhyqrXPNzb6grpwRQNMlGtZ2yFhFkW04aNvxApA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=Dwg+0rpUZkKlUljtNRhdAcPXFKYEPHlFm7ZxklqZUx0=; b=E6s138cZrD5ggoYFpRgtfckoSZzlrDR06Ki4o+YmhfiG2UA2x7oLwhWGgweGUJAPBRBxekHf4K6+Jir+ikTTe+Zxg98k0ytcEFjStwU2gVzfFnYEPDRW4bhdqDrO2GdXIl0/k8W74H0/azQ+1bDQIl4uCzmY4OFEk2LaTdfEJdziqSYXpCMBKVXpkyXFXha3WFA/VIRP0Q81IgaNgLd3l7liI3rz4OZKIkXO/MY9ZgeDsFcgpJsRy7/JYqogzr/PUArnvV+uDoMGV58B3i8u/OBBE2eYHimjBf6rT59lmBavNqHBUxEGr4sJ/jflsLb3YwGWPb1MMvdy8aKOLAmBpw== 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.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Dwg+0rpUZkKlUljtNRhdAcPXFKYEPHlFm7ZxklqZUx0=; b=so0Zj4LnblwiALhqJyqN/pTikaIGEcblyUJjFvRAGfR87NVJYj5rQvb8loHHU8214MBKhXAVluTFd9ERBcPpvd37HVIiqqSpGSAr+Y5iGxW1NsGJe9rnuC4mywFyEGZYYE1tZSY0UAxpIPkDD5/RHCyc4E6AQW2y0NutmAcq1n0= Received: from MW4PR18MB5244.namprd18.prod.outlook.com (2603:10b6:303:1e0::16) by PH0PR18MB5071.namprd18.prod.outlook.com (2603:10b6:510:16b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.26; Thu, 3 Oct 2024 13:31:49 +0000 Received: from MW4PR18MB5244.namprd18.prod.outlook.com ([fe80::52f3:9792:ee42:90b]) by MW4PR18MB5244.namprd18.prod.outlook.com ([fe80::52f3:9792:ee42:90b%5]) with mapi id 15.20.8026.017; Thu, 3 Oct 2024 13:31:49 +0000 From: Vamsi Krishna Attunuru To: Vamsi Krishna Attunuru , Anoob Joseph , "thomas@monjalon.net" , "fengchengwen@huawei.com" , "bruce.richardson@intel.com" , "mb@smartsharesystems.com" CC: "dev@dpdk.org" , Jerin Jacob , Amit Prakash Shukla Subject: RE: [EXTERNAL] [PATCH v4 1/1] dmadev: support priority configuration Thread-Topic: [EXTERNAL] [PATCH v4 1/1] dmadev: support priority configuration Thread-Index: AQHbFYrvgWkDEJEtjkGkzagmVoFHC7J0/zIAgAAAsvCAAAU3oA== Date: Thu, 3 Oct 2024 13:31:49 +0000 Message-ID: References: <20241003114133.1356496-1-vattunuru@marvell.com> <20241003115347.1365370-1-vattunuru@marvell.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MW4PR18MB5244:EE_|PH0PR18MB5071:EE_ x-ms-office365-filtering-correlation-id: 59ebd5a4-728c-4655-1c8e-08dce3afbc15 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|376014|366016|1800799024|38070700018; x-microsoft-antispam-message-info: =?utf-8?B?UXRYRFA3bmt1VGNXanc1SUFLSWQyZmdMaVpQZWw0bkJHdW9TMm9VYStVMjI2?= =?utf-8?B?emo2SVUzSk5icFJGZHJjYjRMM01GT3dXdlp1ZGRqaFpia3dUS01BVEdnOUhm?= =?utf-8?B?d29NY2FWamwyV1hNSFJqRDUwQjd0TUxoNzVtaCsvZHk2cEZRRHRyVzVkSEw0?= =?utf-8?B?SHF3VXhBWkkzOWF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HF5WGJZRHdIZUhJc09nREs3anZadjgvTXZ0MytJeEtQNUovVUJ3?= =?utf-8?B?ZG91cHhOUmRlRlZ0NGk5UHB2VFlxVmNpaDhNRitzYW9EalFVM0dNZURTUUt2?= =?utf-8?B?dFRjTWxhZjdBVEt3VDBwMFh4YW51dkkyaWQwUlliQnFTeG1zRmhUUUtBdmdo?= =?utf-8?B?bXdyTkJTM0NLV3BhMU02THllOE5NUTdxNm9lelMycjBEMWpFSU9RdlU0S3M5?= =?utf-8?B?U0oweG11dGlmQmtacFVUK2Z3cjZSYzFwQ0hSdHhoMGlkaUdGemdSbWxZVDdN?= =?utf-8?B?M3RxUEFMd1FWK0w2ZHZrQzE4emc1a0N6alRvQlRiaHg0bUI1UGZVMG5sckg2?= =?utf-8?B?VjJYZ0FMaFRNa0d0MktVcmxSalhGakdJaytRZUNFanN4M2xrd0hUNi9XMU9T?= =?utf-8?B?anpxQjI5OURHbW0zL0N5ei90K0M5TTNQNHFWSnpxVEs0d1BLcExVRlB4UEtW?= =?utf-8?B?ZXRWRnZxbjQvNmZQZGdaQVJLMVZES2NoNzdFQVBMV2hyZGlWUkpCdEVXeWlX?= =?utf-8?B?YzJRS1dtMVRDVDRzNGhkY3ZLQ1NsSXRsU244YkhaOW5vVTBaNkFMZ0w4K2tW?= =?utf-8?B?bzhHcWdyb1hieTMycGMrTTRBdm1nbUNYMDQyaUsraVdCOG1BYVVIckRRPT0=?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW4PR18MB5244.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(366016)(1800799024)(38070700018); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?VE1MVFI3ZjF6M1B3RCtUdXg0aWlTMXUzaStmTjR0TmEwNzJ4MFByMkpvOHhL?= =?utf-8?B?SWhhWE9XbGlybVR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=?utf-8?B?UUtSMllrdCsyWms4YkhtTEJkUDFrTkxFbUN5bzhFSUkzQkM4d0NoZjhIcVpB?= =?utf-8?B?SjhMQ3NpVFBmaUJ1VVZrUnJiZmsrSDA5b1Q4MWROOE5sN1RsZzEzRDcyN1Fx?= =?utf-8?B?Mk5iMTVFOFpEV3FvTi9WSGplRi9oL0JQelpTRUtxWFcvQ0h3OVhjdlNTRFh1?= =?utf-8?B?Vlc0NmFFZXNJMWhSbUVBTUR5alhJR1oxaGtMNmFYNHF6SGVUOFFTSi8vbk80?= =?utf-8?Q?laR//8x8hloNz4BN04kCUCkTn?= Content-Type: multipart/alternative; boundary="_000_MW4PR18MB5244FC80F354DE5846B3C0C0A6712MW4PR18MB5244namp_" MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR18MB5244.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 59ebd5a4-728c-4655-1c8e-08dce3afbc15 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Oct 2024 13:31:49.3787 (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: 0xRzqVOcnQJrY8PpI2y4ulHuz5lGmOho4ikN9XwJZQAAiwZqMZLlRHH6+tWostyBqWlvTxrdWRxo+cWfoOiH0w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR18MB5071 X-Proofpoint-GUID: n6QSCxtouqC1tec07A04GJAw5OuEdMPh X-Proofpoint-ORIG-GUID: n6QSCxtouqC1tec07A04GJAw5OuEdMPh X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_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 --_000_MW4PR18MB5244FC80F354DE5846B3C0C0A6712MW4PR18MB5244namp_ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Feng, Could you review V4 and let me know if it=E2=80=99s ready to be acked or if= any changes are needed. Regards Vamsi From: Vamsi Krishna Attunuru Sent: Thursday, October 3, 2024 6:46 PM To: Anoob Joseph ; thomas@monjalon.net; fengchengwen@hu= awei.com; bruce.richardson@intel.com; mb@smartsharesystems.com Cc: dev@dpdk.org; kevin.laatz@intel.com; Jerin Jacob ; = conor.walsh@intel.com; Gowrishankar Muthukrishnan ; Vidya Sagar Velumuri ; g.singh@nxp.com; sachin.sa= xena@oss.nxp.com; hemant.agrawal@nxp.com; Amit Prakash Shukla Subject: RE: [EXTERNAL] [PATCH v4 1/1] dmadev: support priority configurati= on >-----Original Message----- >From: Anoob Joseph >Sent: Thursday, October 3, 2024 6:=E2=80=8A37 PM >To: Vamsi = Krishna Attunuru ; >thomas@=E2=80= =8Amonjalon.=E2=80=8Anet; fengchengwen@=E2=80=8Ahuawei.=E2=80=8Acom; >bruce= .=E2=80=8Arichardson@=E2=80=8Aintel.=E2=80=8Acom; >-----Original Message----- >From: Anoob Joseph > >Sent: Thursday, October 3, 2024 6:37 PM >To: Vamsi Krishna Attunuru >; >thomas@monjalon.net; fengchengwen@huawei.com; >bruce.richardson@intel.com; mb@smartsha= resystems.com >Cc: dev@dpdk.org; kevin.laatz@intel.com; Jerin Jacob >; >conor.walsh@intel.com; Gowrishankar Muthukri= shnan >>; Vidya Sagar V= elumuri >>; g.singh@nxp.com; sachin.saxena@oss.nxp.com; >hemant.agrawal@nxp.com; Vamsi Krishna Attun= uru >>; Amit Prakash Shukla >> >Subject: RE: [EXTERNAL] [PATCH v4 1/1] dmadev: support priority >configuration > >Hi Vamsi, > >Looks good overall. Minor nit inline. > >With the change, Acked-by: Anoob Joseph > > >Thanks, >Anoob > >> From: Vamsi Attunuru >> >> Some DMA controllers offer the ability to configure priority level for >> the hardware command queues, allowing for the prioritization of DMA >> command execution based on queue importance. >> >> This patch introduces the necessary fields in the dmadev structures to >> retrieve information about the hardware-supported priority levels and >> to enable priority configuration from the application. >> >> Signed-off-by: Vamsi Attunuru >> Signed-off-by: Amit Prakash Shukla >> --- >> V4 changes: >> * Rebased onto the latest >> >> V3 changes: >> * Corrected patch title >> >> V2 changes: >> * Reverted removed text from release_24_11.rst >> >> V1 changes: >> * Added trace support >> * Added new capability flag >> >> Deprecation notice: >> https://urldefense.proofpoint.com/v2/url?u=3Dhttps-3A__patches.dpdk.org_= >>project_dpdk_patch_20240730144612.2132848-2D1-2Damitprakashs- >40marvell >> >.com_&d=3DDwIDAg&c=3DnKjWec2b6R0mOyPaz7xtfQ&r=3DjPfB8rwwviRSxyLWs2n6 >B-WYLn1v >> 9SyTMrT5EQqh2TU&m=3Dc22fMFIKeJe1DOrgulUnP_Vx8GS88rJvSiL6g5m- >mXf6ioWKtTZo >> gLVQGhFkAnTS&s=3DPqF7gt7H7PoC8EZjxdhed4aH7gqUS-qNKx0oKgCqorE&e=3D >> >> * Assuming we do not anticipate any advanced scheduling schemes for >> dmadev queues, this patch is intended to support a strict priority sche= me. >> >> doc/guides/rel_notes/release_24_11.rst | 8 ++++++++ >> lib/dmadev/rte_dmadev.c | 15 +++++++++++++++ >> lib/dmadev/rte_dmadev.h | 21 +++++++++++++++++++++ >> lib/dmadev/rte_dmadev_trace.h | 2 ++ >> 4 files changed, 46 insertions(+) >> > > > >> --- a/lib/dmadev/rte_dmadev.h >> +++ b/lib/dmadev/rte_dmadev.h >> @@ -268,6 +268,16 @@ int16_t rte_dma_next_dev(int16_t start_dev_id); >> #define RTE_DMA_CAPA_OPS_COPY_SG RTE_BIT64(33) >> /** Support fill operation. */ >> #define RTE_DMA_CAPA_OPS_FILL RTE_BIT64(34) >> +/** Support strict prioritization at DMA HW channel level >> + * >> + * If device supports HW channel prioritization then application >> +could >> + * assign fixed priority to the DMA HW channel using 'priority' field >> +in > >[Anoob] Do we need to mention HW? Should we just use "DMA channel"? >Here and in other places. [vamsi] It's mainly to differentiate between vchan(kind of sw channel) and = hw channel. > >> + * struct rte_dma_conf. Number of supported priority levels will be >> + known >> + * from 'nb_priorities' field in struct rte_dma_info. >> + * >> + * DMA devices which support prioritization can advertise this capabili= ty. >> + */ --_000_MW4PR18MB5244FC80F354DE5846B3C0C0A6712MW4PR18MB5244namp_ Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Hi Feng,=

 

Could you review V4= and let me know if it=E2=80=99s ready to be acked or if any changes are ne= eded.

 

Regards<= /span>

Vamsi

 

From:= Vamsi Krishna Attunuru <vattunuru@marv= ell.com>
Sent: Thursday, October 3, 2024 6:46 PM
To: Anoob Joseph <anoobj@marvell.com>; thomas@monjalon.net; fe= ngchengwen@huawei.com; bruce.richardson@intel.com; mb@smartsharesystems.com=
Cc: dev@dpdk.org; kevin.laatz@intel.com; Jerin Jacob <jerinj@marv= ell.com>; conor.walsh@intel.com; Gowrishankar Muthukrishnan <gmuthukr= ishn@marvell.com>; Vidya Sagar Velumuri <vvelumuri@marvell.com>; g= .singh@nxp.com; sachin.saxena@oss.nxp.com; hemant.agrawal@nxp.com; Amit Prakash Shukla <amitprakashs@marvell.com>
Subject: RE: [EXTERNAL] [PATCH v4 1/1] dmadev: support priority conf= iguration

 

>-----Original Message----- >From: Anoob = Joseph <anoobj@=E2=80=8Amarvell.=E2=80=8Acom> >Sent: Thursday, Oct= ober 3, 2024 6:=E2=80=8A37 PM >To: Vamsi Krishna Attunuru <vattunuru@= =E2=80=8Amarvell.=E2=80=8Acom>; >thomas@=E2=80=8Amonjalon.=E2=80=8Anet; fengchengwen@=E2=80=8Ahuawei.= =E2=80=8Acom; >bruce.=E2=80=8Arichardson@=E2=80=8Aintel.=E2=80=8Acom;

 
 
>-----Original Message-----
>From: Anoob Joseph <anoobj=
@marvell.com>
>Sent: Thursday, October 3, 2024 6:37 PM
>To: Vamsi Krishna Attunuru <vattunuru@marvell.com>;
>thomas@monjalon.net; fengchengwen@huawei.com;
>bruce.richardson@inte=
l.com; mb@smartsharesystems=
.com
>Cc: dev@dpdk.org; kevin.laatz@intel.com; Jerin Jacob <jerinj@marvell.com>;
>conor.walsh@intel.com;=
 Gowrishankar Muthukrishnan
><gmuthukrishn@marvel=
l.com>; Vidya Sagar Velumuri
><vvelumuri@marvell.com<=
/a>>; g.singh@nxp.com; sachin.saxena@oss.nxp.com;
>hemant.agrawal@nxp.com; Vamsi Krishna Attunuru
><vattunuru@marvell.com<=
/a>>; Amit Prakash Shukla
><amitprakashs@marvel=
l.com>
>Subject: RE: [EXTERNAL] [PATCH v4 1/1] dmadev: support priority
>configuration
> 
>Hi Vamsi,
> 
>Looks good overall. Minor nit inline.
> 
>With the change, Acked-by: Anoob Joseph <anoobj@marvell.com>
> 
>Thanks,
>Anoob
> 
>> From: Vamsi Attunuru <mailto:vattunuru@marvell.com>
>> 
>> Some DMA controllers offer the ability to configure priority l=
evel for
>> the hardware command queues, allowing for the prioritization o=
f DMA
>> command execution based on queue importance.=
>> 
>> This patch introduces the necessary fields in the dmadev struc=
tures to
>> retrieve information about the hardware-supported priority lev=
els and
>> to enable priority configuration from the application.
>> 
>> Signed-off-by: Vamsi Attunuru <mailto:vattunuru@marvell.com>
>> Signed-off-by: Amit Prakash Shukla <mailto:amitprakashs@marvell.com>
>> ---
>> V4 changes:
>> * Rebased onto the latest
>> 
>> V3 changes:
>> * Corrected patch title
>> 
>> V2 changes:
>> * Reverted removed text from release_24_11.rst
>> 
>> V1 changes:
>> * Added trace support
>> * Added new capability flag
>> 
>> Deprecation notice:
>> https://urldefense.proofpoint.com/v2/url?u=3Dh=
ttps-3A__patches.dpdk.org_
>>=
p=
roject_dpdk_patch_20240730144612.2132848-2D1-2Damitprakashs-
>40marvell
>> 
>.com_&d=3DDwIDAg&c=3DnKjWec2b6R0mOyPaz7xtfQ&r=3DjPfB8rw=
wviRSxyLWs2n6
>B-WYLn1v
>> 9SyTMrT5EQqh2TU&m=3Dc22fMFIKeJe1DOrgulUnP_Vx8GS88rJvSiL6g5=
m-
>mXf6ioWKtTZo
>> gLVQGhFkAnTS&s=3DPqF7gt7H7PoC8EZjxdhed4aH7gqUS-qNKx0oKgCqo=
rE&e=3D
>> 
>> * Assuming we do not anticipate any advanced scheduling scheme=
s for
>> dmadev queues,  this patch is intended to support a stric=
t priority scheme.
>> 
>> doc/guides/rel_notes/release_24_11.rst |  8 ++++++++=
>> lib/dmadev/rte_dmadev.c      &nb=
sp;         | 15 +++++++++++++++
>> lib/dmadev/rte_dmadev.h      &nb=
sp;         | 21 ++++++++++++++++++=
+++
>> lib/dmadev/rte_dmadev_trace.h     &nb=
sp;    |  2 ++
>> 4 files changed, 46 insertions(+)
>> 
> 
><snip>
> 
>> --- a/lib/dmadev/rte_dmadev.h
>> +++ b/lib/dmadev/rte_dmadev.h
>> @@ -268,6 +268,16 @@ int16_t rte_dma_next_dev(int16_t start_de=
v_id);
>> #define RTE_DMA_CAPA_OPS_COPY_SG     =
       RTE_BIT64(33)
>> /** Support fill operation. */
>> #define RTE_DMA_CAPA_OPS_FILL     &nb=
sp;            =
    RTE_BIT64(34)
>> +/** Support strict prioritization at DMA HW channel level
>> + *
>> + * If device supports HW channel prioritization then applicat=
ion
>> +could
>> + * assign fixed priority to the DMA HW channel using 'priorit=
y' field
>> +in
> 
>[Anoob] Do we need to mention HW? Should we just use "DMA chan=
nel"?
>Here and in other places.
 
[vamsi] It's mainly to differentiate between vchan(kind of sw channel) =
and hw channel.
 
> 
>> + * struct rte_dma_conf. Number of supported priority levels w=
ill be
>> + known
>> + * from 'nb_priorities' field in struct rte_dma_info.
>> + *
>> + * DMA devices which support prioritization can advertise thi=
s capability.
>> + */
--_000_MW4PR18MB5244FC80F354DE5846B3C0C0A6712MW4PR18MB5244namp_--