From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50044.outbound.protection.outlook.com [40.107.5.44]) by dpdk.org (Postfix) with ESMTP id A399F1B7B0 for ; Thu, 8 Feb 2018 13:20:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=YMABmMaLUFGoPj+FE4Nkk4z/LzTEiRyIP865B6TSCsA=; b=jr42Ef4d2PNSUAith/QpVs32q7rq2FqejGkqVrOU1gaZYjlpNXA50gcgff/caRnacsytqzjGphAoZkjumn0TAKWOm4bZD5mJr5LWDqkyeJ4iCj6PxXasmobofO3t2kQZmI6fWLXMJmdUHGrAPw0Iv/s29tZw4ZyK5h4mHbfBYOo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; Received: from mellanox.com (37.142.13.130) by HE1PR0501MB2666.eurprd05.prod.outlook.com (2603:10a6:3:cb::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.485.10; Thu, 8 Feb 2018 12:20:48 +0000 From: Matan Azrad To: Gaetan Rivet Cc: dev@dpdk.org Date: Thu, 8 Feb 2018 12:20:25 +0000 Message-Id: <1518092427-4333-1-git-send-email-matan@mellanox.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1507243328-11287-1-git-send-email-ophirmu@mellanox.com> References: <1507243328-11287-1-git-send-email-ophirmu@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [37.142.13.130] X-ClientProxiedBy: DB3PR0202CA0026.eurprd02.prod.outlook.com (2603:10a6:8:1::39) To HE1PR0501MB2666.eurprd05.prod.outlook.com (2603:10a6:3:cb::20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 7194d185-8c82-41d1-826d-08d56eee6366 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:HE1PR0501MB2666; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0501MB2666; 3:XUeo6HVxcktdWF9oV1OpScfJhEc1cKX8xdQcxz6E/+nE9P26ZWeC/REj5dwcpZK2Z1431e5B8geAglqIhd8vq+NCYwLX5PH0MpD82jkvOLBLlmZ5zqxcMNuI79pM/aMmryCEJawvpHZX5Hj++eMcq1Bbxa43m4lZZ4+3fBbITrvdT02R4CRJBnt/DWE4jAC8uk12rAXxxn/hzAztw9nYD7OaxC8tiJnB7T04C1I2RgzxoUDaYm7BuXBKig839QKr; 25:gxvCP0rDtsrh+VsSicG6YlMXSmDP7HD7THVru65pcvyiNoci3Koa28LDRjnFSPDyAIqCPqWDl1DpAbETp6Hc7vBMikmfvqH66bcz/4lJGRg45e9by6OZNrsasRxi64iS7KYrPUa5nzIne8reW9bEf9JyN4NYXGJfl1pl+RJlw8tfNpkMPVKO2agdCbX2UHAsd73/gY+Vqei2Yqrocgj3xdZ75LPDpN3xLWCBHpy/dwVHI9RD4Cu+l9sgSUdb2gt5b/pIlx51sL8UuOmEbQSen2gRX3MDebrdhehohXK17/CCT4mnLBZh5tZFd8oO+NDgxcwJdsCg5YC20k0RJkflHw==; 31:+BDi8HyiKICBup6oWX5uSrAoaCRmjZt90cvDzO+11guRMTTnxaG0XaZxlRFzee192YXF8mWWPeJI9CauAKEOM/QNfdqCQP3fKaWK94qbh3+NNJI5yLo/D/QXWORYqvPqmjPJTgUvoazLnKx5iQuraOnZrKkPtF4LVac106WLO/4lj26MGiQ9bzomktRo4T0R44wNcXvkSZ7j/UvpRB78LOa8N5HdeGe/1e1RhQ6f+ms= X-MS-TrafficTypeDiagnostic: HE1PR0501MB2666: X-Microsoft-Exchange-Diagnostics: 1; HE1PR0501MB2666; 20:h9GENi8GWvisfGnTHbKSaE9ts0c6ukKMwYq90S05XpzRbRiFaD3fIECIpHH6x/408CV3//3Q3Hw9S6EpD4Hp+BUFwtAnK1aCQr4RMWM61AMiSCfiSm9Hz/+DRi72E1gE8kWejYqickUa8fH/7sZnzjSfSJyP01/T3gIkSa7QJhPdhLLnnPoC+AjBv3LVvp4UOeNrpkPbADp2pf+86Zb74u4pNQAzGK/O4PAoepbHrqdKb8w13EUmRF2LBhc6bB3Kn0jA3VsHhGHfLEiSGDcZk4m/aUjXJElsV2u7Lyny+Ct/mXM8sjJISdogX8JMdbxrSADltpS13gP3c3M5ddrd1y6ZV3h17+M3/Y92T98fMJRJglZjholCvXlMoKywQqDrC8EQ4nlTCNPZq3ykDleuL7q93j54srO9cWaaG1vhUTkjQ4K7YwfaPQ/YhkTS9xsMRqDRfy93Ln+UcZ6/8veRDqboPTs0ZbBuSvRBlw9BkT35i4wzHTk0IoyjvQFGjdw+; 4:Avu7j0C6lYx63OXAhpDNLEzCbC2+/vNyw/Zr77K/xTaKs+QN1B2pkJwNzrC4ovKOw2tIN9ktuddo7m9VkenkSOqjof/JRIuwm06gEPnHIeBwdaaXNEBcNIsDubnLerPcFq2NE5X/cMQwkyXKuiqjF6beVj3Q3rCpMMJrmhtE5R5m1RhMSlrLpB3Equb1BIL6Ax/WlJdPFUFIs7H2jczJ9rUU0Kf9R6M6zekzScN1S8tmrftQymxaNpoFnv9mHRoW2nsK2E/TH6b+mzOIS8gQ/A== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(3231101)(2400082)(944501161)(10201501046)(3002001)(93006095)(93001095)(6055026)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(6072148)(201708071742011); SRVR:HE1PR0501MB2666; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0501MB2666; X-Forefront-PRVS: 0577AD41D6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39380400002)(39860400002)(376002)(396003)(346002)(366004)(189003)(199004)(66066001)(16586007)(53936002)(47776003)(68736007)(5660300001)(105586002)(50226002)(106356001)(316002)(86362001)(69596002)(21086003)(97736004)(81156014)(8676002)(26005)(386003)(81166006)(52116002)(51416003)(6916009)(7696005)(2950100002)(76176011)(2906002)(4720700003)(8936002)(3846002)(36756003)(6116002)(6666003)(186003)(16526019)(33026002)(7736002)(25786009)(48376002)(55016002)(4326008)(478600001)(305945005)(50466002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0501MB2666; H:mellanox.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0501MB2666; 23:6l+nmDdCw1gXC2GyzGwNOiy3Jd1AnOg7+5EwNyr?= =?us-ascii?Q?cIsqih47CPpgwdbshYzx9HV1st8QxvrvU3ajwNbR34jZfQpxpl6hWaqwoivp?= =?us-ascii?Q?U7uFae/s1Q/MO2nib16A0f156fxDjb350R5FdvPeZXujPSIuQuKmDjodUVFl?= =?us-ascii?Q?BtLrKz07H9QzX9gnc8cjEdssrWy0CDpsIggkMgELpvrRGWPAj916ry9PUlcT?= =?us-ascii?Q?UQeRrPVNCJks/HGEPqnm1ps2c3up6MONtNkd/Eo1SgiRIjwXuHYs1XTJft7w?= =?us-ascii?Q?lLk7SmhOFgl+LlbEQcAFgj84dkSLCj2IjfT9kyJ6MM3cr/7HokN0KJHP3Kat?= =?us-ascii?Q?9a5Gxv+v6INmod+Fquoa28PhHi1cBFvUM++Yh+a54k7ZQnckZKh1JX+pFSmf?= =?us-ascii?Q?zPvBZtsjCuo+xr288Lrbvk1hQTRMkJQb8so71pCPFcAlxeC7puBtFvnN5JIC?= =?us-ascii?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WflrlrN+1+vX7JdomkkjvECOyYTru+5Fq/x/UTygrKZXllMoGxMti/12HgKlD4+vxu+o9L+LLQacM10scYY1cAUHXIyv1X/z8hRdX0eeoZcHpuzIz6WbvhJTfb99lSNFi5pendTI8iP9ocoCu0LcA+kVQDjmlHEv4fLqNTr5RpNy7C4+Bag1xmmqgqtEjAVnEvoiMOospqRkTs06vog/eMV27UMO7d1Gt3MSr8PCvKv/eXc=; 5:g9tXQV9byaxCW0edQjIFncKLDx1jbvY3PFasQ2NO2fFBz3Cg//bXdbtfJ90maU3RJ7coMyDrpUVsesQL946arFypuyOMPVV3Y2XZs2bJurj3MX5GaHkcdAowUgJP6e4ktUXMuoedMnY8qdd4wGtHuPEcGUlUXNZUNpRxTxTvvwM=; 24:kes+9EGpt4QI7JWKau6Fj5/zVOqao8paB6G/sPwNeg1DoXK6+l3OE2AkinCH/E9jOHUpLuiTdyz2uJdqhtuIcKiVdKL/OEzvmHUsQ1hzLLE=; 7:iY6XARBu+cOtP1ozaFtDMxgCYW3LLu92wkfZMcLq5WO3BkwH8epjHX3PxXlxeitJI6s9wE9ng/EpDIXx7IbQLOi/vg+cCV3CeYpuyPVdlfvuXNo8Uh+uSXZ4wTGPVL/Dc1JGuVqklIsf9fxqKsh/52VRXUNHOYSskOFpFPHJlBA9r/6qTS7b8yvvTOkZFWeXrjUsTiO36phlpVWJbnvMwbC6HHr4V+bhEyyeSFMF9Gq0Ji1A82xAS3aNTnOWs9di SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Feb 2018 12:20:48.5165 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7194d185-8c82-41d1-826d-08d56eee6366 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0501MB2666 Subject: [dpdk-dev] [PATCH v4 0/2] failsafe: fix calling device during RMV events 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: Thu, 08 Feb 2018 12:20:50 -0000 This series trys to mitigate failsafe race between control commands to the asynchronic plug-out\in processes. A full fix is required and will be sent later. v4(Matan): Rebase on top of 18.02-rc3. Extend the fix for other control commands. Fix hotplug alarm cancel. V3(Ophir): Rebase v2. Add rationales (copy from an email which accompanied v2). Matan Azrad (1): net/failsafe: fix hotplug alarm cancel Ophir Munk (1): net/failsafe: fix calling device during RMV events drivers/net/failsafe/failsafe.c | 18 ++++++------ drivers/net/failsafe/failsafe_ether.c | 2 ++ drivers/net/failsafe/failsafe_flow.c | 8 +++--- drivers/net/failsafe/failsafe_ops.c | 50 ++++++++++++++++++++------------- drivers/net/failsafe/failsafe_private.h | 26 ++++++++++++++--- 5 files changed, 66 insertions(+), 38 deletions(-) -- 1.8.3.1