diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2022-02-01 18:35:59 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2022-03-01 16:08:11 +0000 |
commit | 0f8912f0d6af49ec8093e3c478b48767a00b3710 (patch) | |
tree | c919de059799fb89029f470c96b81cffa9dacec3 /src/vnet/devices/virtio/virtio_pre_input.c | |
parent | 855ad3373ee9257ce7c917b90c638bd2f8a76da4 (diff) |
virtio: refactor code
Type: refactor
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Change-Id: I3788cc857023fafcc8eb6d6ff4524425026a75d8
Diffstat (limited to 'src/vnet/devices/virtio/virtio_pre_input.c')
-rw-r--r-- | src/vnet/devices/virtio/virtio_pre_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/devices/virtio/virtio_pre_input.c b/src/vnet/devices/virtio/virtio_pre_input.c index ee6e848310d..eb208fd3a39 100644 --- a/src/vnet/devices/virtio/virtio_pre_input.c +++ b/src/vnet/devices/virtio/virtio_pre_input.c @@ -22,7 +22,7 @@ #include <vnet/devices/virtio/virtio_inline.h> static_always_inline uword -virtio_pre_input_inline (vlib_main_t *vm, virtio_vring_t *txq_vring, +virtio_pre_input_inline (vlib_main_t *vm, vnet_virtio_vring_t *txq_vring, vnet_hw_if_tx_queue_t *txq, u8 packet_coalesce, u8 packet_buffering) { @@ -66,7 +66,7 @@ virtio_pre_input (vlib_main_t *vm, vlib_node_runtime_t *node, { if (vif->packet_coalesce || vif->packet_buffering) { - virtio_vring_t *txq_vring; + vnet_virtio_vring_t *txq_vring; vec_foreach (txq_vring, vif->txq_vrings) { vnet_hw_if_tx_queue_t *txq = |