From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 53466A00E6 for ; Wed, 15 May 2019 12:07:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 80DEC5F1C; Wed, 15 May 2019 12:07:07 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 7CD2E5B2E; Wed, 15 May 2019 12:07:05 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BE95B308421A; Wed, 15 May 2019 10:07:04 +0000 (UTC) Received: from [10.36.112.52] (ovpn-112-52.ams2.redhat.com [10.36.112.52]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 11F135D9DE; Wed, 15 May 2019 10:06:59 +0000 (UTC) To: David Marchand , dev@dpdk.org Cc: thomas@monjalon.net, stephen@networkplumber.org, stable@dpdk.org, Jasvinder Singh , Cristian Dumitrescu References: <1557906862-1116-1-git-send-email-david.marchand@redhat.com> <1557906862-1116-2-git-send-email-david.marchand@redhat.com> From: Maxime Coquelin Message-ID: <02b3a7e3-b40c-ef4f-1f66-3e98186b5513@redhat.com> Date: Wed, 15 May 2019 12:06:58 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <1557906862-1116-2-git-send-email-david.marchand@redhat.com> Content-Type: text/plain; charset="UTF-8"; format="flowed" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Wed, 15 May 2019 10:07:04 +0000 (UTC) Subject: Re: [dpdk-dev] [PATCH 2/4] net/softnic: do not dereference global config struct 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190515100658.TSELBFC8MlR4nR6rldK7Sga_BMku9qHLdGtJZKDUJ-Y@z> On 5/15/19 9:54 AM, David Marchand wrote: > Prefer the existing apis rather than direct access the configuration > structure. > > Fixes: a958a5c07f4b ("net/softnic: support service cores") > Cc:stable@dpdk.org > > Signed-off-by: David Marchand > --- > drivers/net/softnic/rte_eth_softnic_thread.c | 13 ++++--------- > 1 file changed, 4 insertions(+), 9 deletions(-) Reviewed-by: Maxime Coquelin Thanks, Maxime