From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0053.outbound.protection.outlook.com [104.47.37.53]) by dpdk.org (Postfix) with ESMTP id 8F3F53257 for ; Tue, 11 Jul 2017 07:17:25 +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=MrTCi2cY9c0s/dr0O7ZyYvdThvL8SNknxlyADE4Kd98=; b=LLi5LVQNGrytu3/kXee1mLp0Hde31R3Uw9c8Y7DYSc9Efy4+QXoyefwgonEYaB8cJBpM8d6JnfD6cO9T/ok0LZbcnOAEjxlrz5VLCdPaQCmgCwBjRvcpaROlqJlNzn31Gyz2xrPajA/NQxmr7XbD4t/sy3yVo+vVG/oPGMwl8wc= 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 BY1PR0701MB1722.namprd07.prod.outlook.com (10.162.111.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.13; Tue, 11 Jul 2017 05:17:18 +0000 Date: Tue, 11 Jul 2017 10:47:02 +0530 From: Jerin Jacob To: "Dai, Wei" Cc: "thomas@monjalon.net" , "Lu, Wenzhuo" , "Ananyev, Konstantin" , "Wu, Jingjing" , "Xing, Beilei" , "dev@dpdk.org" Message-ID: <20170711051701.GA5637@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49759EB36A64CF4892C1AFEC9231E8D650B60DC0@PGSMSX106.gar.corp.intel.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [106.201.60.201] X-ClientProxiedBy: MA1PR01CA0087.INDPRD01.PROD.OUTLOOK.COM (10.174.56.27) To BY1PR0701MB1722.namprd07.prod.outlook.com (10.162.111.141) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a93d89ec-f56a-474a-ce98-08d4c81c1b78 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:BY1PR0701MB1722; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1722; 3:/TvcI/2bgc2gVpKY8Cr5aTFPaT8PwoeWBru4AixMfN7Yjem0b5oospYwVQ7puZbmkBHTmgEimLsoqtflpjgML69iIFTz+UEkmZUyWgKuZX/6HYzog9Uh/ttj8l5ULN6Ix4x9Xi4DWB9sIxD7enG6ttgMu+a44nuVoTLCbb+Zs+K2aNeBkuCN8JHdlC7yo8eR4RHvkdYa30asCRKwFkc+tX5LnuK02727uo4chRRoQavgRA6Qt+cumrbSjvx+A48BxYlEySLugJczr7zFMy3I34MtwhcYuitQIy7a42UaTKYXGJtfdsUZJkh48Sq+i9DMXfF0mX7LJmbj0Yk82ApBkKuo0kmQ1r3ujgY+QvFJgvxYkFZvoEeB6yqtDcF0NdNSu+jXEu/4kByHBdDd1R8378ULVci0q7zITn6wQolLjMfGLWsDosrm03BvvR985iehNeIZRdxYAtQDymiCbGXNOBKqpn4C7xX2Cb7lzipZJ8HI4Lo7qiA1f0FrSEB722Qn8PgY4AtmCTSRYJdo1fXYtZnU87UoQUzhhCvE6ELF9Wxqg66LT56UFFsvQidQypSgbYOYCd4Cdz7O6hKVYW4xQq9PZrhgnlfASof+aJHDR+R87mhghqIQ76G43lh11LqbM3dWtZcOS8MGlvNb+vCkixYM2y1cnbupf88qqMJYmAPH/lgEF0CM/TT6gzT1OWVXbTHam8WifD9PTAyRa5T2QS73qSuAeYTObgy2P0T3EIc= X-MS-TrafficTypeDiagnostic: BY1PR0701MB1722: X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1722; 25:As1crrrBQIGRjtM4R08uT7eAhjQmwPEvDvcSpwX5IDh3bI8AYDt3uDiJrbBONZtBnMU0if4FPdC6dRno+/3AxYo5yIEA/2Aw8UP5R81IY5ZVDctdzWREh/2Mz9TDn85fOlXQUZbueI4uNuUDApEwTyQY/p1nUdYtF7+z142+gNZ/JTYyMkqKAsf3FKu92ms1al3UYwDaVhC8lkFU0sgVNq4zGtnCyLG7yN+wDGxp7D9chIY341FweOq5g/KTEeBo+Dn1g5qP5q2jlWfQKUDQkPNdLIf7VkueZM66y5+2oS+MQG490zifwLljN4K0R8gPg1krgdiundnQxcBGrK9Vt4RQF4re3k3XGjsOt531ro6Qh0CNfeSuu1C16kO27M0UnlT2IhH65wZ104is4LfQKFQBl7B2nN2KgXyagL+oCUwZqSP8+zMMUnX+Q/XebEc5p7b2uNW8L+JBGjZOfbflM1YdQXnisvWz04uqyxMT+hQAjSu4NtvMDhKmCY7UytTJ3mlwx+l9xObsbEk/hckLEr9HCe6pHLXHTS+wDyHy/Jw76j4uGP4VkiSOuiSLmCOix1TDv9w73OCxr9JjVzkj+xN7gVzQh0UrmMZ29DePXGBnDKghSPYs32uSuJXpaCJWqM+hQcQYRFk6k5xigYvzALshwW2HiqABpLezoSjVAq0gUuyIh6zj14YYrW/p9LoRkEvZLXFNNF7WM4fh5huL/pRFDFVKuPSCP50EU4FHeEV63xLwq/TPU9q3CbVAUvkDN22P1WaywsZoh/whTEfPBpdYipBVVh28n71AUcObWbBYf5wkLmptSXt4fZKZXZU5FQcLtK7crcjiP74ZtLGdU93V6Y1e6y6LDNCaexbKxPsAR7ok6r+hz7ULpQxMRVj0x1VWnL0irvR6rexGh/IFjyWeCrTDM11n/OdzM9zAwHQ= X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1722; 31:nNAq4RyKbwH2DYlWkNAsTductFbFbrVrlhwSC6aGnzIgDuAkd6t4qHfDXeQHFr+WZ7XA7O4dxSgHQSHq+HVLZCBgO/fTRfLrAZSy8VKupgKMhECVrsFXUexEMTWSYCMFSsRtcuZr5psFiK9UJpsBAPQrhiXHjwKS/Z9EHfexamFMSHHBxbcovECLi9r8FqwGYkpEpXB1NSlRzNN+Idr+BCIpi501X5mmCZqVnMoHgmGsC3BiQPeiJb5fXserulfA+vQoBUnw6Umm9y7CZljo301b+MiCiwZjWh998CADG9CT1WagP32mvDxLsdObHoEbpz23g7v07OyVe1GTOLVgjeNglgu+0XuR5eQU/vSWPXaIIe45OyNpKMGnAbKy8mURbxIjTq/HX05Un7kxn7mjYysm5yrykx4M1nAIf2WkNfkpcJwx4rIx+fiacnOsz774bevhsO0KXme781jT7BbcM/uz8FeJJogEu7ZMJ3+R6UbthqaXcGlQEDpkUOH+1DyekjIo0CnnvnDWgSKzDITPfEmNsPAM14IeDtO0VALUSILqztDY0gY6CiXn7C945l2EHThm6SvNxu1du93lc+J3MJqX8m64Pk0LgryBSk//z95pu+RRrTtqA7D+SJEBsh2nXNqWFG9ammkWbTSuE97S9IpX6drhZZIKY5GYoVbwBijXS1xccCfNE3kzJe7W6kZsU9rUNY2uq10xC76e6FWWig== X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1722; 20:aqmRHXDRMnXtobSRf1f/ph55BwOCcLgz8QkgXi4GHDQffh7gTaeIHSzyVBB4Hxb2dsrW5iYPsTRglBJCJIZQxZi6IV2AxIapahU11l0+H+cXIr5g+vYKWTpHftHOL3r+LNnfGyfY+vjnx8OhTAyUQeCKllI7u9sG75uc9etmcEkwc8JizJhWq5sMvj+BiseMYrTy4awzc/M1KabhwrIObjYmXRtDUgtLdSVmeXpJ6yT+o1FpVPL5ApifMzBf+xGIxNE+M5zIiqdLwjeFqvo93pOrAV79IwD80pNh3P5wYBDDaBnfHDkY8/Thb1glHmepTWmg5m5RA0WD1gtMn4xgsnGm3lJewsP/Aj/RpRE0XdoOetO2D+EabWhpehzTZ29di1Voh6b6eE7CMGZdOB+rRAz89ssqyFZmFp6hhguMLW2TaUubtjGvbq4qblU7hTCg/Te/bVVKLGSCF68ED95bkzuIUyrD8kOQQNorjzSJnfUslRbQJK4yBUoh5rQre8qcwtS0G78QLjJIkEtyfljughCxen96WxXY0R6CCmXDkON3B9LXH7Lh02nPQy00KqTeDG1gz52szyZesJ4EF8ABaKvn5QnP9OsE8+21HE+2oeM= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(133145235818549)(236129657087228)(148574349560750)(167848164394848)(228905959029699); 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)(100000703101)(100105400095)(93006095)(6041248)(20161123560025)(20161123555025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY1PR0701MB1722; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY1PR0701MB1722; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0701MB1722; 4:ufGU8gia8Lc23pyS9yTnmiyWoUkn2YKYofIN9Gvo?= =?us-ascii?Q?g+nJ2jYeT9SuyW9OUWp625PG3cXFb5PhwPwSjglmVAskeEK7/lVPx5hZ8Z+Y?= =?us-ascii?Q?TcFT5MebbjI5XYqtpmEY692OhqH+hoKoAe/T0KUrq0h4+1M/jw43+dWbbh8/?= =?us-ascii?Q?HV/tIvLdLPYTs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QC?= =?us-ascii?Q?8S6+aONvIPuyYEcuf7yzrr1qG6fgjkPrKFq7YZth1sTScivWJblujn8FC1O+?= =?us-ascii?Q?oCLdvPPe7arFuSibvsCk2VKERqsz1E9MV2ZbhwoRW4h94mf6IWAaPUZNaiUT?= =?us-ascii?Q?WiOsno31r95GCerqssm463laijq8bKbQSNMSMsLGjuR3onuhoJ1bhRPagjyP?= =?us-ascii?Q?pT2rXi0S1LDx2N0pK6uCOS3qmjhVi0bqlcihpkq9vpstNfbPDDlSq30Kvxhc?= =?us-ascii?Q?1Agn/6pcj7zJpDi/pefymsmG/FomLzsCN4IxtCGjs8fm?= X-Forefront-PRVS: 0365C0E14B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(7370300001)(6009001)(39450400003)(39410400002)(39400400002)(39850400002)(13464003)(54356999)(2906002)(1076002)(50986999)(76176999)(23726003)(6246003)(33716001)(3846002)(110136004)(6116002)(4326008)(47776003)(6666003)(189998001)(2950100002)(9686003)(42882006)(38730400002)(6916009)(6496005)(55016002)(42186005)(229853002)(5660300001)(81166006)(5009440100003)(25786009)(50466002)(66066001)(8676002)(83506001)(53936002)(478600001)(72206003)(33656002)(4001350100001)(7736002)(7350300001)(305945005)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0701MB1722; H:jerin; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0701MB1722; 23:xAmALfcGwCoc8rrae1GjSptxTp4856qFqNiPjUm?= =?us-ascii?Q?H5Xqt4fKcvvbCazEabushSDWq4DhX1eCj9mVK0ckwR4F6OwbL7nuJ85iNPqz?= =?us-ascii?Q?E5DLWMpwK0qgRTV4HhFM/0mr/ozBiqCbt0J3hHqRQqvG/w2sQ7E3ijdL4Z68?= =?us-ascii?Q?rN0+SMKlOO8NVd6nXhyQ/FM8mG79DKRWehGri8VABas9CZI9V2As99jUgXkW?= =?us-ascii?Q?sEwr4Dj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 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1722; 7:1JsxDaoffL1z94WHMw5EgmkxjPdGqXqsh1VnVdGwt6w+mCtB83dWaLGiv7DblPGzUb404yslqh9LpihCwnH388RO556OsPMPc2TsCP9r3ComcuStyqCdTs4J5vfeyOQAMj1ET7gvGoyKbfIt7DJO+UeYH/ZaUs1nv6ZVymj9IHh+Psm5LsPFcctfTYqp1EjbQdKYbJziRnHbEfvNrQOl63hrCELkWgqfZtK+2Sf5bUzXW9vT9TsaO3cfnkEL+GEx9soyRXDOXvIqTtLUuwmI0vNIHVRfYXMqAPW17FNjrgzWYbYBcTjJOQ5k+ZkUGVdjwEha1tmCmV1PQVWRd/d4w1wDiSW4TG4D2MeMYCEkE8Wt+eDrv7gWWbiFVOw5uy0F6vY1ELJTVXhinRP3xXuXeIXyoaxrrNur609vZ93YVAQEviAs1YcKG7tvYpP9BW98j00WBE+9wh9azWNqhpH40iN0d7dL98AQeYtJFo5cCa4tbK0Vajn9lXRUSfAmls1mphEEo83iPv0S0kaORPFAWJW2djzBlVtA2O1ScsUKe0t4NlC60v6YThyQsS0JzuLtRc+TQJW5asFL5srbMCyAOW2S/bQmUXKe5aF8I4KXubjjAaT3C2NtF4/si8QYnmRzBOvAhGNYRKKFDmqEABl66hNlJuhZ+OJDzv0OKU3wS9Vi3ZP230aDpzP3YCKOoPc0DeSXitXoLu7MCSTBI1PvphQYRiC8qmn//zsSO8MgolXKHxi4cIdbBNMyLaePIqYp5G/yvO9M3U5KytBY8Tph+hv6xYL66EW3YQMrleihpEE= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2017 05:17:18.3966 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1722 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: Tue, 11 Jul 2017 05:17:26 -0000 -----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. 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. > > > + *