From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 54BB5A318B for ; Fri, 18 Oct 2019 10:09:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 49E5A1C0DA; Fri, 18 Oct 2019 10:09:31 +0200 (CEST) Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by dpdk.org (Postfix) with ESMTP id CF1A81C0DA for ; Fri, 18 Oct 2019 10:09:29 +0200 (CEST) Received: by mail-wm1-f66.google.com with SMTP id 5so5162234wmg.0 for ; Fri, 18 Oct 2019 01:09:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=IleW/StKCcux/ulrzITLDTUmpEEP++4R7kTMl6d9MAc=; b=OqSxVyEYhkbB/ch8W05LzrnmneO9jdTfD1yQuOrRSX3zFL5hQpGQktX3o2mqr7R5NR SPUOcBkizoqJrMfEbyLFqUKevG5yC/HrVA+tOk1ExcUCXizCaiKyjREbj+Fc31Gc9S59 VU2hceNuNcWB3XFrX/tqcwsacBasTt+F9s/WU1uQKpSo9ngNuXMyQeCR3AaO1sSY4itX 5aEIF9/MC2fuX5ap9qcNcDapBUC8z+9IBiuYtooRn6CtdiAnZliu7943WkJv4AmvGqIZ ItSJL7PrWZ+pbx6wP4RQfWt7k0XOXzKf/gixxdFiJFf8ew2pBVudgF3O8j9N60vuKEDD erMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=IleW/StKCcux/ulrzITLDTUmpEEP++4R7kTMl6d9MAc=; b=NNuRG+uKYJjngVXR5xPrKedZfx9kGCn+1optZpMb4vrEqsXoV+z0LgblngY0+neUvt v/xJ+EEuRXi2vS4siATemQ6ebHzDobvMJIJwhNHQo3NXqBez+gqLmNlyr8K7qge34yK8 SHtjmhBOk+88EI0WMlPmA0PiDXFHVFZbHMYNX3KO8FnEO4YKWdxVOzl+umD/dz0j0ZoG 9aispSlSEdloL0QTh/xvQGk7Ekv6jOSrXBN9D8wn2d0J+tx0JtaPZPsnS7nQ7QT3mupe ptTr8FlHFh6Quf+y7Xh+z4BHJ8TKhRnqnbLwpT3dNjsC8Av4z2R5/QKrVjLqNh1H71Ug eoNw== X-Gm-Message-State: APjAAAU9jhYARj60n30oqnyas9657So5VM0QazgoYIiq3sL5ERPKalCY sMp4GQHUbUlEClwUv6Dzj7hP X-Google-Smtp-Source: APXvYqwKzwofOD520Yh3C+jnQnZsoSOStX7XI7V4xMTCMahYp/7HjWlmSYrcAUIZ5fzgYUmf4K8DsQ== X-Received: by 2002:a7b:cc01:: with SMTP id f1mr6850631wmh.113.1571386169555; Fri, 18 Oct 2019 01:09:29 -0700 (PDT) Received: from [10.16.0.208] (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id o22sm6278999wra.96.2019.10.18.01.09.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Oct 2019 01:09:29 -0700 (PDT) To: Hemant Agrawal , dev@dpdk.org Cc: akhil.goyal@nxp.com, stable@dpdk.org, vipin.varghese@intel.com References: <20191018075613.2784-1-hemant.agrawal@nxp.com> <20191018075613.2784-2-hemant.agrawal@nxp.com> From: Thierry Herbelot Message-ID: <4a08d6c1-9ae8-a75d-7bb1-adeb9c2feeec@6wind.com> Date: Fri, 18 Oct 2019 10:09:28 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191018075613.2784-2-hemant.agrawal@nxp.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [PATCH] app/proc-info: fix compilation with no security 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: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On 10/18/19 9:56 AM, Hemant Agrawal wrote: > This patch fixes the compilation issues when > RTE_LIBRTE_SECURITY is disabled. > > Fixes: 8a37f37fc243 ("app/procinfo: add --show-port") > Cc: stable@dpdk.org > Cc: vipin.varghese@intel.com > > Signed-off-by: Hemant Agrawal > --- > app/proc-info/main.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/app/proc-info/main.c b/app/proc-info/main.c > index a3f854b89..8cf501d06 100644 > --- a/app/proc-info/main.c > +++ b/app/proc-info/main.c > @@ -30,7 +30,9 @@ > #include > #include > #include > +#ifdef RTE_LIBRTE_SECURITY > #include > +#endif > #include > #include > #include > @@ -733,6 +735,7 @@ show_port(void) > } > > printf(" - cyrpto context\n"); > +#ifdef RTE_LIBRTE_SECURITY > void *p_ctx = rte_eth_dev_get_sec_ctx(i); > printf("\t -- security context - %p\n", p_ctx); > > @@ -751,6 +754,7 @@ show_port(void) > s_cap->crypto_capabilities->op); > } > } > +#endif > } > > STATS_BDR_STR(50, ""); > Acked-by: Thierry Herbelot -- Thierry Herbelot 6WIND Senior Software Engineer