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 5AD4AA0353; Tue, 12 Nov 2019 20:14:14 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8B8292C08; Tue, 12 Nov 2019 20:14:13 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id 4C1E42BF9 for ; Tue, 12 Nov 2019 20:14:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1573586050; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=z1d1pv969mt4CVo6MwxrZz5ksNDf+q+NrFlTWLIiTJA=; b=ZVR+z/l7R3+noibTbJwX0NnMvLgU24kP/XDe2JpXI4/Ixlhklm6duy7+PyIxlrsGnLZRF7 YyK8O9G119K/PWebh6NtJlAStKI+1g0o3/oUea++d745Dz93KBT8n7oPFjgPjZPBuR2v9l BDAQx2sQ9/gOq1knugOVXieJ5N7HR+Y= Received: from mail-vs1-f72.google.com (mail-vs1-f72.google.com [209.85.217.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-161-9DaVXbXkMGGzuxK5JTNdSg-1; Tue, 12 Nov 2019 14:14:09 -0500 Received: by mail-vs1-f72.google.com with SMTP id b12so1346713vsh.10 for ; Tue, 12 Nov 2019 11:14:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=z1d1pv969mt4CVo6MwxrZz5ksNDf+q+NrFlTWLIiTJA=; b=mu0xZOqq+ra/lj7boqiUJ9xWCO7tRYhAEE3fiKFB22twWAaD8VAHSlub6O0Ks+yo7J 7ENiinrtwTBClb+lmXz0YTcKainx0eHNUmpmO2Yhm0rkMvOQ7a3REAqWpCvC58bHlpOt 2gqlTznXK+1xuAyeRzzKSjWB44CRPkHNQGoonXXH11W6bKBEcJwt7ALmsTz8pa5Ooxj7 U4IWT0Prw/1LSdaM9s75oUyGc47s5i62bP7ufbpCKVzFqRCjYwjKKyDOPTUl1J0mF9TA W5jRJW3oU3kw5S/fJJYwBK4JjNk2IVRbZuHze6kSL7n12VXY/4jlSX6iGDQQk3LEeyy5 lB7g== X-Gm-Message-State: APjAAAWuH4mJfTwYaDv8oEnmNd4ZC2zF2C75nkosVrDk6BRW7IJoKXG+ CZh3zo6y7oCNSQ3gtO+rsA9ToVSSh0DH4AbR9HC0L3dMDwOpqkw/8cvLHWCfz29dNFC4xiZ+83m NEePCGBmKHHKpmHF8FM4= X-Received: by 2002:a67:f3c7:: with SMTP id j7mr13061202vsn.141.1573586049090; Tue, 12 Nov 2019 11:14:09 -0800 (PST) X-Google-Smtp-Source: APXvYqyAr+WmWBvG408QyLjMLHNDvsbw8jEoHt97cJhzKRKdSx54Wjw3ZmUtmwSKvvT9wqRTSR5kL83822aHiESf5rc= X-Received: by 2002:a67:f3c7:: with SMTP id j7mr13061169vsn.141.1573586048715; Tue, 12 Nov 2019 11:14:08 -0800 (PST) MIME-Version: 1.0 References: <1573562253-10332-1-git-send-email-david.marchand@redhat.com> <3057fbd1-c720-ce79-93b6-f3688ea1be73@intel.com> In-Reply-To: <3057fbd1-c720-ce79-93b6-f3688ea1be73@intel.com> From: David Marchand Date: Tue, 12 Nov 2019 20:13:57 +0100 Message-ID: To: Ferruh Yigit Cc: dev , Marko Kovacevic , Ori Kam , Bruce Richardson , Radu Nicolau , Akhil Goyal , Tomasz Kantecki , Sunil Kumar Kori , Pavan Nikhilesh X-MC-Unique: 9DaVXbXkMGGzuxK5JTNdSg-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH] examples/l2fwd: fix build warning with system wide install 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" On Tue, Nov 12, 2019 at 6:09 PM Ferruh Yigit wrote= : > > On 11/12/2019 12:37 PM, David Marchand wrote: > > Caught when compiling this example with pkg-config: > > > > ## Building l2fwd > > ... > > main.c: In function =E2=80=98main=E2=80=99: > > main.c:716:3: warning: =E2=80=98rte_eth_dev_set_ptypes=E2=80=99 is dep= recated: Symbol > > is not yet part of stable ABI [-Wdeprecated-declarations] > > 716 | ret =3D rte_eth_dev_set_ptypes(portid, RTE_PTYPE_UNKNOWN, NU= LL, > > | ^~~ > > In file included from main.c:38: > > ...build-x86-default/install-root/usr/local/include/rte_ethdev.h:2661:= 5: > > note: declared here > > 2661 | int rte_eth_dev_set_ptypes(uint16_t port_id, uint32_t > > ptype_mask, > > | ^~~~~~~~~~~~~~~~~~~~~~ > > ln -sf l2fwd-shared build/l2fwd > > > > Fixes: 9731df2e7554 ("examples/l2fwd: disable packet type parsing") > > > > Signed-off-by: David Marchand > > Acked-by: Ferruh Yigit Thanks. Applied. -- David Marchand