From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0082.outbound.protection.outlook.com [104.47.33.82]) by dpdk.org (Postfix) with ESMTP id 405F62C8 for ; Fri, 7 Jul 2017 17:03:44 +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=Gfb7++TyUfKXQTSk9ajZKXKcpxzdtc3stj3LKzXAFVk=; b=j8WvIDGdcY9fZBPkoS+EmvKTlnFjxRPc6ip4gyfRaDe2IlBc2XHRYzBd/96EbgWKwoXy7MDS/vM4LQpogDIRk+Xc5Mi2XDIz+4C7Lw6VylX6TBQ0ttxURTP7KzboFFPHDUsqPcEqn3SgdTe32TiFccN58zJCiaz/cFmA64KgKVI= 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 BY1PR0701MB1724.namprd07.prod.outlook.com (10.162.111.143) 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:03:36 +0000 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 Message-ID: <20170707150317.GA2007@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <02aef899-da84-9281-e4a4-2871237ea20e@intel.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [106.201.60.201] X-ClientProxiedBy: MA1PR01CA0106.INDPRD01.PROD.OUTLOOK.COM (10.174.56.150) To BY1PR0701MB1724.namprd07.prod.outlook.com (10.162.111.143) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4872cb7a-5cce-4a7f-4c4f-08d4c5495a5d 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:BY1PR0701MB1724; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 3:eDlZFW6QS6MydJtlonY+IBXqATov9xvRXseWxanIJw6kW/vkQMQmr77L574n9dmPeLk7UncEw44HE9/cGlC7xNsNtDeDq+f/bCGuE69NAxfQC7PG1N1/YWtIJdLKiEgTx+jx3DiOqj2HlNqYjEEHEuF+mMODidoOo1eyETGuF3PNXA+TA1PpCLAjn8ImoHwalurJGxJuWVpk+tGoRBoIbiFUyZTg8Hvm1rzWh6K0MGhTumr9V8v6bs2eLA21bU0d6KQFP15aOA2apkZS99tO/Bn3DVM5VdCYY26l741imwEvtIoAnvXT8MM6xFf+UbO2VxVfC3cOXj/v9L/Ed4SDn7WYTpybKNwmrjCdX+scsErM3Ff6umvT210/KwwvB4kZpQxgVmpgL/CHT0KCvMkycqpg0woPVFJ1jvJ28CG9+xN5bjOpbqJ+gV+lpW2vzFcJmJFTBMQc7yiMKCD3QsXTMLVfnxkiqsoTF+J1tRiOu8LArIN9Tt1PZRzmY/PJ4NWHICyZrKFVCNemVkwaxxwu4HVRLolXWR1inDj/UAumaDdgvRAXguuo5lAFfnJd5VAtP9RIzkiEc647videbIFqgpFl/5TVICi5fUG8dToIK6sxR9e+Z+uNa3PqmJdFfx0MtZ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3Kjicvx3uS3HCiOLprkKTj7KIRfyJo8FR4sbhSF8F55AUHZvrVkudmdfhy29XzFN38P4x/85Ji6EQej0QiYSfIPpwyFcP4dnwz47kf2kTxaJUAWZsFkjA8+5BSDZw1ZwVvNu0QdyrnEtNeK71/kjpGxpR2X46R8WsBf4RfFcU3/Gy2+a5smkk86WWTkbyOYtGHJ/D00N4agg8XAoJFI2nBX18reKmyRoo7QMXLCHvONBLJ0QQPLX68fPGES5XFHNbACFMOP1YvOuU2/hO2NOc8V5VMvjcBRt0ML4FmrdC8vuonQ8R/hEphtbyfcvJrZ1IGpX73o/krbq+Ca2c21usZYieTaLR+aMXql8e+WY+ll4g1I06GyZdvwPq2DCMuyijvC6H9nHWIqNmcAaEdEFgY+pfH3GEG2FQ= 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)(5005006)(8121501046)(2017060910064)(100000703101)(100105400095)(93006095)(3002001)(10201501046)(6041248)(20161123555025)(20161123564025)(20161123560025)(20161123558100)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY1PR0701MB1724; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY1PR0701MB1724; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0701MB1724; 4:UzduvWqT5Km9YrjD6C2hXdds47CQsx6B3LelPBfn?= =?us-ascii?Q?qMW2/qZRCcFbBGybGK8wJzPtwvUPzeBzsWlFdwkEN8lCcMbtWG50h8xMZ918?= =?us-ascii?Q?+vDkwHHFrLRCJbYc6ryHTs/sBdS0N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ii?Q?roSU+PrGSrzbZEdWOAIus+HOS5o4puLnrS9AxNtQLJ993Nl696cYiCWELpTw?= =?us-ascii?Q?dUFa7BfLrfr9lsq8FZXOdWwjI4jt3N3H8yMRNJFS3GVgPDgcuWBAD4+LzOIM?= =?us-ascii?Q?oIOnfeLcpP9T1Egr4bovYLQj2B/PpBLHo7P6MQdtXyZ0a4K7fVfz2NE+BUba?= =?us-ascii?Q?v8w/NS1Vyvnzhi8NQHHubQJ4TVuTdkqFVem4MQQi3XC2xjYejq4VwpR3jsw0?= =?us-ascii?Q?4W1HgZjj1S1zH5SVJBRnqTiKvHr+t9kpV1b6kaSGNA+ptWz8dLqS6FTvZzef?= =?us-ascii?Q?eJ+XMsZUk6hQOmoHU/DhvAnwH7LMS9KzPqYbKxWKCH3+?= X-Forefront-PRVS: 0361212EA8 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39850400002)(39410400002)(39400400002)(39450400003)(39840400002)(24454002)(13464003)(377454003)(5660300001)(42186005)(25786009)(6496005)(33656002)(53376002)(6916009)(2950100002)(38730400002)(81166006)(110136004)(6666003)(4326008)(53546010)(42882006)(7736002)(53936002)(33716001)(6246003)(229853002)(93886004)(47776003)(305945005)(8676002)(189998001)(6116002)(76176999)(478600001)(23726003)(966005)(50986999)(72206003)(3846002)(8656002)(83506001)(7416002)(2906002)(50466002)(1076002)(55016002)(9686003)(6306002)(66066001)(54356999)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0701MB1724; H:jerin; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0701MB1724; 23:VxaarzLw3MucxXnoND9dAo7aw8DsJdGJCoSGhDs?= =?us-ascii?Q?3rlSIW2R4K8MPVfLtov4leapCiTzN3qlRikOw/eJlpYbNKXWOORZM/x8z9Bw?= =?us-ascii?Q?uZHpPhJh4G6X2cyrnz0MVRhbrXnVep0HzdGQJdSfUe1Su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r870hraMTSvCOLXo4GNSf7zS4EgG8dF6Mf7Mitoncf8XEB3ZYUpAgV?= =?us-ascii?Q?OO0spVkWIM0Qat/LQuJTzF8rHUUhDXHYtLVCXgJBHfsPig6hnoaVhZCm7BSx?= =?us-ascii?Q?OFCxz8sWdaQCiEIZU0eWHNT1KjG1lkrS+fP4pqELRUKZwOcpnEMyb58wMXcK?= =?us-ascii?Q?ICkNiKqZDodBpIYeNOD+yCkkNdj40a9gMaTMiQB26Y62yIsEJTbHO+r3h471?= =?us-ascii?Q?BSCYZlIt4EXIl3IhhmNswvta0XU65sJG2XrQ/gqmADydxDrnbsSQQuMgaSFK?= =?us-ascii?Q?V996FnLJ7w2l9F1PLb/gcmHroFf/MXlm7Bu9kH4oAUU1A?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0701MB1724; 6:TMT4rfWlDFyf51izlB08nDQRVZydwmPpeb7Xg2D/?= =?us-ascii?Q?78EmxdX/t5fvwuzADnxFEgg5oyLB/B0ux6JQcGqstYkTBsa+igrth+ciI5Wm?= =?us-ascii?Q?53bIDfKotU6X+7AR/GFGHPrY7LER8xH8pDOWV1qvmEPLuhNhZOpmgrBd6/z9?= =?us-ascii?Q?ABcGqX96qXx6K0et91zhbwqwkgMR3TkMy1c3SC7q/W8XXVx42JsY2VqZNjVH?= =?us-ascii?Q?f/MyCIf7y3Cx8EN+Zv2TkneKYyYA5FktXQRKd1RPIL9lXSybs7QPWCvvs3+J?= =?us-ascii?Q?cveewM5YqiLjvBXOFmWWsazw8UAzhsQBDAT4EDZ695bSc9Oumh5Ho4TwU5cd?= =?us-ascii?Q?wLpEnmHRFmw49OJeSk/3kBYM70CwUUzj38NRXmAWd6ENFIlIRiyClmEHu1iP?= =?us-ascii?Q?mVlPOxB8DN8Qjlhrgc02yuZQp53jOhsmC1HR5zQyPdabq5fuHdhQhXAoQHty?= =?us-ascii?Q?xAdRtTYk9cdqQvEhwo3VCiD/Q6hAteWyv19iHKV/VBRvax/v7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QTyDhzvf+gjNo= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jul 2017 15:03:36.8867 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1724 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:03:45 -0000 -----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,....); } > > 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?