From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by dpdk.org (Postfix) with ESMTP id E859F1EFAF for ; Wed, 13 Jun 2018 16:18:11 +0200 (CEST) Received: by mail-wr0-f193.google.com with SMTP id h10-v6so2933473wrq.8 for ; Wed, 13 Jun 2018 07:18:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=O4ymg3uHpuwoHN9E2Gmr4kPXrj8XFZLE5eWknz3O89w=; b=ye8JtEIu9j4qazurgCMggDslehqgmjiiHO38vjOCeHcNZes79qpxWJDCPR+g4sASGu iHEkRTG4RBVr+w7JQ8zIHfcE6cA60YZEw5F3t/MTpT0TbudSaufCxK6Tth1uO6oh62GM saxRPifcX7+SsQPI76P3S+nCV0CJX0Ra1EnREhBCYJOOnL8FgSFGgeHmjaKQgmBjXV7C mj4SMv6gXyRs1WK9gLfbhy5KSlJXLMYfdgzOdkMJ+o3/v2rOKE2fjzfmrhtfcmTbXoWp QRbs5vRZlnV3CiuHgHHxQ22zEnwHE1kW0oRwsWcEvpqG52JJHX4NlLzZXBhAaVdP/Gns UZqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=O4ymg3uHpuwoHN9E2Gmr4kPXrj8XFZLE5eWknz3O89w=; b=GUc7cGusscy6ZtAPmKjMF3e82KMtAtBAQIBxiZ6ZpEknx0iUZZ/ttnKsSyZv/EXDVL DFQ1+mkR1siS0LWwEdC//rRYZCiQIp7RL7a9ZmclvANy7HuQ9yQtgs85fmT0k+kSfaCC 5nXV1/o/642QIHtMR4LJkWveBCofMGicz34B+zSN8JTjclJVdjhVXDRta4bVQY4HIH3P /a1e9R5U5BRUIn4Kzx2150idhOCnSbil6x0tDOZZWcbo1PTUJKIEwLix/jUqZ1B/BDAT bCrWVye01ZqLAMsEP/8hy1Jk3gbtuDqgCsvBOi2iy9YIergqJPON0PEnpwnEYblcAhXS 5TvA== X-Gm-Message-State: APt69E1JTIES548jN7zPkTIgbzUia7mXIy3FQqvwjoBO9YWvVkZ6szYJ jaWeMr2CEcqqIfDUQGFK3bS8rw== X-Google-Smtp-Source: ADUXVKISWJF3D7x31BOItWObftUcki2KpIklZeQA/66vHLV03wubcyGw2xQTRx6Qw1MPo7vx7ZpMoQ== X-Received: by 2002:adf:f281:: with SMTP id k1-v6mr4054201wro.263.1528899491790; Wed, 13 Jun 2018 07:18:11 -0700 (PDT) Received: from 6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id y3-v6sm3060726wro.21.2018.06.13.07.18.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Jun 2018 07:18:10 -0700 (PDT) Date: Wed, 13 Jun 2018 16:17:55 +0200 From: Adrien Mazarguil To: Xueming Li Cc: dev@dpdk.org, Shahaf Shuler , stable@dpdk.org, orika@mellanox.com Message-ID: <20180613141755.GG4025@6wind.com> References: <20180612113811.8543-1-xuemingl@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180612113811.8543-1-xuemingl@mellanox.com> 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: Wed, 13 Jun 2018 14:18:12 -0000 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 Acked-by: Adrien Mazarguil -- Adrien Mazarguil 6WIND