From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0046.outbound.protection.outlook.com [104.47.38.46]) by dpdk.org (Postfix) with ESMTP id 85C363254 for ; Fri, 7 Jul 2017 17:57:33 +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=ehjr4pkuuxqhnOjEEjTNLCdPda/vWTQ1D3++VJjUzSE=; b=o5Bf1Rc48OHyWs6XdejarKoF2Og9/j0AstAH6lxpF8t/b3dyD6t1S5bk74R0mCod5qZScszoTjHT8CY7bYDYmMSFcwQDYrwOIc3TgPlGq8qGjptymK4wYejOHsjX2ppVlHwOZ/bpWJCQC5ondZ5Q7ZBrarkjYp97/Lm5osQAs9I= 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 BY1PR0701MB1721.namprd07.prod.outlook.com (10.162.111.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Fri, 7 Jul 2017 15:57:27 +0000 Date: Fri, 7 Jul 2017 21:27:08 +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: <20170707155707.GA6245@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170707150317.GA2007@jerin> User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [106.201.60.201] X-ClientProxiedBy: PN1PR01CA0072.INDPRD01.PROD.OUTLOOK.COM (10.174.144.140) To BY1PR0701MB1721.namprd07.prod.outlook.com (10.162.111.140) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 326e561c-cd77-4357-966f-08d4c550e039 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:BY1PR0701MB1721; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1721; 3:gUeRZm6D1hwdf41gQBFm+QMekGcHJwF2Bx/rX4LB1msxHGRwoblXb+QSHDExE/w3kFkzroQBkgfmgvM2aWul1206ryw8ndyjSkXRV2GCi+3z8vvcy5KnHZgUWLzGrU0KdDoj3K/DHJOYtWBzBd0i22Q2heY8SsJHh5PGShTrrMF+vmutjGnvY3XNZrL+Sy7thPmDjC1OkZOkICuVB1U/dU7cwkdxDq52JGKVfmx188RryPMSHjIY4IBdU9IXKAbwNCRTj61CSlQSXvbvSTN8BjyG2rtG2MA8QSKXbQVeerSOEuRuMCEEOpeBYqm30/S7a1gBw3Ay64ODcK+L2jEzja5l6MAFoa1mGTH9kMWhHD6OWnECvT6/Q9uYFsnaQLXyLZ2XsYS6LWlycBQtUJzgux0Gzcfq17/tFcVXKv+LO8Y4OnPuabDoEwqDuGYM7XucGaWZBh0lnsNsIzW72YJRfI4EY/YtUA8LI4AWE9dXa7bc2x3zOIwLU2fDowGvcfbtXU+G+LYwZf/IY4uWQz3CXeZhCAu9oWNlcHpCRhWltCn8aPmuuQXbI/vtLuc3KlQfLTOIRyCnnlvVmvtB8Y4bgThkpo2t0RGm/OQZTCRGWmPcCsdCNA3msuuCelg2nXw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BxJz9qVoETMuqknfNBy2BohygAzgLhJE2j2sT1ZetDnZnANRs1Qoh07qjmnP4D0GQLioFYB/KXEnzIBOrEOcAha4vAEvwo9A3+ivJ3M4oeY1C908m7zFilKLq0yqFZDkLkOjIMuJicZwBUWRkD1rpSXdCkPpLPnLSGxowgHHFreRtUhS3h3VWB89OW7sFMdqKfyGCLXmqDv6MNv38NAwlvaUjdu3HIABOdTVPG01ywmHgD7SoIpWZ17bqwRxMhyErhxPWR5wMSp5CqeeMfaEo8LtAKCMHt4TmuhxZlpiltiF0q2WoJWhyq+e6sYun9lUzZFpJgUuQT4KeWR2jNdHRGOOZHyntH/LHTpr8dfsKszPQbscPaDztYoz/aMWV/AaJOnZli/QVJ8tTCPXAQGfAAzNqIW7z50= 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)(8121501046)(5005006)(100000703101)(100105400095)(93006095)(10201501046)(3002001)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(20161123558100)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY1PR0701MB1721; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY1PR0701MB1721; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0701MB1721; 4:Vou4Q+G9l4O4hK5qmsrkc0bbbTogN0rcb7ALUt4P?= =?us-ascii?Q?cZL99B4X4HpXFjrSNA0u7GoaN/pUgX8E3hlYqC+s931NDeXPz5aJeheKcZKW?= =?us-ascii?Q?mAbXFZj1jwV8hEpI9knGWjQtkKoQFCtKv+vM8f1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/Jv/IFT6aLZ7iMYTCl/sBmV++Ptbf9GOKw4jNAW?= =?us-ascii?Q?5C48uOQBD90YfO78jIT387450TJQhFigB2b2f6YCO3rGJPYedB1qd7k+N9n7?= =?us-ascii?Q?LxKdQe5unwtd2sKbq4NbOzYHVT99QG/l7hk4aLHq4Y0VwvKmjnnv1TsBoisq?= =?us-ascii?Q?qFEZN8GHvfHDwRoIyYGoocXNFHrsJbzz5R8wKX/+qa1KXrpSp3mw04LsFXES?= =?us-ascii?Q?4bO81dNIYsxYFvtZTyYFBsJuTDG2afq4hobSi5JKCDI+WnC66WR6SGKHcFB1?= =?us-ascii?Q?irrc4Kh9QlFEJBKyBsFFATQ=3D?= X-Forefront-PRVS: 0361212EA8 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39450400003)(39840400002)(39410400002)(39400400002)(39850400002)(377424004)(24454002)(13464003)(377454003)(25786009)(2950100002)(33656002)(54356999)(76176999)(6246003)(6666003)(478600001)(6496005)(50986999)(1076002)(3846002)(229853002)(93886004)(966005)(6116002)(81166006)(83506001)(47776003)(66066001)(38730400002)(561944003)(72206003)(9686003)(8676002)(6916009)(2906002)(7416002)(23726003)(7736002)(305945005)(53936002)(53376002)(189998001)(8656002)(5660300001)(42882006)(6306002)(33716001)(53546010)(110136004)(4001350100001)(55016002)(42186005)(50466002)(4326008)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0701MB1721; H:jerin; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0701MB1721; 23:B3Zzh+HAAHXZEAaCr4wEN9Y4ErRiLq1yV+i72L0?= =?us-ascii?Q?cYwWYUjwrOIy2b0jRwMfwGAYCaqwF9hJrIP+Qj64A1i4xqPPfr6DWSDgc27o?= =?us-ascii?Q?M121huJVv7A1+adUIsrtQWYZkZf0ga9rRCJ/w443ZKoc2UqbArV3OAaPz4Gp?= =?us-ascii?Q?Cor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lfk6XohV5f/wJwZ69PQQ2ANADl+MR0Qn9Sd04yXifSMu1oDfc2Vio97aVUYI/QcI= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jul 2017 15:57:27.8798 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1721 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: Fri, 07 Jul 2017 15:57:34 -0000 -----Original Message----- > Date: Fri, 7 Jul 2017 20:33:19 +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 > Subject: Re: [dpdk-dev] [PATCH 1/2] eventdev: add event adapter for > ethernet Rx queues > User-Agent: Mutt/1.8.3 (2017-05-23) > > -----Original Message----- > > Date: Fri, 7 Jul 2017 11:51:01 +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 > > > > On 7/6/2017 7:48 PM, Jerin Jacob wrote: > > > -----Original Message----- > > > > Date: Fri, 7 Jul 2017 03:22:31 +0530 > > > > From: Nikhil Rao > > > > To: jerin.jacob@caviumnetworks.com > > > > 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, > > > > Nikhil Rao , Abhinandan Gujjar > > > > > > > > Subject: [PATCH 1/2] eventdev: add event adapter for ethernet Rx queues > > > > X-Mailer: git-send-email 2.7.4 > > > > > > > > Signed-off-by: Abhinandan Gujjar > > > > --- > > > > > > > > Thanks Nikhil for the patch. > > > > > > Looks like you missed this email? > > > http://dpdk.org/ml/archives/dev/2017-June/068142.html > > > > > > Can we make it as function pointer based approach(keeping all adapter functions > > > function prototype required for SW PMD) so that each PMD > > > can register the ops for adapter_create etc so that same API can be used > > > for software and hardware PMDs(the scheme like rte_flow() or rte_tm() > > > approach) > > > > > > Can discuss more on that to finalize the approach? > > > > Yes, I did miss that email :-( (I am including the relevant extract below) > > OK. > > > > > > > > > /* 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. > > > > > > > struct rte_event_eth_rx_adap_info { > > > char name[32]; > > > uint32_t adapter_cap; > > > /**< Ethdev RX adapter capabilities(RTE_EVENT_ETHDEV_CAP_)*/ > > > } > > > > > > > > > struct rte_event_eth_rx_adap_cfg { > > > uint8_t rx_event_port_id; > > > /**< Event port identifier, the adapter enqueues mbuf events to > > this > > > * port, Ignored when RTE_EVENT_ETHDEV_CAP_INBUILT_PORT > > > */ > > > > > > } > > > > > > struct rte_eth_rx_event_adapter_queue_config { > > > uint32_t rx_queue_flags; > > > /**< Flags for handling received packets */ > > > uint16_t servicing_weight; > > > /**< Relative polling frequency of ethernet receive queue, if this > > > * is set to zero, the Rx queue is interrupt driven > > > * Ignored if RTE_EVENT_ETHDEV_CAP_NO_SERVICE_FUNC set > > > */ > > > struct rte_event ev; > > > /**< > > > * The values from the following event fields will be used when > > > * enqueuing mbuf events: > > > * - event_queue_id: Targeted event queue ID for received > > packets. > > > * - event_priority: Event priority of packets from this Rx > > queue in > > > * the event queue relative to other events. > > > * - sched_type: Scheduling type for packets from this Rx queue. > > > * - flow_id: If the > > RTE_ETH_RX_EVENT_ADAPTER_QUEUE_FLOW_ID_VALID bit > > > * is set in rx_queue_flags, this flow_id is used > > for all > > > * packets received from this queue. Otherwise the > > flow ID > > > * is set to the RSS hash. > > > */ > > > }; > > > > > > int rte_event_eth_rx_adapter_create(uint8_t id, uint8_t dev_id, uint8_t > > eth_port_id); > > > > > 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(); > > > 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. > > > 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) > > } > > int rte_event_eth_rx_adapter_get_info(uint8_t id, struct rte_event_eth_rx_adap_info *info) > { > 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() - 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. > > > > > > 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. > Free feel to change the name of API or flag name etc. > Let me know if I have missed something?