[dpdk-dev] [PATCH 1/2] net/thunderx: fix build issues with 32bit target
Ferruh Yigit
ferruh.yigit at intel.com
Wed Mar 15 17:32:44 CET 2017
On 3/10/2017 3:39 PM, Jerin Jacob wrote:
> Fixes: e438796617dc ("net/thunderx: add PMD skeleton")
>
> Signed-off-by: Jerin Jacob <jerin.jacob at 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)));
^~~~~~~~~~~~~~~
More information about the dev
mailing list