From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40070.outbound.protection.outlook.com [40.107.4.70]) by dpdk.org (Postfix) with ESMTP id 6BE177CD1; Mon, 31 Jul 2017 16:31:07 +0200 (CEST) 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=v1jQrALV8zV3a6RA/mOqxeiZQge/y3GQitBvRMcAY7I=; b=iYQRQ1SXio1PUJCQiYXR+z9J5JKTnqG7VL7wYJHw1lbqgHYrUfJldu9YhhnBWs729Wvp1SH93TVKgg7V1yyNDJr3okTc4ILK7xj0hIorGtAGi/ZGAk6gTYx2GVpV2MBbGkrUBKDNxcFnjgzaejWL8sSnYl6pkptRNfdT+gsT13w= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; Received: from mellanox.com (37.142.13.130) by VI1PR0502MB3053.eurprd05.prod.outlook.com (2603:10a6:800:b3::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1304.22; Mon, 31 Jul 2017 14:31:05 +0000 From: Matan Azrad To: Adrien Mazarguil Cc: dev@dpdk.org, stable@dpdk.org Date: Mon, 31 Jul 2017 17:30:29 +0300 Message-Id: <1501511429-32079-1-git-send-email-matan@mellanox.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [37.142.13.130] X-ClientProxiedBy: AM5PR0502CA0014.eurprd05.prod.outlook.com (2603:10a6:203:91::24) To VI1PR0502MB3053.eurprd05.prod.outlook.com (2603:10a6:800:b3::14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ec0e9862-9832-4955-3da1-08d4d820c753 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(48565401081)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:VI1PR0502MB3053; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0502MB3053; 3:ak/wPOnKaSEeyEiQ2gRxt042SKPfTLTXD3IeEn9W3/V4Jsa9SfgM3ZWz4x+kxPoQAf6KxLBHnKAilnA6cncoOB4LqQ9qXa6QNks3vdiNjQsdNBABkByPr15Qm8TOxgxFxnGaUN5eH218ySZOGuIPJGlX3tl/+GBphPq4rSMJO6KfrhDsM80bbj8+RzQk9ZfDjoKpeJvKH/ow5U28l4l0TOb3ego5FQFFxOPRiu6RAXavHNLe3A2z9MzrN0LTEUV21vjjJ43nLpgZNikHEs98156qIQ7USk8iYOdVIPClt8LlrCre7V+oYo2crPMEWJmCMslUeeYwO6MGmUlUclCoAAuWYr5ldVigMXNC3gugHQi52/rQipZaJ2+6gjalfcLV+pG4+wd7IyGywkQkHCZbLQecsLlz8W5nt9YdVId+VYy+QBbp+UUi0yZbJwP/6/zuigvkCWf55rbSy3OquKJJ7uDlH1fYuDAypOSKoJePT2wpYaYlXMAEkWdpVCrj9md2kGe9LOQhMWBO537x6O+lfY27/HyIMbP/SQLMlH/MQZpATmgOXxKRO2mXDbPuuSMLXerozsMFF30WQ3k7C8W6ziuq93duWUXnFSY0nU2q7kKqxhBT5rC/5Aa3klIcKROkAZZiLhZD0dhUXi92r+FhWbHsZKsaZLJZbq5C0yXfzj/bRgAP2eVXureVe53zD/GwKGbA3hkvVWU0scbeJuQm8sO+YVE1IUKDdgcEG5dyPvTBR/FtP02ATqktD53W5AVNuxBwcZOnI6sVsdxxgDKlJVRL+E35f+1km+U+C5B3dLJDc8anGydKik3WzMRMo4MRscqGGmH1t72Np7jaxKR3xQ== X-MS-TrafficTypeDiagnostic: VI1PR0502MB3053: X-Microsoft-Exchange-Diagnost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8zhAw+L2br1mgY5G1A7pzefqqaYcyceUHplEmp3e+/5lxxptlVjTQkSVAOxe9qt0Z5BV6Fy/j2YKY31YpKRcaNDFSFVdKTs9mBTmNd2lBWQ5TJPlJLl3zDaQWe+rqjf4iefQe6ydqjhF3VEFsMOtahuXl49SBVm3BC7NSqtKO X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(100000703101)(100105400095)(6055026)(6041248)(20161123562025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123558100)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:VI1PR0502MB3053; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:VI1PR0502MB3053; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR0502MB3053; 4:sgeLz31Q16GKCJK4gE9e+xb6k/dXrqSsYM05P/VU?= =?us-ascii?Q?ijQqTtesINRZbFcCcW9+K9LvGL7LgKw2Nf/u4wEHCSj/2yL8XxY55GncFi52?= =?us-ascii?Q?hoyObQI3bipd3Ui0oQ1WNdjfW+YsxV5sSHJ/f1bDRAnOuR5yi2DdCHilwTIJ?= =?us-ascii?Q?5vOq7McQYA188lA02qECkT0wIK4GhVGExJixe73yBty5EeNNOu49bTuTTk/z?= =?us-ascii?Q?rrN2QeD5+9TAY+5iQYOnuQQ6I/4UEltXG+pxFT+DngOAEldviq+Gn8gdG/q+?= =?us-ascii?Q?l/vLpD4e72uoRoEGMofoY4+mB9bEjzGhCxLeQbnmx4MPHFqBe++rXTpQt7C0?= =?us-ascii?Q?9Chu8yBgb3n1EhM1AP5sZYzN4Z9mP3HYUFAfdfZExi4K7PYiVeCioW29zU35?= =?us-ascii?Q?govUL0c++01q530a7uyQqLvAo/4EmaWox9Se69QH9C0vmVrCRKHQ0KpS4lKi?= =?us-ascii?Q?DYx/hGb8X4bL8L+Uw3pV++jFjHIQKGpbNNSSXkPbTgxmW3a4ZjF/gZGyUV8w?= =?us-ascii?Q?4yAq//hTSoA8QjVyZEaeuvUIzZITClrwOzcKCQoGMv9lGE79gbKv4jBA60m+?= =?us-ascii?Q?/zjcIC8hHRIUwV3nBgAFDFyFBeQDL2iFn4st36juBlucdJQfcsTYWiQgBB7/?= =?us-ascii?Q?UmQRQyb10faE3OKF0cHtqvrRPHK2NIh4zcemNS7GRC9yvZ7SU8BDZZNxU5dy?= =?us-ascii?Q?IIm6CRQxe04H+v09wybpJRa159549cudQZzcy7d2PV7/UFBsd6gnmiz83NxO?= =?us-ascii?Q?qhygvTEq1au36s2sEwqLs92i6j3GEb78XmwMGISE/62L+Y+ylLPaiE94niB2?= =?us-ascii?Q?WmvwV6qm80T3vcW0nMDnwrb2MhCnnd6Wh8cFk2NKhfKnPwhaNcDyTiF4rTzb?= =?us-ascii?Q?yLbPCwuiurRlfM3mafoh+QC+khujLogRlJ0iUNrhrmDXhTzAQjf8Ff/cCxa2?= =?us-ascii?Q?mmENQkmjbMMcP4M34sg1PF6eR3nMmnnEdvVES2WMFeRbOoOALQjA+XaI+skq?= =?us-ascii?Q?mBth+eYuK81j7oXU4lIrIKRE/2aVy3PT80NX/LjLR7iNAJi38Kw/8RJzX3gS?= =?us-ascii?Q?wnnEPlWeK09YVzez8TTZxGfPIYHJ5w2dT7VbfhiZhyJh9S+61Hnsvqklmcvj?= =?us-ascii?Q?b5+suRu3UpNxudl8dzzPphxVzgZjKdYUQynuufhjmoN23Fxj4AOwwQ=3D=3D?= X-Forefront-PRVS: 03853D523D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(7370300001)(4630300001)(6009001)(39400400002)(39850400002)(39840400002)(39450400003)(39860400002)(39410400002)(199003)(189002)(105586002)(3846002)(106356001)(47776003)(21086003)(2906002)(50226002)(33646002)(5660300001)(7350300001)(42186005)(81166006)(81156014)(8676002)(66066001)(7736002)(4720700003)(50466002)(97736004)(50986999)(4326008)(6666003)(6916009)(55016002)(189998001)(5003940100001)(36756003)(33026002)(305945005)(478600001)(86362001)(110136004)(38730400002)(48376002)(53936002)(101416001)(25786009)(69596002)(6116002)(68736007); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0502MB3053; H:mellanox.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX: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; VI1PR0502MB3053; 23:i1DfZXsBGeGEUlGnU+jU1R0yuz3znx0w94NaMpZ?= =?us-ascii?Q?TUM/NnHoc17s7YUpsX3eovEB+T863n04PeryNIbeFCVo+5qWvVBYjlSo1lRS?= =?us-ascii?Q?ba/4uNTlGjUxAHUcdJK8CZu/mZLrhA/B9UrKiDFNWKuJmtUBVTUjxJXJ/VMZ?= =?us-ascii?Q?tEdAd5PlCG+gz3TyvWu44R/bN8IJ+TejdlZVnIyw6qiUzwq3zfpp3jIfLa8b?= =?us-ascii?Q?zixuh+kGr5dwLbLhJDeBuL7mUKztyUCRGscc3fGJjxR1DNKEBjeigopjOzgr?= =?us-ascii?Q?avyzz6+HYJLTWVgT6REh4RZu4QiiSU9/EDg1BTdtJDc7mGdKdPOQ10j+ou2p?= =?us-ascii?Q?tGZSxmwkctqeXDADi2dmbP4JU2mxxBKoHluXRnKd9svS8UQV1eRKRA3jcmd6?= =?us-ascii?Q?qEOVHhHpci16tUQruOWfrzCk/2vqsfFYc8SahexBpjyeKq2MhBdrGjehi1lP?= =?us-ascii?Q?3Uw/+hUXsYQbokgpHE7coY5zVEGi5oZf0FOFuPQPN1g9nDamycbsu7UiBq0D?= =?us-ascii?Q?UFb3I1B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ru0bTzrQxUlSqOU+sY6gMIrq03SoyHfmbpnla?= =?us-ascii?Q?sfGJwspx5gL/tkVXkk/y+Xw7?= X-Microsoft-Exchange-Diagnostics: 1; VI1PR0502MB3053; 5:3oHzk7jwJpX2oQkE9IEE1+9jSTprCTnsitHPXYo0xrW3OH2xNds4rWdd/SV3NAazKm+LBjgfNnb39/PSy0S2xcvpjsdFuSuFqHp+pv11/KVkMnNgsJw7XxAamiKke/+u9ldxnPqeUAwYnlaxl/AK/1WArn7BUVCIe4lpwTtunoRE3vrkxf3YjjEFeHHH49cmrlcxPMIwWvcH6XBUQwNzrDIQvpkbbswuUN2Rd8ZbwAL9EPFAP1tnF02O4GkcSDP17CDj5Gfd596p25Zg4J7Tv91I0byd6XVEcS78e4zi2nHPZu0CbxsIIQa+7YU2IEHs5opkktP0QFNY1OA93bK5q8dTmdtkZR83g3VjHhaUTd+SbYrVLWqfkJUdJ2lhj08GV3MFaB85iayK+xYjQfpSW7teP0g/8pR65aEYVtUmQP1T6rhJjPrXiXunjNwRBGFBrNyN2xuciLBdsiKd2A2LfWQ1kgeKYtbjI33KgwXVrM86XBFoitAvao6zRxTJfZ8J; 24:eowQ+edt9PjSdQrF8J82a+Y/s2VGpZcANlPfo+082MY5+MFHP4tm1otUZz2c22mZ7BGjuhabrBkGPxDr/8aj+xl8vego9ki0GKJ1aVRfrBk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR0502MB3053; 7:0kgjMV30CLv1aYeDhSb7NmDPPxRsgw2lGvMFrYMnULL4bpR67RXIWouB2njhJKVxzsRqsQVvC8ixn3kcUMG4ZTLSaiWMnkEGbajLORaCJ7qYwX5PZXFE6hxamUEvlIbPH3bV/HS2DaVmQpciX0fVAE5lAzb1KfOyiYEaMiqncSJ1DS6RFXUorPuuGYViE6c8WGfq8oGguaccbEzROosTDXlDpa3K1ztNziHzKKX6adCRucXaRcJ24qvznjyuXkUtOntcm2vg2f2NrATfCuTEe2HVTt1QsQD4EkL4bMQydf7b6DVGD1IJ+w4eXVTdbl25TmgkNtP7LSqhvWPssz5OHwVGrZJ+qZP2gOKMAHGpnenC9OWUUhHTwWturnGvuvySwKsPDulN8Ex3FJeqj7UpVtyLjBR02/7Cb27rjb3O0yNESbRZLSkiBv0iWVc8HtLiE79Q694eX0JDYb5kIeLNjwlM1EpqepCibh0H2uNEaCfi5fziCG+LnXBFL6+/K81dKbhNDvUotzNnlPGNrtwCWyAZkcRpMezBaXpgZA62KYAb4a2OyRdNxkFnmV2pA+Kj0Y0yrl0EV1QtumMVE51czCyBNmF4s01upjSUfF2zN1+LViKLb3ToL/JGPtDtwL7xr73z7difU0l9KvhKoBdgiZeQgls9hH2K/G0ChuO6njnveXq30lJkruqv877+NRkznMLc8/Mfe0JVzY2MYxpk9bGSrCN74EJGReT8rZ80AMJe2Bbjf3rj18fzTB3eg6KI+61SfJoSPrQtncYbNm0ENumfzAzU3mP6gxht1F7JulM= X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2017 14:31:05.4194 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3053 Subject: [dpdk-stable] [PATCH] net/mlx4: fix probe failure report X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2017 14:31:07 -0000 The corrupted code doesn't return error when probe function fails due to error in device mac address getting. By this way, the probe function may return success even if the ETH dev is not allocated. Hence, the probe caller, for example failsafe PMD, fails when it tries to get ETH dev after the device was plugged out while mlx4 was probing it. The fix adds error report to the probe caller when priv_get_mac fails and in all other failure options which are missing it. By this way, it prevents the unexpected behavior to miss ETH device after the device was probed successfully. Fixes: 7fae69eeff13 ("mlx4: new poll mode driver") Fixes: 001a520e419f ("net/mlx4: add port parameter") Fixes: 7b0661539229 ("mlx4: check if port is configured for ethernet") Fixes: fec3608673e6 ("mlx4: query netdevice to get initial MAC address") Signed-off-by: Matan Azrad Acked-by: Adrien Mazarguil Cc: stable@dpdk.org --- drivers/net/mlx4/mlx4.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c index 94782c2..a94a42b 100644 --- a/drivers/net/mlx4/mlx4.c +++ b/drivers/net/mlx4/mlx4.c @@ -6162,12 +6162,15 @@ struct txq_mp2mr_mbuf_check_data { ibv_dev = list[i]; DEBUG("device opened"); - if (ibv_query_device(attr_ctx, &device_attr)) + if (ibv_query_device(attr_ctx, &device_attr)) { + err = ENODEV; goto error; + } INFO("%u port(s) detected", device_attr.phys_port_cnt); if (mlx4_args(pci_dev->device.devargs, &conf)) { ERROR("failed to process device arguments"); + err = EINVAL; goto error; } /* Use all ports when none are defined */ @@ -6201,19 +6204,23 @@ struct txq_mp2mr_mbuf_check_data { DEBUG("using port %u (%08" PRIx32 ")", port, test); ctx = ibv_open_device(ibv_dev); - if (ctx == NULL) + if (ctx == NULL) { + err = ENODEV; goto port_error; + } /* Check port status. */ err = ibv_query_port(ctx, port, &port_attr); if (err) { ERROR("port query failed: %s", strerror(err)); + err = ENODEV; goto port_error; } if (port_attr.link_layer != IBV_LINK_LAYER_ETHERNET) { ERROR("port %d is not configured in Ethernet mode", port); + err = EINVAL; goto port_error; } @@ -6250,6 +6257,7 @@ struct txq_mp2mr_mbuf_check_data { #ifdef HAVE_EXP_QUERY_DEVICE if (ibv_exp_query_device(ctx, &exp_device_attr)) { ERROR("ibv_exp_query_device() failed"); + err = ENODEV; goto port_error; } #ifdef RSS_SUPPORT @@ -6325,6 +6333,7 @@ struct txq_mp2mr_mbuf_check_data { if (priv_get_mac(priv, &mac.addr_bytes)) { ERROR("cannot get MAC address, is mlx4_en loaded?" " (errno: %s)", strerror(errno)); + err = ENODEV; goto port_error; } INFO("port %u MAC address is %02x:%02x:%02x:%02x:%02x:%02x", -- 1.8.3.1