DPDK patches and discussions
 help / color / mirror / Atom feed
From: Luca Boccassi <bluca@debian.org>
To: Timothy Redaelli <tredaelli@redhat.com>, dev@dpdk.org
Cc: Jingjing Wu <jingjing.wu@intel.com>
Subject: Re: [dpdk-dev] [PATCH] app/testpmd: link with virtio PMD when using shared libraries
Date: Fri, 17 Nov 2017 16:43:41 +0000	[thread overview]
Message-ID: <1510937021.11864.13.camel@debian.org> (raw)
In-Reply-To: <e6a0258739baaf4058a367f065b77f03f594ad42.1510935549.git.tredaelli@redhat.com>

On Fri, 2017-11-17 at 17:19 +0100, Timothy Redaelli wrote:
> testpmd is often used inside a VM to test the OVS PVP scenario.
> This commit makes testpmd to link to virtio PMD when DPDK is built as
> shared libraries too.
> 
> Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
> ---
>  app/test-pmd/Makefile | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/app/test-pmd/Makefile b/app/test-pmd/Makefile
> index 4993c9184..ffc370f0e 100644
> --- a/app/test-pmd/Makefile
> +++ b/app/test-pmd/Makefile
> @@ -87,6 +87,10 @@ ifeq ($(CONFIG_RTE_LIBRTE_PMD_SOFTNIC),y)
>  LDLIBS += -lrte_pmd_softnic
>  endif
>  
> +ifeq ($(CONFIG_RTE_LIBRTE_VIRTIO_PMD),y)
> +LDLIBS += -lrte_pmd_virtio
> +endif
> +
>  endif
>  
>  CFLAGS_cmdline.o := -D_GNU_SOURCE

Acked-by: <bluca@debian.org>

-- 
Kind regards,
Luca Boccassi

  reply	other threads:[~2017-11-17 16:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-17 16:19 Timothy Redaelli
2017-11-17 16:43 ` Luca Boccassi [this message]
2017-11-20 10:27 ` Eelco Chaudron
2017-11-29 22:23   ` Thomas Monjalon
2017-11-30 11:21     ` Timothy Redaelli
2017-11-30 13:16       ` Thomas Monjalon

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=1510937021.11864.13.camel@debian.org \
    --to=bluca@debian.org \
    --cc=dev@dpdk.org \
    --cc=jingjing.wu@intel.com \
    --cc=tredaelli@redhat.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).