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/device.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/device.c')
-rw-r--r-- | src/vnet/devices/virtio/device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/devices/virtio/device.c b/src/vnet/devices/virtio/device.c index 20264787292..666cd1631cf 100644 --- a/src/vnet/devices/virtio/device.c +++ b/src/vnet/devices/virtio/device.c @@ -285,7 +285,7 @@ static void set_checksum_offsets (vlib_buffer_t *b, virtio_net_hdr_v1_t *hdr, const int is_l2) { - u32 oflags = vnet_buffer (b)->oflags; + vnet_buffer_oflags_t oflags = vnet_buffer (b)->oflags; if (b->flags & VNET_BUFFER_F_IS_IP4) { @@ -334,7 +334,7 @@ set_checksum_offsets (vlib_buffer_t *b, virtio_net_hdr_v1_t *hdr, static void set_gso_offsets (vlib_buffer_t *b, virtio_net_hdr_v1_t *hdr, const int is_l2) { - u32 oflags = vnet_buffer (b)->oflags; + vnet_buffer_oflags_t oflags = vnet_buffer (b)->oflags; if (b->flags & VNET_BUFFER_F_IS_IP4) { |