From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0077.outbound.protection.outlook.com [104.47.32.77]) by dpdk.org (Postfix) with ESMTP id AD3B62E8B for ; Wed, 12 Jul 2017 18:14:05 +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=+NczaCkzGtLLZWzI7tKVzBV8y0a66RcBbfK64IFEpcw=; b=NGERGyC6dQIJMpoK+n4f0lcSv72h7CKaJiXsgOyzH6GKADqT9wrPJhIMJXp3O1mPN1qg/tMULTXkWTRbbrkmVCRp8/kqjr0uno9w83JxawWDBjBBtSeFCGAoCpz6i9ZG6vmMAsHxK8UJynwgd3/evsGKfCydSeFri8vk/C3ta1A= 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.35.246) by BY2PR07MB2437.namprd07.prod.outlook.com (10.166.115.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.13; Wed, 12 Jul 2017 16:14:00 +0000 Date: Wed, 12 Jul 2017 21:43:46 +0530 From: Jerin Jacob To: "Dai, Wei" Cc: "thomas@monjalon.net" , "Lu, Wenzhuo" , "Ananyev, Konstantin" , "Wu, Jingjing" , "Xing, Beilei" , "dev@dpdk.org" Message-ID: <20170712161344.GA2860@jerin> References: <1498817556-64379-1-git-send-email-wei.dai@intel.com> <1499681144-26031-1-git-send-email-wei.dai@intel.com> <1499681144-26031-2-git-send-email-wei.dai@intel.com> <20170710113506.GA17339@jerin> <49759EB36A64CF4892C1AFEC9231E8D650B60DC0@PGSMSX106.gar.corp.intel.com> <20170711051701.GA5637@jerin> <49759EB36A64CF4892C1AFEC9231E8D650B610E8@PGSMSX106.gar.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49759EB36A64CF4892C1AFEC9231E8D650B610E8@PGSMSX106.gar.corp.intel.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [106.201.35.246] X-ClientProxiedBy: SG2PR01CA0038.apcprd01.prod.exchangelabs.com (10.165.9.176) To BY2PR07MB2437.namprd07.prod.outlook.com (10.166.115.17) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6e7b8ef2-fce0-40e1-addd-08d4c941038b 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:BY2PR07MB2437; X-Microsoft-Exchange-Diagnostics: 1; BY2PR07MB2437; 3:gm7xOZxI1GWn7UfDT6hV17CDk73qkMVNgNbqIkSj3KLIy0HabZTZJO+Mpf2ksHA75IjSzJv4QJ/YCBzJ9vJ+WxhZV1Br07k1g3qydI8FEVgCCbDzPkd00ufT9mHYLp4vg+qEK1IHIXn3cVQADKy0F5ocS+G59fveAAxx4xjzcTFdcRJJEio55YpGisuHEp+1NUgzgYd7TXebKAoksCK4XkbwasmNR0nW/QHnMf7cq9m0Nx8Ws48iVeDYjo/+aX2HrCIkrOiHwNGX0pkScWr5z+dyk1B5JMipvJt5iF/NIrTsiYpXS2lb1Jrls3J/If46dBP4pRUwRnWrj4tqh17xIFvcYBtgfFqeqQ24R/yeX4fziDyOMWqy0dvHzEqXr6OGk898IW8onZPtmvFWwVVmeIEwk6MiwO5MTbTikZ3xF2k2eIuTrR7XvzhY2gH5x9iMKEz8ik8OsdRpFVVKzUsXwevvCsUvLiZycmuKBqfqmu7OQN0QAFDB88aDawyQFDgoAabGWbrJTP97JQ3K75ozXBvkSxE+le75YRAoM2U43afarptZhcui25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7l/9o+kC6h39uAcleP4RiqU04IY0zM8BltZGf/tucP7t93nkesN4npBi2YrNETGpbYOiCCGkejDmrpWRlxlkk6WNpQIqKkTzGEbxcJdFpDIooXndrWzeaAIhlRNtF8Kx+uRLtd4bedsQBjGwF/5TZuLTSA+YXezb4rPNxysN3CdAi5SmvstQsN/xl/L4QYIV46l6AyMx0h4mxMvnHyfN+RfiDTa0YzZfyPBRdRJWMw84h+dSC/DGoLkO0SY2tP748LwRapj7/i4ZQ+uIZ7arvQBs8T8qstAnrSkkSwOyKCfFr/QvVS3QKe8DmICfepXXlNgk5BOoO8NmFRK3YDxvdyE4eXjBY/ae/DYyuCUEyfht5ud+dNNC5Mcbp0fWgnY70CG84i8Lro1Uu74k9KR+JszOZbgKqjL/It3Cs8T+zBn5v6IItQRoPew1cmRnsEKrpHRqKQ= X-Exchange-Antispam-Report-Test: UriScan:(133145235818549)(236129657087228)(148574349560750)(167848164394848)(228905959029699); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910075)(5005006)(8121501046)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123562025)(20161123555025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY2PR07MB2437; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY2PR07MB2437; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR07MB2437; 4:OuQ3bEZ003pLKzJqela+8dIJWkT1KZmBZDYVP4XhPF?= =?us-ascii?Q?uN1MRNnuZ0tfcs8dl4ghAwuD/dMZ+p/1IxlxYnFOx69nzx0esO+LNm9aIOyu?= =?us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zQWSOXEC7dLSfGoAPIhayFkL?= =?us-ascii?Q?MFiCWWVKk96tp2iETm1AMrQicjIxaZ/eSAH6mf0M7+h6ojQ1H4bdNBgq2oFS?= =?us-ascii?Q?hmvHvGQD/na13oiAVPhfQq7EALpTgwlI139F/2TT06cs1mssMMOqW5IAbc6F?= =?us-ascii?Q?IKv32GJQt+VvDJz46ZvR6wbQZ9yAw3inqa8isNCdo/7tVRReV/kDW5oI0hvz?= =?us-ascii?Q?Ev1nGHMfagBCcxBRLxkF3OEWHJ1yOHXhu9Fk7pTA0y00kAZTm1teqOnYqPPX?= =?us-ascii?Q?8WUAEzql54sQUITLiajarMAF+ULP55vkm0bZv3vXdMPuULSwvMkJuzvXwtPi?= =?us-ascii?Q?4jQ8Lez9UrGxI5nL6lEDCPPDkcqaWcX/xWgfEI8RnC?= X-Forefront-PRVS: 036614DD9C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(7370300001)(4630300001)(6009001)(39410400002)(39400400002)(39840400002)(39450400003)(39850400002)(377454003)(13464003)(3846002)(6116002)(7350300001)(83506001)(5009440100003)(23726003)(4001350100001)(55016002)(305945005)(6916009)(50466002)(9686003)(33716001)(53936002)(1076002)(6666003)(42882006)(6496005)(6246003)(47776003)(66066001)(54906002)(33656002)(110136004)(38730400002)(2950100002)(229853002)(81166006)(2906002)(42186005)(8676002)(93886004)(4326008)(478600001)(72206003)(25786009)(189998001)(5660300001)(53546010)(76176999)(50986999)(7736002)(54356999)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR07MB2437; H:jerin; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR07MB2437; 23:nhvfHGvhsx5trIwLd3Pg1hchiTSV8SXPtO+Ealf03?= =?us-ascii?Q?FG2FkkrUD1CC9xkwQPfeTyRCrWtBYPjQnd9wbO54z+ywRgT8QumavqWoJVqn?= =?us-ascii?Q?TJndjFlyJcwHA6bEtx6oBJ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1V?= =?us-ascii?Q?yLw5Zxy+6QHICM6moKABeacps7xYnoFO72gq0LuwpH4kwTJrr9WYPEVV7y9H?= =?us-ascii?Q?7rbZKeoJI6uZIbpqyV4kzmBFlRT+/yu29SNozv2nmGDESPjtXoYA7Mq55a/w?= =?us-ascii?Q?5tWbcYDVfANrhDCy8/hAD88wfmzKW/rTxwtpyg07/prRcDs1Oan+9d5cbIv3?= =?us-ascii?Q?OcOZCU+QNUf8bWHh0TgOnoaxObtetYOlrBWJ7VKd13K1Ed49uCfI6GULIu8W?= =?us-ascii?Q?+d6YRF3B2jxL+P0fkz8CDmbRAujZ/mjt0nC1WUiySYWjMFmDRCIcOU7LLat6?= =?us-ascii?Q?qeqZitYRxhZ8CTOAojUQlKkVsuGW952MnNTnrZ5qdUb0qptTGimvSlygh60V?= =?us-ascii?Q?mmjcw=3D=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR07MB2437; 6:ouhAumHXpwpmITCzlVP4u/URqzt7AUI8W1bZ8EiF5Q?= =?us-ascii?Q?55XaXBzaE31FBuA+pOAVKGwe1mp2S34Kiji1FAk2cEb7swBREBXsaMDNAJHp?= =?us-ascii?Q?QxWV/h1VSCM7jz1g60WGBEGegylt4qwOghsoM/7vqpujuC/iqjW5QT3ZhIAM?= =?us-ascii?Q?tXfjN60i1WC7jWtGUSA3rKiKhYOJkIz9Q6St1WHPWbn1KzuxOWvWMui1V+7g?= =?us-ascii?Q?+vw5j/vmuVit4VC+l5iUXhO4sl6b19R3V54py8o159bsoVa7CGBkbr48khXH?= =?us-ascii?Q?Cj7Qzipof2tuf7sKAD5lh+lZRi0uKz2PN7yhFHg9F1N1vwTu5cwlJVDzagT4?= =?us-ascii?Q?+h0kLHYmDsW2eYlPqz81z/O7txYoblFJCYWqR1ne9xjT4AsFunHvP9+lWSaa?= =?us-ascii?Q?TAXmaoWCYBUyEDn71exg1aXWeeNFRYuofpep3qCPJ+grszxeN2Iz4p2oihrf?= =?us-ascii?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BQtMQytcaZAoiR/3EvOMJoseTgnQOfvCRDaAB4ePUHth1aY06iY++x65Yt5C+Xl3RgL072V0fsvBFkDo97sZobc9LbTmE= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2017 16:14:00.9530 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR07MB2437 Subject: Re: [dpdk-dev] [PATCH v6 1/4] ethdev: add support of NIC reset 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: Wed, 12 Jul 2017 16:14:06 -0000 -----Original Message----- > Date: Tue, 11 Jul 2017 14:36:57 +0000 > From: "Dai, Wei" > To: Jerin Jacob > CC: "thomas@monjalon.net" , "Lu, Wenzhuo" > , "Ananyev, Konstantin" > , "Wu, Jingjing" , > "Xing, Beilei" , "dev@dpdk.org" > Subject: RE: [dpdk-dev] [PATCH v6 1/4] ethdev: add support of NIC reset > > > -----Original Message----- > > From: Jerin Jacob [mailto:jerin.jacob@caviumnetworks.com] > > Sent: Tuesday, July 11, 2017 1:17 PM > > To: Dai, Wei > > Cc: thomas@monjalon.net; Lu, Wenzhuo ; > > Ananyev, Konstantin ; Wu, Jingjing > > ; Xing, Beilei ; > > dev@dpdk.org > > Subject: Re: [dpdk-dev] [PATCH v6 1/4] ethdev: add support of NIC reset > > > > -----Original Message----- > > > Date: Tue, 11 Jul 2017 01:57:15 +0000 > > > From: "Dai, Wei" > > > To: Jerin Jacob > > > CC: "thomas@monjalon.net" , "Lu, Wenzhuo" > > > , "Ananyev, Konstantin" > > > , "Wu, Jingjing" > > > , "Xing, Beilei" , > > > "dev@dpdk.org" > > > Subject: RE: [dpdk-dev] [PATCH v6 1/4] ethdev: add support of NIC > > > reset > > > > > > > > > > + * A DPDK application also can call this function to trigger an > > > > + initative > > > > + * port reset. > > > > > > When apart from the above use case? Even if it is above case, we should > > have some event to notify application to initiate the reset.Right? Without > > the event, When or on what basics application needs to initiate reset? > > > [Wei: Indeed, until now we didn't see any use case which DPDK application > > initiative port reset itself. > > > The most usual case is that PF is working with kernel driver and VFs are > > working with DPDK PMD. > > > Some operations on kernel PF lead to a PF reset which causes its VF reset. > > > Anyway this new function provides a possibility for application to > > > trigger an initiative port reset.] > > > > That's fine. The only concern part is when to call reset API from application. > > Can we say on RTE_ETH_EVENT_INTR_RESET event, application needs to > > call the reset API? I think, it is important to specify when application need to > > call this API, otherwise this api behavior will be tightly coupled with > > underneath PMD. Side effect is, a new, non portable PMD specific API. > > If a PMD wishes to fixup some overflow case(as an example), by invoking the > > reset API from the application BUT same case may not valid for another > > PMD hence it will create unexpected behavior from application based on the > > underneath PMD. > It is duty of PMD to trigger RTE_ETH_EVENT_INTR_RESET event and application > should also register some callback function to handle this event. > When PMD wants to trigger a reset, it can trigger RTE_ETH_EVENT_INTR_RESET. > On the received event of RTE_ETH_EVENT_INTR_RESET, application can begin to > handle it: stop working queues, make rx and tx function not be called > and then call rte_eth_dev_reset( ). > For thread safety, all these controlling operations had better be made in same thread. > For example, when ixgbe PF is reset, PF send a message to notify VF this event and > also trigger an interrupt to VF. And then in the interrupt service routine DPDK VF > detect this notification message and calls > _rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_RESET, NULL, NULL). > So it means that PF reset trigger RTE_ETH_EVENT_INTR_RESET event in VF. > The function _rte_eth_dev_callback_process( ) will call the registered callback function. > The callback function can trigger application to handle all operations of VF reset including > something like stopping working Rx/Tx queues and call this rte_eth_dev_reset(). > The rte_eth_dev_reset( ) itself is generic function which only does some HW reset operations > through calling dev_unint() and dev_init(). And itself doesn't handle above synchronization which > is handled by application. > PMD itself should not call rte_eth_dev_reset( ). PMD can trigger application to handle reset event. > It is duty of application to handle all synchronization befort it calls rte_eth_dev_reset( ). No disagreement on the expected behavior. > > > > > if RTE_ETH_EVENT_INTR_RESET event is not expected event to call the reset > > API then create a new event or if it needs to be called in > > RTE_ETH_EVENT_INTR_RESET then update the API documentation. > > > Of course, when PMD wants to trigger a reset event, it can trigger other event other than > RTE_ETH_EVENT_INTR_RESET. So the application should know which the alternate event is. > This make application more complex. So it is suggested that only RTE_ETH_EVENT_INTR_RESET > can be used to trigger a port reset. Yes. I suggest to add this info on documentation. ie "application invokes the reset API on RTE_ETH_EVENT_INTR_RESET event". That will answer "when" application need to invoke this API. > > > > > > > > + *