From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Jerin Jacob <jerin.jacob@caviumnetworks.com>, dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH 1/2] net/thunderx: fix build issues with 32bit target
Date: Wed, 15 Mar 2017 16:32:44 +0000 [thread overview]
Message-ID: <b2727e88-fc99-6fd8-1c12-3acc475854e9@intel.com> (raw)
In-Reply-To: <1489160345-21955-1-git-send-email-jerin.jacob@caviumnetworks.com>
On 3/10/2017 3:39 PM, Jerin Jacob wrote:
> Fixes: e438796617dc ("net/thunderx: add PMD skeleton")
>
> Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Still getting build error with 32bit when debug enabled:
In file included from .../drivers/net/thunderx/base/../nicvf_logs.h:36:0,
from .../drivers/net/thunderx/base/nicvf_plat.h:40,
from .../drivers/net/thunderx/nicvf_rxtx.c:50:
.../drivers/net/thunderx/nicvf_rxtx.c: In function ‘nicvf_fill_rbdr’:
.../drivers/net/thunderx/base/nicvf_plat.h:74:50:
error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast]
#define nicvf_addr_read(addr) rte_read64_relaxed((void *)(addr))
^
.../drivers/net/thunderx/nicvf_rxtx.c:376:2:
note: in expansion of macro ‘NICVF_RX_ASSERT’
NICVF_RX_ASSERT((unsigned int)to_fill <= (qlen_mask -
^~~~~~~~~~~~~~~
.../drivers/net/thunderx/nicvf_rxtx.c:377:4:
note: in expansion of macro ‘nicvf_addr_read’
(nicvf_addr_read(rbdr->rbdr_status) & NICVF_RBDR_COUNT_MASK)));
^~~~~~~~~~~~~~~
prev parent reply other threads:[~2017-03-15 16:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-10 15:39 Jerin Jacob
2017-03-10 15:39 ` [dpdk-dev] [PATCH 2/2] config: enable the thunderx nicvf driver Jerin Jacob
2017-03-12 14:02 ` [dpdk-dev] [PATCH v2 1/3] net/thunderx: fix build issues with 32bit target Jerin Jacob
2017-03-12 14:02 ` [dpdk-dev] [PATCH v2 2/3] net/thunderx: fix build issues with FreeBSD target Jerin Jacob
2017-03-12 14:02 ` [dpdk-dev] [PATCH v2 3/3] config: enable the thunderx nicvf driver Jerin Jacob
2017-03-19 14:48 ` [dpdk-dev] [PATCH v3 1/3] net/thunderx: fix build issues with 32bit target Jerin Jacob
2017-03-19 14:48 ` [dpdk-dev] [PATCH v3 2/3] net/thunderx: fix build issues with FreeBSD target Jerin Jacob
2017-03-19 14:48 ` [dpdk-dev] [PATCH v3 3/3] config: enable the thunderx nicvf driver Jerin Jacob
2017-03-20 12:21 ` Ferruh Yigit
2017-03-20 12:21 ` [dpdk-dev] [PATCH v3 1/3] net/thunderx: fix build issues with 32bit target Ferruh Yigit
2017-03-15 16:32 ` Ferruh Yigit [this message]
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=b2727e88-fc99-6fd8-1c12-3acc475854e9@intel.com \
--to=ferruh.yigit@intel.com \
--cc=dev@dpdk.org \
--cc=jerin.jacob@caviumnetworks.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).