From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0075.outbound.protection.outlook.com [104.47.41.75]) by dpdk.org (Postfix) with ESMTP id BF5EB1B1C0 for ; Tue, 9 Jan 2018 13:27:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ZE2cu6il3ysQ9unpU11eapyBX69TErOm1W29q881IZE=; b=MSGe0Ou9h8pY/WQQK/JAy2KsxXS3p8RmW1C92si7mw2/K2WdpapM/BMiTx9F5uHqs3SlJuWZcZx0ksvnISaLI2q8YCj1NLa+G/RWf/SDqFBdLT9SKPJLALVKSeq76m4lABbd54GBt+xpm/fMJqpaHVAZxe4m3Yovp4S78m9nRQ0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (111.93.218.67) by SN2PR07MB2526.namprd07.prod.outlook.com (10.167.14.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.386.5; Tue, 9 Jan 2018 12:27:25 +0000 Date: Tue, 9 Jan 2018 17:57:04 +0530 From: Jerin Jacob To: Liang Ma Cc: dev@dpdk.org, harry.van.haaren@intel.com, bruce.richardson@intel.com, deepak.k.jain@intel.com, john.geary@intel.com, peter.mccarthy@intel.com, seanbh@gmail.com Message-ID: <20180109122703.GA20734@jerin> References: <1513941830-186503-1-git-send-email-liang.j.ma@intel.com> <1515500423-107720-1-git-send-email-liang.j.ma@intel.com> <1515500423-107720-8-git-send-email-liang.j.ma@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1515500423-107720-8-git-send-email-liang.j.ma@intel.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BM1PR01CA0090.INDPRD01.PROD.OUTLOOK.COM (10.174.208.158) To SN2PR07MB2526.namprd07.prod.outlook.com (10.167.14.154) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: beb68f58-b9dd-48aa-5b74-08d5575c58e9 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:SN2PR07MB2526; X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2526; 3:ZGGSXtvC4d/zEj7xd/1OUE3sXBxlj/8hRwoh+1Ng1aUkM/WS5Nxz093b0+rMNe2aiD6eEpaScsVl715GXN2fcPTiHHLpbrktyTJkNy5kiRd1Fmjcg74+Davp1Q2K63wxC9zax4tyqhTSy1UZ/QY+46dNjRmC7a1wV3vVvgnkOjWiOhZElfp8Yo39lKtWl7bPYMSufp1VV7LSsgH1Y2bzt7ZfF0Tya4FVKCjVY9b/QEytGaNC3/QHNVLC6QCqFfnH; 25:crGJ9vlfusNLo0HboDqbEHJbSmLmyfGLaPYXvzMrJr2Oy8ix/r81n7FkFOt+IJRPb+vagOZKvfVEMpTUr2XKSEtn/3b7gkgdUildFZoHxpoef8GLWSw/M4afHCiuu+kn2GWphh07FVouhfls3IuhJe0Qv+XVlXx8iw1LnQBl+l8n0R5ze0vQ68ruaYRqAWrRT/CA0HG235KB2RMkYgTaqwDdN4rIcxccglk9RGUdTK3vNZ/O8cqPxAw3vUF8AfQyNwilxm95mHqd9jbb10mRm9nX7i5qM1n2xbHnFr11I2ksAMvVtvE7o51jBRQS993KcRvcJLRYY8gYKmIdZlKR2Q==; 31:xs5yURXC//Gv/Ddq2SPnYROQyolaHweXrkMd2fJ8U2crhmbYl7OGhdVZSdBHwgt0yJpDN5nUIq0+uNpuhYYoHaNv5zeMW4EGg2WyeatOhuUowQTMvrt5hozsW3FshH+/rHL9hyTE6eNdwPqPBxbF1d9s79qivSXsRVAV19GyxGajVSKFIW3F65kBkQtSH23KSo5ba6woJF0vxivfQRU94IwsYoPVHbtid+ks6ija3d4= X-MS-TrafficTypeDiagnostic: SN2PR07MB2526: X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2526; 20:8HwWtYTo+22psuUawoEcxjPMXueEUTa3j/xul4zApuvVe7ezS5FRKpquZNRu1pJAu8m1tVcOnWwCR4KlKf/C/dev5gL1q5sMl1ZQZ6+VTAltPx+YWIevUMC+iJtrwU8VsGxBkWXpBkf588PmVhaJ6jRSB3X9ekT6NtBBwaBrEgtZ7uSkqDehiVs99T5JjB3tEULd2jz3lIwxbEvbdDIGOBh0XlpYZMGuPa/0i70WTsMvEsFXRDIZ/VI2onyTnCOR1fp8IYj3EDcNEUXHUkJCjfe6jHPeqVzezGXss9bHXjv0i2T4XFt2daToE0Ye1EJLI160mU127Vt03gMe7RmzFfhI93EEJmI7rxvufcHurefWE24YFSBhYP491k28vFyuqbVoDDDeOjXCwJ5XYld0Fs+KUBpdT4DH9v7ahmyZrcAO9CJlHyLAAOp1wy675OqRJNFXdGOr64wdP2Z1EN9rrxkqz6E1WozgDJO6DuECDF6cqecMta0R5gnijbhra+MMenIUUVSiE14hrO0NK+oPLXNDDCNoA7WzmJsILs3NhNlH8LuUZVXYEClDXYuHW494hG0MAazQTUv1EY74qbcT0V23yFWQ1XHz856bLh+MiiQ= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(85827821059158)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(8121501046)(5005006)(3231023)(944501075)(10201501046)(93006095)(3002001)(6041268)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:SN2PR07MB2526; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:SN2PR07MB2526; X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2526; 4:alMyD3VdiGs9ED/tu0iEDVOsHk2DlJAxjU5/2sm28yjBz4f9+xDSiuOAWQQuEmyJySUT5fb9Q31FqyYtikXmPBsMvfJSNPGp6DwNsjSAx/V8DICjj956GYtOGn7NLSF58CMzO+VwJirgI6ewclfx2gtUG6TLxnEQkVY4mP+SL+weOEvZJxKqVzodSirzXyecnEjPVpuHEp7fYKt1ckJt+BrFOOfEGCFOp/RNC+auhhbK5tz3FguWTj2x0U5uK5+dgkxNlbsGO7YO59foM88DHH8RH4cRPeMcrdhIaRYhErQilALv8suv67K17KCfJrWxiu/VlpsYlwC+uzSdGl168KHbJ70/5zlkcwemW3gh6sM= X-Forefront-PRVS: 0547116B72 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(396003)(366004)(39380400002)(376002)(346002)(189003)(199004)(13464003)(316002)(66066001)(386003)(55016002)(16526018)(58126008)(16586007)(47776003)(53936002)(81156014)(81166006)(72206003)(42882006)(97736004)(83506002)(8936002)(52116002)(59450400001)(305945005)(478600001)(6306002)(6666003)(7736002)(76176011)(6496006)(33656002)(33716001)(6916009)(2950100002)(25786009)(33896004)(106356001)(966005)(1076002)(2906002)(8676002)(4326008)(9686003)(50466002)(5660300001)(5009440100003)(229853002)(39060400002)(3846002)(23726003)(6246003)(105586002)(53376002)(68736007)(6116002)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR07MB2526; H:jerin; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN2PR07MB2526; 23:Q1qSqNHiik6k6OxCDzlVUyyztnPYIqPduRoljUAZB?= =?us-ascii?Q?V+QwjGxGMrQJWPZHcPENRJyA+Rr2nNVzuDFWeguR2+/XE4/DuDNTkfd5lPPX?= =?us-ascii?Q?FJRdWa9kLNvmiIlrF2CEzntllO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ND1oLHByB9Sv8vX7U3ZUDAuZvvGaIZ5HnOrGS48NufWfYgwmaY3CnDMWuJf6tHIr+bMhAJ0iL9KXj8ejpbUAkQ/IQBYUU=; 7:ELXCmuDFfgIa9XUz+ugL29Q1lA0cZwul0mn5Up1cskvR3fSQ3DIts/X88tjJ+YAKykbqA20tSPMdrTpe2ERXNco1jXB7FQbCMfSdH16cfDnOf3AL/EYGpA5J9YwH9mbqtA/Uv4ukyCzQyPKc+LJ87+peQh3UCLQF7/2U7lA5bluaemBAJKHAwvNb3WANCdSy00FWMhHLrw3YfC+grqtjLsYiaxHplSGPfQ8ER0jXxYemdnEtVmDqpbbrdKJtzW8n SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2018 12:27:25.6528 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: beb68f58-b9dd-48aa-5b74-08d5575c58e9 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR07MB2526 Subject: Re: [dpdk-dev] [PATCH v5 07/12] lib/librte_eventdev: extend the eventdev capability flags 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: , X-List-Received-Date: Tue, 09 Jan 2018 12:27:31 -0000 -----Original Message----- > Date: Tue, 9 Jan 2018 12:20:18 +0000 > From: Liang Ma > To: jerin.jacob@caviumnetworks.com > CC: dev@dpdk.org, harry.van.haaren@intel.com, bruce.richardson@intel.com, > deepak.k.jain@intel.com, john.geary@intel.com, peter.mccarthy@intel.com, > seanbh@gmail.com > Subject: [PATCH v5 07/12] lib/librte_eventdev: extend the eventdev > capability flags > X-Mailer: git-send-email 2.7.5 > Not addressed the below review comments. http://dpdk.org/ml/archives/dev/2018-January/085593.html > this commitd add three new eventdev capability flags > > RTE_EVENT_DEV_CAP_NONSEQ_MODE > > Event device is capable of operating in none sequential mode. The path > of the event is not necessary to be sequential. Application can change > the path of event at runtime.if the flag is not set, then event each event > will follow a path from queue 0 to queue 1 to queue 2 etc. If the flag is > set, events may be sent to queues in any order.If the flag is not set, the > eventdev will return an error when the application enqueues an event for a > qid which is not the next in the sequence. > > RTE_EVENT_DEV_CAP_RUNTIME_PORT_LINK > > Event device is capable of configuring the queue/port link at runtime. > if the flag is not set, the eventdev queue/port linkis only can be > configured during initialization. > > RTE_EVENT_DEV_CAP_MULTIPLE_QUEUE_PORT > > Event device is capable of setting up the link between multiple queue > with single port. if the flag is not set, the eventdev can only map a > single queue to each port or map a signle queue to many port. > > Signed-off-by: Liang Ma > Signed-off-by: Peter Mccarthy > --- > lib/librte_eventdev/rte_eventdev.h | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/lib/librte_eventdev/rte_eventdev.h b/lib/librte_eventdev/rte_eventdev.h > index 1bbea57..91fd4ef 100644 > --- a/lib/librte_eventdev/rte_eventdev.h > +++ b/lib/librte_eventdev/rte_eventdev.h > @@ -293,6 +293,28 @@ struct rte_mbuf; /* we just use mbuf pointers; no need to include rte_mbuf.h */ > * @see rte_event_dequeue_burst() rte_event_enqueue_burst() > */ > > +#define RTE_EVENT_DEV_CAP_NONSEQ_MODE (1ULL << 6) > +/**< Event device is capable of operating in none sequential mode. The path > + * of the event is not necessary to be sequential. Application can change > + * the path of event at runtime.if the flag is not set, then event each event > + * will follow a path from queue 0 to queue 1 to queue 2 etc. If the flag is > + * set, events may be sent to queues in any order.If the flag is not set, the > + * eventdev will return an error when the application enqueues an event for a > + * qid which is not the next in the sequence. > + */ > + > +#define RTE_EVENT_DEV_CAP_RUNTIME_PORT_LINK (1ULL << 7) > +/**< Event device is capable of configuring the queue/port link at runtime. > + * if the flag is not set, the eventdev queue/port link is only can be > + * configured during initialization. > + */ > + > +#define RTE_EVENT_DEV_CAP_MULTIPLE_QUEUE_PORT (1ULL << 8) > +/**< Event device is capable of setting up the link between multiple queue > + * with single port. if the flag is not set, the eventdev can only map a > + * single queue to each port or map a signle queue to many port. > + */ > + > /* Event device priority levels */ > #define RTE_EVENT_DEV_PRIORITY_HIGHEST 0 > /**< Highest priority expressed across eventdev subsystem > -- > 2.7.5 >