diff options
author | Christophe Fontaine <christophe.fontaine@qosmos.com> | 2016-05-11 08:36:24 +0000 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2016-05-17 19:24:17 +0000 |
commit | 95c8415531a27745c367fe2b352a4bdf2b1c7965 (patch) | |
tree | cfdebfd11f3f065e5f90fe3414c6c5c102622da1 /vlib | |
parent | 144a90f2e1e60e9c194c61c25db406e6e5f542e9 (diff) |
dpdk/build - 32bits compilation
In vnet/vnet/devices/dpdk/device.c, post 2 event data instead of
merging them into 1 u64.
Change-Id: I8b1d61b894279fb6eb57bb82a05affc14360e6b8
Signed-off-by: Christophe Fontaine <christophe.fontaine@qosmos.com>
Diffstat (limited to 'vlib')
-rw-r--r-- | vlib/vlib/dpdk_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vlib/vlib/dpdk_buffer.c b/vlib/vlib/dpdk_buffer.c index 358d366f140..ce0f32649aa 100644 --- a/vlib/vlib/dpdk_buffer.c +++ b/vlib/vlib/dpdk_buffer.c @@ -980,7 +980,7 @@ vlib_buffer_pool_create(vlib_main_t * vm, unsigned num_mbufs, } /* check if fits into buffer index range */ - if (new_size > ( (uword) 1 << (32 + CLIB_LOG2_CACHE_LINE_BYTES))) + if ( (u64)new_size > ( (u64) 1 << (32 + CLIB_LOG2_CACHE_LINE_BYTES))) rmp = 0; } } |