From: Olivier Matz <olivier.matz@6wind.com>
To: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Cc: David Marchand <david.marchand@6wind.com>, dev <dev@dpdk.org>
Subject: Re: [PATCH] xenvirt: fix compilation after mempool changes
Date: Mon, 13 Jun 2016 11:13:33 +0200 [thread overview]
Message-ID: <575E793D.1020702@6wind.com> (raw)
In-Reply-To: <CAATJJ0JQGfg9O7mAwKfS2wEuS4b+KhaY9U-w_7P1EBP4tDHOCw@mail.gmail.com>
On 06/13/2016 11:10 AM, Christian Ehrhardt wrote:
> Hmm,
> Hi again Oliver.
>
> I was too fast saying yes.
> I don't know what is different now but I clearly tested it wrong the
> first time.
> Now I get:
>
> CC rte_xen_lib.o
> /mnt/nvme/dpdk-16-07-pre-linking/drivers/net/xenvirt/rte_xen_lib.c:In
> function ‘grant_gntalloc_mbuf_pool’:
> /mnt/nvme/dpdk-16-07-pre-linking/drivers/net/xenvirt/rte_xen_lib.c:441:6:error:
> ‘mp’ undeclared (first use in this function)
> if (mp->nb_mem_chunks != 1) {
> ^
> /mnt/nvme/dpdk-16-07-pre-linking/drivers/net/xenvirt/rte_xen_lib.c:441:6:note:
> each undeclared identifier is reported only once for each function it
> appears in
> /mnt/nvme/dpdk-16-07-pre-linking/drivers/net/xenvirt/rte_xen_lib.c:422:46:error:
> unused parameter ‘mpool’ [-Werror=unused-parameter]
> grant_gntalloc_mbuf_pool(struct rte_mempool *mpool, uint32_t pg_num,
> uint32_t *gref_arr, phys_addr_t *pa_arr, int mempool_idx)
> ^
> cc1: all warnings being treated as errors
>
>
> Not too hard, changing the mp to mpool on the two places the patch has
> inserted it gets it working.
>
Thanks, and sorry I did not test the compilation because I don't have
the xen libraries installed.
This shows that even reading the patch several times is less efficient
than a compiler ;)
I'll send a v2 soon.
next prev parent reply other threads:[~2016-06-13 9:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-13 7:34 Question regarding mempool changes impact to XEN PMD Christian Ehrhardt
2016-06-13 8:14 ` Olivier Matz
2016-06-13 8:22 ` [PATCH] xenvirt: fix compilation after mempool changes Olivier Matz
2016-06-13 8:51 ` Christian Ehrhardt
2016-06-13 9:10 ` Christian Ehrhardt
2016-06-13 9:13 ` Olivier Matz [this message]
2016-06-13 11:24 ` [PATCH v2] " Olivier Matz
2016-06-13 11:54 ` Christian Ehrhardt
2016-06-16 15:52 ` Bruce Richardson
2016-06-13 8:30 ` Question regarding mempool changes impact to XEN PMD Christian Ehrhardt
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=575E793D.1020702@6wind.com \
--to=olivier.matz@6wind.com \
--cc=christian.ehrhardt@canonical.com \
--cc=david.marchand@6wind.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.