From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0073.outbound.protection.outlook.com [104.47.42.73]) by dpdk.org (Postfix) with ESMTP id 63F6C5A6A for ; Mon, 10 Jul 2017 12:41:52 +0200 (CEST) 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=6Z2rho+sgcAM5DgHiLv4105NeLpFJ0kSuQ5Sy3lOEsM=; b=IuKwr7sG1MYv5HU+xBNHjo7t2FbBo+E5dhTq35x2+f2swPuIdqDVHyLQTtSnNrNjs3Vm5UgBkqQW0CLuM7PdwQvs1DXQEQwe2+/v5awtWMnrgJiztkhHdzNba/G/F7iIe6m4Nd2ji8Ubww2cCwADpq2kHZMsecZwOPnoypvLa5s= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin (106.201.60.201) by BLUPR0701MB1713.namprd07.prod.outlook.com (10.163.85.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.13; Mon, 10 Jul 2017 10:41:44 +0000 Date: Mon, 10 Jul 2017 16:11:27 +0530 From: Jerin Jacob To: "Rao, Nikhil" Cc: gage.eads@intel.com, dev@dpdk.org, thomas@monjalon.net, bruce.richardson@intel.com, harry.van.haaren@intel.com, hemant.agrawal@nxp.com, nipun.gupta@nxp.com, narender.vangati@intel.com, Abhinandan Gujjar Message-ID: <20170710104126.GA13609@jerin> References: <29140c16-909a-1b9a-7391-481f900bd13c@intel.com> <1499377952-5306-1-git-send-email-nikhil.rao@intel.com> <20170706141829.GA5260@jerin> <02aef899-da84-9281-e4a4-2871237ea20e@intel.com> <20170707150317.GA2007@jerin> <20170707155707.GA6245@jerin> <3d2d78cc-9572-bf95-6d25-9b350da62827@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3d2d78cc-9572-bf95-6d25-9b350da62827@intel.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [106.201.60.201] X-ClientProxiedBy: BM1PR01CA0082.INDPRD01.PROD.OUTLOOK.COM (10.174.208.150) To BLUPR0701MB1713.namprd07.prod.outlook.com (10.163.85.14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 30605246-ec36-4a63-3438-08d4c7804428 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BLUPR0701MB1713; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 3:siFYYwlb9xSMgES2WNJGASks+eoJFAwPGtU+C851aF+4dC9SLd0/XBQ6W2eJYRFz22rhsppCL7iI6g4OLyrOkczKwm6WfNpXSLiY5JGlsqq25pbuMCvMXlq4AbpgXt825mlFj9MA6TIuHQ6A0mEIXFT8jXHVYYCO2LwfVqjjQneHRRcVtDiJAjmWkAMENZguqssqBCi62E2/6Nzl2VJM1DSEk8NwX+u+D5B3TkYjBqsDfJcitrLV75xpHfyyn+VVWmSakH9hpXK0yLfNAPKCHj3UNiq9n5BS7QbD4mlv8PSTCrV+1TMXFDELOMsquehT9qH89hpPNcJYARqQzIIt9bEjBpGjuGdz6V+QYcfWmoBfGyK9PiNThLYN39xyCobRarmfnyFP6TnKd+tXZdtRXUu8qCGLIefDfLZXuhtQ2MPDare2tXS+WcH/xh7JnnikPVAF7dX+sAC5X5gr2lifiX8XdclzdBcKQ7zs3kENqBVto2R+oVsyIJ6kUvNEDE/WSeMRk9rasvKmz6UpQ2SR0jkISt6DKaOQAeAIOzbhW8gVUHO5sv9gm+6BV79YPWN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Z6fDqCCMdbHeEZgbf3JSlFas1Ve5u7s64ynEpuWHyO8ZZcVwp1XOqLlLOWW1U5iBn973bpzVoEoEv2eouTy7P3gBwQnUMGDZOda3qc1dSXa3o05sQVGwF1QQKVyyHyxtc2Dh9v4KKQ2DAiEn1uMMQk/vB2SA5up95ph9LpikB/WR1/e5wxqmWANaSKiHQ03s/u40JU0LVri/znMv1dZfGO7qN8qH+d9fq0jYlq2MBEjmIDDlRboRqosicvSWiDjhUlko96cPMmfPinRYMXK+GhdxIPnFUL249bCGz2QD472gc+70oBMxBFij/OHfr8VC6xNjl1PyUKErYNt3bbGgtw7w8mbWyW53MC+7Yzf+N1J/Ym2ld+M8u2/XTGEJaGRtDW23Nd9FL5WQLYcGGGLq7XGmUaL34BaQgF7hpU48Diwr81PxHKallhsp7BN90yfAA+WvrnnuZxxc= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(185117386973197)(48057245064654)(228905959029699)(247924648384137); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910075)(5005006)(8121501046)(10201501046)(3002001)(93006095)(100000703101)(100105400095)(6041248)(20161123562025)(20161123560025)(20161123564025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR0701MB1713; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR0701MB1713; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1713; 4:prdYTDTGJ/OdAeP76ZbSJKlLKlhzhTQaxEmFr37/?= =?us-ascii?Q?68q//8d/QSAPuNstEDQlPey0sY517jJNHXIdZUe/UXs9qtXjXStuk7/qrlE7?= =?us-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uZsVIb8rlJp431zgFEkOGHCLUe3AG0?= =?us-ascii?Q?vUaK06BRXHUuXZggA6LdaRbwo0F25rfh0T+sttRgHSQ6cG+jN/R0mTAII8Vh?= =?us-ascii?Q?1GeH8DALpdXgSr0VXvOhwZU2/JOvnkQtsbthy92TP8mQIoreZyZtwhy44uKT?= =?us-ascii?Q?Dujvyq5w2/8UqEvpMU323cWDEp6pbi9NFJ89/qWfkrDHgbgBRoiIPyo4YPCI?= =?us-ascii?Q?XzWRTh+SEEvOq++7cjQtCQlaRl3UnqAN2MGtu7CPAuPKTEPCtB6KqiPK+rGp?= =?us-ascii?Q?fFgHZ7kSGTVeDNlXR9Tw/yzXzWoiQm/Ml+GBxu39H72vrVG5164vtgneNWaH?= =?us-ascii?Q?cpw4oHnJJZhyI9o0t++ZtpcVbX/FiXxAK3goAtgP+4c3?= X-Forefront-PRVS: 03648EFF89 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(7370300001)(6009001)(39850400002)(39450400003)(39400400002)(39840400002)(39410400002)(13464003)(24454002)(377454003)(4001350100001)(47776003)(8656002)(93886004)(53546010)(8676002)(9686003)(72206003)(3846002)(7416002)(33656002)(50466002)(81166006)(6116002)(478600001)(25786009)(66066001)(1076002)(189998001)(229853002)(4326008)(7350300001)(2906002)(53936002)(110136004)(38730400002)(561944003)(42186005)(33716001)(6666003)(305945005)(7736002)(76176999)(6246003)(54356999)(83506001)(5660300001)(6496005)(55016002)(6916009)(42882006)(2950100002)(50986999)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1713; H:jerin; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1713; 23:3dWZpEb7pnGS5tvhBN/6I3Amso/NJEBxw0ut1J/?= =?us-ascii?Q?64rJh+lDNfQkJcljgFC5t3HPZznqsNb2OoH7v9fBwCztXjRwp0a7756bXS+t?= =?us-ascii?Q?XjXPbsc6z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= =?us-ascii?Q?s7sQ04/crzkKxMyHnWqxK5Gfn9P4+jZ25e+AkG4k48838Kx7yjF8dz0r+lA+?= =?us-ascii?Q?DtB7bwUF5m4QAA5YfM/PERKhrc830yYHpLUq2ZGWH9/1CzaVOhDdWhJDodVH?= =?us-ascii?Q?vTypoJ7Vu2oFqjwsjZTAjf/0829P2f13B12a5W1M5z6glmn3wF50Rhq3orxc?= =?us-ascii?Q?Klxp47VHWiEEVZvrM9KgtibtabAjqT783Mn+fGn/0uF7+Zc/fecmB6pPjofz?= =?us-ascii?Q?bKa0lhPgkSCRTe4tWR8kEUl0Eb3XkBDwnVf8WgP0YDFw+SceFtQmo8zDOIGY?= =?us-ascii?Q?omnMy/CZDK5P0/iJqzrN+Ro6XCloVmFa833M7T6C4Q10Y5puBFU4ML088I7J?= =?us-ascii?Q?cuioQAg=3D=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1713; 6:9ejy/oJ8MSUUePCpBtLXOpC7DfMdrH+06zfz+LkY?= =?us-ascii?Q?hfGxaCnEti2djZpiw2UruUv0Oy4+VUu8Lnu9CgV5pwdtaer40Wpt7CxEbHV5?= =?us-ascii?Q?IgDiFVrL/FCv7z+Y5IObi0RDEMIeHU23s1zTQlpdehtyS7uZZCYplm/S6ZZJ?= =?us-ascii?Q?0rkaO20j4FnwsO+Qle4pAHBAQfrJONwYALFtAT7xElMkF/ynTmupXwmaWaVY?= =?us-ascii?Q?AoTpO6Db7m+5wXHAQ2RpLREgl+yEoNLqecxvi69x2A1Bh08d05dEoxNxpcR6?= =?us-ascii?Q?CI4ucqZANCPAMOfxD91cxmcDp8w9BTrmJvc38JUCNcJian7cgt8xkplcZ2O5?= =?us-ascii?Q?1HJXT+GT5KP2gxw8tzwS7sSJC84yve0Wqt8Kc+DhHEz2Q9jwFJfTI85LfkrD?= =?us-ascii?Q?iA2/U32ZoC3gPKwySuorgogOrCd31hQIDx5i8UYNAlEndttpAUBMRWlJ4Brr?= =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2YQgYgrR5tCIG/vITKSB3ATtDVj/GkZ+2FHl0AL5u4cbh4J+r2XhkA6Sd2weDyCem2fykj+QyF2XGOO3Qi5eLVodyTkAVC4= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jul 2017 10:41:44.2556 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1713 Subject: Re: [dpdk-dev] [PATCH 1/2] eventdev: add event adapter for ethernet Rx queues 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, 10 Jul 2017 10:41:53 -0000 -----Original Message----- > Date: Mon, 10 Jul 2017 11:44:10 +0530 > From: "Rao, Nikhil" > To: Jerin Jacob > CC: gage.eads@intel.com, dev@dpdk.org, thomas@monjalon.net, > bruce.richardson@intel.com, harry.van.haaren@intel.com, > hemant.agrawal@nxp.com, nipun.gupta@nxp.com, narender.vangati@intel.com, > Abhinandan Gujjar > Subject: Re: [PATCH 1/2] eventdev: add event adapter for ethernet Rx queues > User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 > Thunderbird/52.2.1 > > Hi Jerin, Hi Nikhil, > > thanks for your feedback, further comments below. > > On 7/7/2017 9:27 PM, Jerin Jacob wrote: > > -----Original Message----- > > > Date: Fri, 7 Jul 2017 20:33:19 +0530 > > > From: Jerin Jacob > > > > > /* adapter has inbuilt port, no need to create producer port */ > > > > > #define RTE_EVENT_ETHDEV_CAP_INBUILT_PORT (1ULL << 0) > > > > > /* adapter does not need service function */ > > > > > #define RTE_EVENT_ETHDEV_CAP_NO_SERVICE_FUNC (1ULL << 1) > > > > > > I just provided a name to share the view. You can choose better name. > > > > OK. > > > > > > int rte_event_eth_rx_adapter_create(uint8_t id, uint8_t dev_id, uint8_t > > > > eth_port_id); > > > > > > I also think that the application should be able to call create() with > 1 > ports. This would allow a single service to poll multiple NICs with WRR > priority. Good point. Can we realize the same use case like below? - Instead of applying WRR over multiple NIC ports and adding the logic in Rx adapter, How about applying the WRR over multiple service function and move the WRR logic to service function layer. i.e one adapter is - one service function(adapter_queue_add() will be used to add more queues) - one constant set of ops. Advantages: - WRR over service functions will be useful as other service functions can utilize it as it is not strictly specific to Rx adapter. - In order to work with, below mentioned use cases, RX adapter ops needs to be constant and it will decided on the _adapter_create where "eth_port_id" and "dev_id" specified. 1) Ethdev HW is not capable of injecting the packets and SW eventdev driver(All existing ethdev PMD + drivers/event/sw PMD combination) 2) Ethdev HW is not capable of injecting the packets and not compatible HW eventdev driver(All existing ethdev PMD + driver/event/octeontx PMD combination) 3) Ethdev HW is capable of injecting the packet to compatible HW eventdev driver. - it will remove the below side effect(queue add/del API needs port_id) Thoughts? > > The side effect of is that the queue add/del APIs would need to specify the > port_id as well. > > > > > > int rte_event_eth_rx_adapter_get_info(uint8_t id, struct > > > > rte_event_eth_rx_adap_info *info); > > > > > int rte_event_eth_rx_adapter_configure(uint8_t id, struct > > > > rte_event_eth_rx_adap_config *cfg); > > > > > int rte_event_eth_rx_adapter_queue_add(uint8_t id, int32_t rx_queue_id, > > > > const struct rte_eth_rx_event_adapter_queue_config *config); > > > > > int rte_event_eth_rx_adapter_queue_del(uint8_t id, int32_t rx_queue_id) > > > > > > int rte_event_eth_rx_adapter_run(); > > The adapter's run function is not part of the public interface, agree ? Agree. > > > > > int rte_event_eth_rx_adapter_free(uint8_t id); > > > > > > > > > > > > > If I understood your idea, the function pointer struct would look something > > > > like this. > > > > > > > > struct rte_eventdev_rx_adapter_ops { > > > > rx_adapter_create_t create, > > > > rx_adapter_get_info_t info, > > > > rx_adapter_configure_t configure, > > > > rx_adapter_queue_add_t queue_add, > > > > rx_adapter_queue_del_t queue_del, > > > > rx_adapter_queue_free_t queue_free, > > > > rx_adapter_free_t free > > > > }; > > > > > > Yes. But, I think, adapter create and free goes in struct rte_eventdev_op . > > > See below. > > > > > > > > > > > > > > struct rte_eventdev { > > > > .. > > > > const struct rte_eventdev_rx_adapter_ops *rx_adapter_ops; > > > > .. > > > > }; > > > > > > An eventdev instance can have N adapters not just one. So this will be > > > pointer to pointer, indexed through adapter_id. > > > > > > In SW PMD case, the eventdev may have only one adapter. > > > In HW PMD cases, There will more than one. example, > > > - if octeontx eventdev dev_id + any external PCI n/w card like i40e or > > > nicvf case an adapter with similar adapter ops as SW PMD > > > - if octeontx eventdev dev_id + octeontx ethdev dev_id case another > > > adapter that does not need service cores to inject event to octeontx > > > eventdev > > > > > > - Your generic Rx adapter we will make it as common code so that both SW PMD and > > > octeontx PMD in service core mode as use the functions and register the > > > ops. > > OK. > > > > > > > > > I was thinking like this > > > > > > int rte_event_eth_rx_adapter_create(uint8_t id, uint8_t dev_id, uint8_t eth_port_id) > > > { > > > eventdev_ops = ... /* access through dev_id */ > > > > > > /* common code to get ops memory from adapter id */ > > > struct rte_eventdev_rx_adapter_ops* ops = rte_event_pmd_adapter_allocate(id); > > > > > > /* Fill in adapter ops from driver */ > > > eventdev_ops->create_adapter(ops, dev_id, eth_port_id) > > As an implementation detail, the function pointer setup needs to account for > DPDK primary/secondary processes, i.e, function addresses could be different > in the 2 processes. Yes > > > > > > > } > > > > > > int rte_event_eth_rx_adapter_get_info(uint8_t id, struct rte_event_eth_rx_adap_info *info) > > > { > > Argument list is missing the dev_id (as are the > configure/queue_add/queue_del) functions. Yes > > > eventdev_ops = ... /* access through dev_id */ > > > > > > struct rte_eventdev_rx_adapter_ops* ops = eventdev_ops->rx_adapter_ops[id]; > > > > > > /* adapter specific info ops) > > > ops->info(ops,....); > > > > > > } > > > > IMO, the mapping with your current proposal may go like this. > > > > - rte_event_eth_rx_adapter_create() // Will just fill the adapter ops from driver, probably > > your existing rte_event_eth_rx_adapter_init() can go here > > - exiting rte_event_eth_rx_adapter_create() will be more of > > proposed rte_event_eth_rx_adapter_configure() on the given adapter. > > - existing rte_event_eth_rx_adapter_queue_add() maps 1:1. But you can > > remove eth_dev_id as it is provided proposed rte_event_eth_rx_adapter_create() > > See above for the case where the application could call create() with 2 > different ports. > > > - same applies to rte_event_eth_rx_adapter_queue_del() > > - exiting rte_event_eth_rx_adapter_stats_get() can be changed to > > "xstat"(more like eventdev xstat scheme) so based on the adapter > > capability application can get stats) > > > > > > flow shall be: > > 1) application calls rte_event_eth_rx_adapter_create(id, eventdev_id, > > ethdev_id) to create the adapter.(Drivers fills the adapter ops based on > > eventdev_id + ethdev_id capabilities) > > 2) application calls rte_event_eth_rx_adapter_info_get() to get the > > capability and other information of the adapter. > > 3) application calls rte_event_eth_rx_adapter_configure() to configure > > based on the application need and the adapter capability. > > 4) application calls rte_event_eth_rx_adapter_queue_add() to link ethdev queues to > > eventdev queues. On this call, The driver creates the service functions or programs the HW registers > > based on the adapter capability to take the events from ethdev and inject to eventdev. > > > > The flow looks good to me. Great!! > > > > > > > > > > > > > > > But from previous emails (see struct rte_event_dev_producer_conf below), it > > > > appears that the rx queue id and event information would be needed to create > > > > the adapter that enqueues from the ethdev queue id to the event pmd, however > > > > that information is available only at queue add time - thoughts ? > > > > > > Just eventdev_id and ethdev_id is enough to create adapter. > > OK.