diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2021-05-05 14:26:38 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2021-05-06 10:28:02 +0000 |
commit | 36f7a6aeb021a549f2d684868303c9891bc0dd00 (patch) | |
tree | 730f3b7ed52c07e52d863d5f467debcb4c4ca8c7 /src/vnet/devices/virtio/vhost_user_input.c | |
parent | 11e0d752e67ac3da804e2af798d12995ae401434 (diff) |
vlib: fix the offload flags size
Type: fix
Change-Id: I433fe3799975fe3ba00fa30226f6e8dae34e88fc
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vnet/devices/virtio/vhost_user_input.c')
-rw-r--r-- | src/vnet/devices/virtio/vhost_user_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/devices/virtio/vhost_user_input.c b/src/vnet/devices/virtio/vhost_user_input.c index 1636bd8c4a9..69fba411f1c 100644 --- a/src/vnet/devices/virtio/vhost_user_input.c +++ b/src/vnet/devices/virtio/vhost_user_input.c @@ -253,7 +253,7 @@ vhost_user_handle_rx_offload (vlib_buffer_t * b0, u8 * b0_data, ethernet_header_t *eh = (ethernet_header_t *) b0_data; u16 ethertype = clib_net_to_host_u16 (eh->type); u16 l2hdr_sz = sizeof (ethernet_header_t); - u32 oflags = 0; + vnet_buffer_oflags_t oflags = 0; if (ethernet_frame_is_tagged (ethertype)) { |