From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0045.outbound.protection.outlook.com [104.47.34.45]) by dpdk.org (Postfix) with ESMTP id 5ACF758CB for ; Mon, 10 Jul 2017 13:35:30 +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=D+t0jZcDdBmu1JYqBYp6yUA/gdtVJjDbXiZH1ri9DvM=; b=LxBUvx7irYSP5Ob1wDq/VH2EvtTkgAB16hvxbtcwhLk9+qPYHJ5A0271GK5+lKjW+D8Hg9g3bzfUT9jpKX8hasHHvINZ+KO1SeAyyRkQGM5PgAcP5j5WwZACEUkevMh/gglHUjyNFZSU1MdkyidXbHKuopfElRQE4DUy5upXj+U= 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 BN3PR0701MB1717.namprd07.prod.outlook.com (10.163.39.16) 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 11:35:25 +0000 Date: Mon, 10 Jul 2017 17:05:07 +0530 From: Jerin Jacob To: Wei Dai Cc: thomas@monjalon.net, wenzhuo.lu@intel.com, konstantin.ananyev@intel.com, jingjing.wu@intel.com, beilei.xing@intel.com, dev@dpdk.org Message-ID: <20170710113506.GA17339@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1499681144-26031-2-git-send-email-wei.dai@intel.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [106.201.60.201] X-ClientProxiedBy: BM1PR01CA0090.INDPRD01.PROD.OUTLOOK.COM (10.174.208.158) To BN3PR0701MB1717.namprd07.prod.outlook.com (10.163.39.16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 005d65d3-4d78-4355-732d-08d4c787c363 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:BN3PR0701MB1717; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1717; 3:dYWm1VJLEBAdY2t3Z0hzGxPuq8g8GUm64QadFaE09yOuAJ7tsAqqKy06xzz220CoD5XSJNOChnzorVB5ps5qKMHYayJw2TTgOBg7vuy2OpMaqiJZzN8ASSIwqaIf35Gy9y+CCB5cqseTeEm5CZ8i/XJW+bIQiDfKPMMtaUzVLmMsNl856PqUm1qhRA8Jywbu+S14J7CVPXyrfUTvfXnHBj2vCpFwRHoXTupAgftSQrxoREHdUBnZpjYMnbYYz+VqOVWtRBsOTI2toKO1bFgNes5QJzt8bZw1hNAU7tjGiB523Vkk87GWF432HsvNzbbAXwuyCsAqLA0C3wqh8YjCDAQCZW1Ct5zuYwZhV+hQB6PeC1SJIRoMZeIhfWhY0RcMtn6t1ESQaQvWBzaBW1pu/rbv7EW6BGBo+ZxCvv7yB0YU7bmRH7jJixoajuVI6/sQKRSudnzCjXU5ELatkMHOq3EX/svUfN+qP13dl9ZqhjxoLM9JtFPHKEm97j9aFa39cCvLQRR/1eAs+tBsFhG0FGDYrgT1HV2mm/2EQrIrMumCXg4NuS6oRfnR44saoxqNVlyJl1fzY22NLUCxIOMvyO4lgvAfs9RI7iVVFfZyfTb+elRbwaSydE/9wdutuoDnpP3KabJ9EUmWnozxRQZCxEKTsZoZpATTk4PRmghahd1puDXYAe6DNNdTVwb7CmPDckItTP+LpL+aJ+ZV4ma7CgtNb7k3JD9d1BMqPMx42KY= X-MS-TrafficTypeDiagnostic: BN3PR0701MB1717: X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1717; 25:A7TXUtKMb9oBYmx8MOZ+Nn3tbLdPCYgC5zcrNTFAlSQLDJthDcwL+Y6JlcwxPGa5rLxY7w8ntsNmpHXKSKnjq9uIsLlABllNyuOH8gVngmIwA0aIFyBSDQ+TKMNoJ66l4+ejsUChcwAPinqU4CvMWVNQbqjs0pOCHtnyRIqq7VpaSfT+KJ/ZbHTisHW75/tSD1HpYNV/vWdg8xSOvblLJICxbtLdUlGHU5h+l2hXTgu1AQppweZbXybJkiRzgFWRwPI8krhroFz1WxqM3T7LvF0ajCP6JjHKG/YaInBaqCieiePyA55meCRSqLCqXIoLqY+0KMbfD3Grnw7P6v4L1awSMre4x2mFcU7d6H6Kcam07k5rDuWnTbqp9li6GSjn+PsQaeN2IashNN8L0qHQY3IrnC5uM3hHGgFP4c+qirsEPq8uFgy2zs+kRb8JuADy+kszIEfwcL7X8FEgula6WSqmkp6qXnFusra23z7+bU2KyOF0hJpxxVEyF/JThjrhNSfqsYfOhjK+Wckxr+PE5ycxZALbmXzbMtyGFgMXPN5aeLaENXUMqMQEydNnwysZEeWBI3pt6sAZjxCQ1QJcyw2POJZ+2eqU1WXmF5I2fgmoWMzlGozvfc5CBhfdRYrOzYSLws+KFJq2bxymWpaO7QrBucHy592Nb7CIsKSq3//+kluIO1v1LzjuQJEv97EdlpiySw+FOhm1mfSeyef+OjQaDLAsGWGbbxEwIslFEM2OGvKHGiwnmnYBlI4LMCRKbmiFI0EdHVMKcn2AAcDAD3BAp9wF94//Y3FIq4ermYgH75aPwwNds6MbZitBjFbSauOypn9koF6Fa75fwTsefUgzoTBE/iiTWdr3bP0XelMxT2cdxtlMbOGHPdvU7XcWLqzlUyVyxgJPIOAGDEQDjjVL+9VBLAwaoot1cLv3Dc0= X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1717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NuqGsJclpxjtUV4G38x/g5VF8qCXam1kR4ykxeXmbImQGCTEIX5rt28mMKCdzTC4wpxv0Zuup4DNd6jkx+cdXpael3Iwqdof9UGObI3yM4353rreQsWVkJb+uu3vdELfnE+/X4qSUQIWFEVOdwHq9kl3PU+VC47noWWSXDegmyJaRRgUEatwVltTNDUXceFHz2VwUBs8scv3g5s62YJE13vIbr9+a14gpm2gjqfeL+q9+9W8GwYBuD72HW069LsNU6JjlDOrEIaaeCTLRp8ihhWY4x1AcLeCbj/PqEf+bmnwU= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(133145235818549)(236129657087228)(148574349560750)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(2017060910075)(93006095)(10201501046)(3002001)(100000703101)(100105400095)(6041248)(20161123564025)(20161123558100)(20161123560025)(20161123555025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR0701MB1717; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR0701MB1717; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0701MB1717; 4:Rn0GSRCrlsb3VUx4AwTXvywSmdgeR0VbXN3Q9d+g?= =?us-ascii?Q?TNzNjyzkYPZDs9WLo2BF+faBTH0T1hvgnkgdqhUfdfO07Dxr6OENI2Cuk/Ft?= =?us-ascii?Q?F+oCAHWPnFeGsxdE1WdMORufCWk59Y9cGagVPggsG4AQPhK3tNzh39krZY8h?= =?us-ascii?Q?yn51NemhoeTw5e1eV9KfxsMiMjujD1h6bjwBb6pYkXUVJxXdLKKkUi5vi/zB?= =?us-ascii?Q?UXcAnYMRGGr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kC8/nRe/moyA8qgf?= =?us-ascii?Q?25WCZoru/cFMSg5TcCb/pXn210cZJ/JEWRk2x+uBo9wyx3i3pkySG/NavoI4?= =?us-ascii?Q?YWIqGo8m2IrATc/vfCFAoSOpCq4mrJ0i0YUkKkZ8Yiou4XoSL4tRYpuCxN/B?= =?us-ascii?Q?mK275Rsen9Ojo6bIUZKRQlx2fwUXaccAqyAq86WZJdS7oUCYd9M8qcsqjccQ?= =?us-ascii?Q?ZAnju/1pOBFGPxyBvS+xhqM=3D?= X-Forefront-PRVS: 03648EFF89 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(7370300001)(6009001)(39450400003)(39840400002)(39410400002)(39400400002)(13464003)(5660300001)(6116002)(3846002)(1076002)(229853002)(189998001)(7350300001)(4001350100001)(4326008)(8676002)(305945005)(25786009)(72206003)(81166006)(83506001)(7736002)(478600001)(66066001)(38730400002)(2906002)(55016002)(54356999)(50986999)(9686003)(76176999)(33656002)(50466002)(6246003)(53936002)(47776003)(6916009)(42882006)(2950100002)(6666003)(42186005)(6496005)(33716001)(110136004)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0701MB1717; H:jerin; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0701MB1717; 23:vU/q5HedAiqLV8E2DavhoEywGBSXcfJyHaTWp2Q?= =?us-ascii?Q?7hU2VBDs9H0I63mbDNIF2RolwyxtIpM7omomaxgEbxMnHi4yA/o3H+NeV1Oh?= =?us-ascii?Q?KPhl82j8NjmrTbZDF4Lm3dc3WZuT60uYuhAcd+fUFqp+ch+SoSNgm2XnI+cb?= =?us-ascii?Q?t9z+1XknQ0fvqndTwyTk0IvYDJN00RXJ5MZb/9KcHGb6vDdKKgSDF/7m0y7+?= =?us-ascii?Q?siljCPczw0NzujUL4qEzxMXjqwJc7Y+D0S42iMlbVrSz9d5j8dAAQt1bBc1M?= =?us-ascii?Q?4EY4P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r/y99bMKUIoBOY7/LcD?= =?us-ascii?Q?1LWjWa+BNnq7llQY=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0701MB1717; 6:wBrPjSHBWWbXRTrmFst+N2k3F1Piup0fA7K3Axku?= =?us-ascii?Q?7pyivT6a9luxdywCbHejUzWTvFTIklo4muKRSRJKptaV4hapi0CU3kQD4NNp?= =?us-ascii?Q?J2/XpYxSTKnmuXGu8wjsuhxL+R/UpcbZjrCWzH9zav8dA9IifUt8aKccmg2Q?= =?us-ascii?Q?5o3KM5w3LxfRpuJ9SPMIPbNSUxdfhbBBmw4G5JTT1zh2I062CAqYPHNxhShe?= =?us-ascii?Q?aJqGyK9vuWQvO/kGo/cD8UWLajZl6iaxc/V7AocU1kAEOsMtf862CqgAFCm5?= =?us-ascii?Q?Sn2PO+Gf/Rj9nCIfENZTabOx/nCPQK/M79W4NyI2vwdQaJdPrJcEaHgaXRjq?= =?us-ascii?Q?1zmHOIeU4+4eDfBhDCOFAsEPHFjV6UAQFCr7RQHgvQmH514dlfiocAdbrhqn?= =?us-ascii?Q?OiFvK/T9UAWpFrBieL9Vo+S29lZUgSVB0qo/FWlaBqt+3azJHRyFGQdiNyZs?= =?us-ascii?Q?wMdQ4PsaD7wbcT68PckRO3IqTGRPWBokKPB2w2+i5y3eLJZ7x7tN9RMZQGdG?= =?us-ascii?Q?sDh0nzCMlyVbrpXA2pPJrJCxqje2UL/7KCV53sWBgAU6O6T+kXqxTbQe1cNJ?= =?us-ascii?Q?wdi5DRvhdbRb1Zmqvvnfbax8M5YkHT7k4J4vQTyN2/5eb7wgtjBSrixmErZA?= =?us-ascii?Q?uFDJjmS9QEkyuDb6GvgTN5/R0djOYHTIvT4R8viFVoF2w0MnwFAWMtHHaqqy?= =?us-ascii?Q?QMIcZBWP5VRkwsF5fGbIDpEu41NxOps2iFxit/PNnwwxvzv1teLPC9YveN+e?= =?us-ascii?Q?1HsiITLn6jlzTlOqVdbhNYArmJHfgLldV0wsWMz3g4zC5a61joqWRswIdpb1?= =?us-ascii?Q?2y35NOVHzI1ub7iFIRyh+rBG2vvVbrz+pKOZXlnrGukl13qsoUcR0jnAbDPE?= =?us-ascii?Q?x/TPR9mSmCPz0wATkWIYCLz4Fm/jkCuF7JHCj3kpcsi86n2grI+5YOLRH1B+?= =?us-ascii?Q?JfMkjrOVfRPyK1BWyTReZs9xFdkTbujeStusmiQ+upisr8P5ypOn9xK6uICv?= =?us-ascii?Q?Ch0=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1717; 5:aRlowKOyGv/BFYuk4Uh5SjB02T0V3RUY08h3OG0KFknM6dOH2avF3Sw6kF2r4R0UThA3+knxZgxOid08ybmlkBnqdI5BSB9u6DW+the1zLNAWIOoBmaBxeTZNgPAPh5fGIYzuzWr4JgP3CFgADgemHywXL+rY57QpIE8TcNWgE2IoLk4sQv/6/U+TnZu1Lz52QwSFFS/bxPrOxLtb61EY1BHswu0PV5EaKNtCFCrdeFUDCW2+49Vamq0AjzyWFBU6ARjiN2U3wZRFLe/N07kHilgAQozHT8NJriYjPf25yVn+fy9QT3ddZXkvUHAEfr0rUj2Ik7uU520MJOnn33oGBa4JZcKWMS/juGDDcynCV68jCrw+iqUuaeKhKA7exkRglnuy6qTw0AX2evnZNnulncdB5biHOos/C7fLH2lucLNnVdZV3JRCMfcVYusXrQ6dv/WvVk7Qh+ppy+WyET0xOum1qbn3iI/RFrrPAItU6lHSndMeOE+BdaMyJUwMogf; 24:UVVQPK05bUDgtLLgtBbXfh5d5w6mW0H5Y24niHndHCsg6t9YLHX7dehNt4JFNvdLuLPh2toQL4/HVWvVGyB7kRujhmLzR5sEZCJ33KnFVYI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1717; 7:7sssZEjX/ZBBW4JK0TiHtoto3dS7Knxdkt2yTAw4l693/WNp9J3x6xQ4TDdmPUBdxA9rvm714yxmGfjj+hIoBCJIHVe194qlXj0ndnzXsoThvt1toEM04wCn3Tax1tleGME9EzBqRWAjkPiDUiuD7HoO9R2OUBsyN5+H7gHtHLyhN/sJX1KpKo1XXzyF1cJr3jJE9poMLM1+jalFaa7/sTkr0KSAXfae0PUZxe1hc36dmqOuEY5nOaw2WO8Dx7JlhyW2xzeKgmIu9LdRENjvW6AZB9UZSMMx4by/I5p0pjcc4IiRxEPG99OwVd9dHKLtRbknbHpyEqP4lGG6Itdb9eCPO56vrVpUGMGxF4czYvDtZPVxhavYS5REcR6LOOlNQFzPLT0DG3aXBwllRM+STYQjVPLSbMzmOOFjbVFBFlMYd8e2aP5eY1tZRoFkJfyj9Ry+FXAatzmuc7k59Q0kosbM+FOo3m5n8Fh9JG4GCpa+NvC+AaDwz4ZRwI1rkwIcn8OfomVuEuLmG4ERy3JicmU/Huv7L7oGPTflOQkGAvwFxjnAinAb7RH4ynMFMn1KxAhF6cIXWOkrP1qoV9/6ifuA4BZpEZZOPxMScB77DFNmAWWwsafJfI+1aG6+N++eHjSI6133ZJaQA+UJun0IKNnqb6BISMIK+q4sV99JDNLeXCFq4c4D7q5QsF7Sp3iw6TEsxF0Wyt9EO7SQxkhRjm+D/skZny2YQfNUNCC7vJJq8XIKAOLSBtVfqnXUbCRXINESdf741IlRf8sDPU1lj35j8nr+lyLFPPuzpdsGfu0= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jul 2017 11:35:25.2969 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1717 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: Mon, 10 Jul 2017 11:35:32 -0000 -----Original Message----- > Date: Mon, 10 Jul 2017 18:05:41 +0800 > From: Wei Dai > To: thomas@monjalon.net, wenzhuo.lu@intel.com, > konstantin.ananyev@intel.com, jingjing.wu@intel.com, beilei.xing@intel.com > CC: dev@dpdk.org, Wei Dai > Subject: [dpdk-dev] [PATCH v6 1/4] ethdev: add support of NIC reset > X-Mailer: git-send-email 2.7.5 > > This patch adds a new eth_dev layer API function rte_eth_dev_reset(). > A DPDK application can call this function to reset a NIC and keep > its port id afterwards. > It means that all SW resources allocated in ethdev layer should be > kept and SW and HW resources of the NIC in PMD need to be reset in > similar way that it runs PCI dev_uninit() and then dev_init(). > The sequence of dev_uninit() and dev_init() can be packed into a > single interface API rte_eth_dev_reset(). > Please See the comments before the declaration of rte_eht_dev_reset() > in lib/librte_ether/rte_ethdev.h to get more details on why this > function is needed, what this function does and what an application > should do after calling this function. > > Signed-off-by: Wei Dai > --- > /** > + * Reset a Ethernet device and keep its port id. > + * > + * A DPDK application calls this function to do an initiative or passive > + * reset of a port. > + * > + * Sometimes a port have to be reset passively. For example a PF is reset, > + * all its VFs should also be reset by application itself to align with the > + * PF. May be I didn't understood this use case properly,But, PF can always send mailbox message to VF on PF reset. Right? On such message from PF, VF can transparently reset without application knowledge(i.e rx and/or tx burst return zero) > + * 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? > + *