summaryrefslogtreecommitdiffstats
path: root/vnet
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2016-10-31 23:23:34 +0100
committerDave Barach <openvpp@barachs.net>2016-11-01 00:11:32 +0000
commit6e3c65e8b9fdc563bbac43f8b2fb380d7604c309 (patch)
treec4aa3933ab7cd822e3fb184791b394be8df6722d /vnet
parent0cd695c7ad18cfe8794b1c669cdefd215f7a1b63 (diff)
dpdk: use u32 for next0
Change-Id: I0158a290736f68d0d56dff2f15dd18518059efd2 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vnet')
-rw-r--r--vnet/vnet/devices/dpdk/node.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/vnet/vnet/devices/dpdk/node.c b/vnet/vnet/devices/dpdk/node.c
index a58c8d51917..fa651d81787 100644
--- a/vnet/vnet/devices/dpdk/node.c
+++ b/vnet/vnet/devices/dpdk/node.c
@@ -77,7 +77,7 @@ vlib_buffer_is_mpls (vlib_buffer_t * b)
always_inline void
dpdk_rx_next_and_error_from_mb_flags_x1 (dpdk_device_t * xd,
struct rte_mbuf *mb,
- vlib_buffer_t * b0, u8 * next0,
+ vlib_buffer_t * b0, u32 * next0,
u8 * error0)
{
u8 n0;
@@ -147,7 +147,7 @@ dpdk_rx_trace (dpdk_main_t * dm,
{
vlib_main_t *vm = vlib_get_main ();
u32 *b, n_left;
- u8 next0;
+ u32 next0;
n_left = n_buffers;
b = buffers;
@@ -398,8 +398,8 @@ dpdk_device_input (dpdk_main_t * dm,
while (n_buffers > 0)
{
- u32 bi0;
- u8 next0, error0;
+ u32 bi0, next0;
+ u8 error0;
u32 l3_offset0;
vlib_buffer_t *b0, *b_seg, *b_chain = 0;
u32 cntr_type;