From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0044.outbound.protection.outlook.com [104.47.36.44]) by dpdk.org (Postfix) with ESMTP id 06FCA1B00B for ; Mon, 8 Jan 2018 07:32:33 +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=j2GMXwkqYwUJRX5j9gChnwlJrTS/Xbj/Zy3a7Bc4UlI=; b=ONIRLOVDNn5bOponVHrGmHgi3gbgay7NaHTgY8N5I7Nuv0WGPPbcGOONU0WLzqUfgp+ilmAfe4/SV51RvH8VIP8Ue+vyyHYg4ItInCRue7d0ixEUmIIP5OztbMYZBbJxqIZKx7xwOXRi3T8dEr5R6IZFQpKhqr1TJM0Vt9aVzCk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (171.61.92.144) by CY1PR07MB2521.namprd07.prod.outlook.com (10.167.16.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.386.5; Mon, 8 Jan 2018 06:32:29 +0000 Date: Mon, 8 Jan 2018 12:02:09 +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: <20180108063208.GA19071@jerin> References: <1513941830-186503-1-git-send-email-liang.j.ma@intel.com> <1513941830-186503-5-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: <1513941830-186503-5-git-send-email-liang.j.ma@intel.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-Originating-IP: [171.61.92.144] X-ClientProxiedBy: MA1PR0101CA0071.INDPRD01.PROD.OUTLOOK.COM (52.134.136.33) To CY1PR07MB2521.namprd07.prod.outlook.com (10.167.16.12) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: acaac68e-0aa4-417b-9f39-08d5566198e7 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:CY1PR07MB2521; X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2521; 3:l1JYwYspO1pOh1fRv3f4PVHTTyPWmVFVfG39mSXUiAR4QwYD1k35VI1h3yL+WZAW3Zbk3ANFfDYEdWPOFqzw1CIYPukO5OuMvWzgMgjYDiptbShAuSwca4035Kl4NV7U6Ztl4ZAcVrVgydGU3yac6+BGv/7laPLCV3yb4e8Tm810hSAdFanSrjX4P2tjL/YFOVwOXL4BizwR7qNgLLYyvrc/t3DfMf+pWhMZvHC24QOxgK/ESRCPpzUQ2L1AE6i8; 25:CUZbX27SRIXfTWt+GtqR1erhej81xtSsii30mA2YcEZDO/8pI5VhdZ5EyZBm+cMf1QaOSa+OikhrX9C3RBq1ZEwwqMOW7iOMeegu4AjTgaWX4AOlifyJSScDlG0TfnjBG9q+vcze6wnr3sKRIyMz1lMA/o5Ty445i3ZLKLHdsMifJs79m1Mqar4cim8W9KePlL44Gh+xNcCdjwxIIlMtqTyll2v9qEkHFYnhB9pfWe+6XSTtOGlQX6JcP/FsWfvvB5WEaa3tQlLnKsYXc8Pce31avHRpXyTAW5XYVpjWrNE3hjTPQyZTnSfJBYt/STNKfrS5+7KM8hDAs+Ouc2Wd3A==; 31:8cO1wxXIfZUexFfb7mXqcW0W20nX+J9/RzoS4OJciLHOICRGKYaxyL5kXlVvTyquIWDlCo42V1oEUXUW22CAvDWbeso8XbB2Xx9oJwrEapKCijK23r6yQs8I3rkR8YNsgWka//qI882pYqoirR1qRV8mXWwKYp3WOynUVx9bcDghE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l/wUW X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(8121501046)(5005006)(3231023)(944501075)(3002001)(10201501046)(93006095)(6041268)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(20161123562045)(20161123564045)(6072148)(201708071742011); SRVR:CY1PR07MB2521; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:CY1PR07MB2521; X-Forefront-PRVS: 054642504A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(376002)(396003)(39380400002)(366004)(39850400004)(189003)(199004)(13464003)(76176011)(83506002)(386003)(305945005)(33656002)(7736002)(478600001)(55016002)(52116002)(25786009)(97736004)(1076002)(59450400001)(53936002)(106356001)(66066001)(47776003)(33896004)(6496006)(42882006)(6666003)(9686003)(6916009)(6246003)(50466002)(105586002)(2950100002)(81166006)(81156014)(72206003)(8676002)(4326008)(8936002)(58126008)(316002)(3846002)(33716001)(229853002)(23726003)(16526018)(6116002)(5660300001)(16586007)(39060400002)(68736007)(2906002)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR07MB2521; 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; CY1PR07MB2521; 23:bNuQubNPQaiy/NlZK/zRvbXMYpv3knAebyzkO7bA/?= =?us-ascii?Q?IV0XZJBppoY3Kh2Z3pu96V5WszyKtgfs/1Z1idAh5oaYjkzRPPHRKN5E7dWF?= =?us-ascii?Q?bl4/Z2jz4Us134O/M0vxbV6uFNPglFjMDY8LoPRtlWH0RL/NzIB0TvP+wcX6?= =?us-ascii?Q?Mzf97McM8P1AmyBP1CHTEsVjYd2VQHB7AforD6bL0uHR1KWfC9Q1v9JoBJ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zseIlBiq9ZEpUuDxXEm6b2jfLTmQ1d8D03Y/G+ntgS3Ofum9hV467CkbT6+XUxnvutgr/3vQDvmdF/tWFPWGyuaNRRcONGw9VYVm1aHtklBSv5hg9Bsu/PTkZ6i1W1xbyYe9NFYO4 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2018 06:32:29.6175 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: acaac68e-0aa4-417b-9f39-08d5566198e7 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR07MB2521 Subject: Re: [dpdk-dev] [PATCH v4 4/8] 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: Mon, 08 Jan 2018 06:32:34 -0000 -----Original Message----- > Date: Fri, 22 Dec 2017 11:23:46 +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 v4 4/8] lib/librte_eventdev: extend the eventdev capability 1) eventdev patches subject should start with eventdev: 2) Please check the rendered doxygen HTML output. Command to generate doxygen documentation: make doc-api-html > flags > X-Mailer: git-send-email 2.7.5 > > this commitd add three new eventdev capability flags How about change to, Add new capability flags to express the opdl PMD limitations. > > 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 s/linkis/link is > 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 Additional space between "if" and "the" > single queue to each port or map a signle queue to many port. s/signle/single > > 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 Additional space between "if" and "the" > + * single queue to each port or map a signle queue to many port. s/signle/single > + */ > + > /* Event device priority levels */ > #define RTE_EVENT_DEV_PRIORITY_HIGHEST 0 > /**< Highest priority expressed across eventdev subsystem > -- > 2.7.5 With above changes: Acked-by: Jerin Jacob