From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0086.outbound.protection.outlook.com [104.47.2.86]) by dpdk.org (Postfix) with ESMTP id ED5371B54C; Sun, 17 Jun 2018 10:05:38 +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:X-MS-Exchange-SenderADCheck; bh=718vDhoHjfVmWSEaLlZsUGpHSlcxaCGKjKeiwzIbaT8=; b=tr41hQvFBKp0pkBYM/Q4FmsWvwnUFPA3bW9vAgWtjYCRSMS63i0AXNujtTTdCyhA9NdgfgADFgjkCtkLZYTaoOAZU46zpBCtdfuqeQHC5mbEIUtLdVe5qxOj+1xIA6opCuUYlycSCNVdh4P5uYhK+VQlYQGJacg7xEAmMSW2XEk= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB4267.eurprd05.prod.outlook.com (52.134.108.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.863.19; Sun, 17 Jun 2018 08:05:38 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::4c94:2db9:b8c5:cc6b]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::4c94:2db9:b8c5:cc6b%4]) with mapi id 15.20.0863.016; Sun, 17 Jun 2018 08:05:38 +0000 From: Shahaf Shuler To: Adrien Mazarguil , "Xueming(Steven) Li" CC: "dev@dpdk.org" , "stable@dpdk.org" , Ori Kam Thread-Topic: [PATCH v1] net/mlx5: fix pmd crash in device probe Thread-Index: AQHUAyFdJrds/anwOkyOQb9DA3lXPaRfqBAg Date: Sun, 17 Jun 2018 08:05:38 +0000 Message-ID: References: <20180612113811.8543-1-xuemingl@mellanox.com> <20180613141755.GG4025@6wind.com> In-Reply-To: <20180613141755.GG4025@6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB4267; 7:8wph+PXyXUVQcE73KdS3TNlBX9pAUWOe6mCwuBt7N2E1lYmXAquQnhDrffIxU1uVdkN9nF4PpqIOAtxpvziruLbGOn5j21pfmdFjp6j9bdf/qUY8EmRMYwLH0zEualEuz5HakpXtlKH/ATUSzuz9ev04NHmg4t2Bfnx/3ySOB7ehTfavee3LzPNdom/b+Uf5agk28tWqWy2t0kHxuZ0ywCVtjMDRMl55Ou9PF4ez4qJ9a0R1SN0vwqbwN2aNf49p x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 34c3105f-1f84-4010-8352-08d5d4291ca7 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(711020)(48565401081)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB4267; x-ms-traffictypediagnostic: DB7PR05MB4267: authentication-results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231254)(944501410)(52105095)(93006095)(93001095)(10201501046)(3002001)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(6072148)(201708071742011)(7699016); SRVR:DB7PR05MB4267; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB4267; x-forefront-prvs: 07063A0A30 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(39860400002)(39380400002)(346002)(366004)(396003)(199004)(189003)(6436002)(186003)(2900100001)(6506007)(305945005)(102836004)(86362001)(26005)(478600001)(7736002)(5660300001)(76176011)(9686003)(5250100002)(99286004)(7696005)(11346002)(6636002)(446003)(486006)(14454004)(8676002)(81156014)(55016002)(476003)(8936002)(229853002)(81166006)(25786009)(74316002)(66066001)(4326008)(6116002)(107886003)(33656002)(105586002)(3846002)(2906002)(6246003)(53936002)(3660700001)(97736004)(110136005)(54906003)(316002)(68736007)(3280700002)(106356001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB4267; H:DB7PR05MB4426.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 6Mb5HfpzcFT1mpbvu4v4m6VUi2jRL8NZV9tnxvFqwmLjN6hxwD6ie7q94nizmlIbccGrDI7Y4uEI+oLSj+dVVeE28SLiZJZM0nn2u5L+QfyYHxLyYmLG2hw+16WbXGq/yT9gD1120+hHXQ8IMo5GEGqWLbL/9ZoGYlBdCfOzbDbUTfQn9GS7TT5uK7+jc9I6 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 34c3105f-1f84-4010-8352-08d5d4291ca7 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jun 2018 08:05:38.0562 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4267 Subject: Re: [dpdk-dev] [PATCH v1] net/mlx5: fix pmd crash in device probe 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: Sun, 17 Jun 2018 08:05:40 -0000 Wednesday, June 13, 2018 5:18 PM, Adrien Mazarguil: > Subject: Re: [PATCH v1] net/mlx5: fix pmd crash in device probe >=20 > On Tue, Jun 12, 2018 at 07:38:11PM +0800, Xueming Li wrote: > > This patch initializes counter descriptor struct before invoking Verbs > > api to avoid segment fault. > > > > Fixes: 9a761de8ea14 ("net/mlx5: flow counter support") > > Cc: orika@mellanox.com > > Cc: stable@dpdk.org > > > > Signed-off-by: Xueming Li >=20 > Acked-by: Adrien Mazarguil Applied to next-net-mlx, thanks.=20 >=20 > -- > Adrien Mazarguil > 6WIND