DPDK patches and discussions
 help / color / mirror / Atom feed
From: Eelco Chaudron <echaudro@redhat.com>
To: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] app/testpmd: link with virtio PMD when using shared libraries
Date: Mon, 20 Nov 2017 11:27:09 +0100	[thread overview]
Message-ID: <f76597fd-8ded-5b61-eb47-ba95f4215059@redhat.com> (raw)
In-Reply-To: <e6a0258739baaf4058a367f065b77f03f594ad42.1510935549.git.tredaelli@redhat.com>

On 17/11/17 17:19, 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: Eelco Chaudron <echaudro@redhat.com>

  parent reply	other threads:[~2017-11-20 10:27 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
2017-11-20 10:27 ` Eelco Chaudron [this message]
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=f76597fd-8ded-5b61-eb47-ba95f4215059@redhat.com \
    --to=echaudro@redhat.com \
    --cc=dev@dpdk.org \
    /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).