DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@intel.com>
To: David Marchand <david.marchand@redhat.com>, dev@dpdk.org
Cc: Marko Kovacevic <marko.kovacevic@intel.com>,
	Ori Kam <orika@mellanox.com>,
	Bruce Richardson <bruce.richardson@intel.com>,
	Radu Nicolau <radu.nicolau@intel.com>,
	Akhil Goyal <akhil.goyal@nxp.com>,
	Tomasz Kantecki <tomasz.kantecki@intel.com>,
	Sunil Kumar Kori <skori@marvell.com>,
	Pavan Nikhilesh <pbhagavatula@marvell.com>
Subject: Re: [dpdk-dev] [PATCH] examples/l2fwd: fix build warning with system wide install
Date: Tue, 12 Nov 2019 17:09:34 +0000	[thread overview]
Message-ID: <3057fbd1-c720-ce79-93b6-f3688ea1be73@intel.com> (raw)
In-Reply-To: <1573562253-10332-1-git-send-email-david.marchand@redhat.com>

On 11/12/2019 12:37 PM, David Marchand wrote:
> Caught when compiling this example with pkg-config:
> 
>  ## Building l2fwd
>  ...
>  main.c: In function ‘main’:
>  main.c:716:3: warning: ‘rte_eth_dev_set_ptypes’ is deprecated: Symbol
>  is not yet part of stable ABI [-Wdeprecated-declarations]
>    716 |   ret = rte_eth_dev_set_ptypes(portid, RTE_PTYPE_UNKNOWN, NULL,
>        |   ^~~
>  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 <david.marchand@redhat.com>

Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>

  reply	other threads:[~2019-11-12 17:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-12 12:37 David Marchand
2019-11-12 17:09 ` Ferruh Yigit [this message]
2019-11-12 19:13   ` David Marchand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3057fbd1-c720-ce79-93b6-f3688ea1be73@intel.com \
    --to=ferruh.yigit@intel.com \
    --cc=akhil.goyal@nxp.com \
    --cc=bruce.richardson@intel.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=marko.kovacevic@intel.com \
    --cc=orika@mellanox.com \
    --cc=pbhagavatula@marvell.com \
    --cc=radu.nicolau@intel.com \
    --cc=skori@marvell.com \
    --cc=tomasz.kantecki@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).