aboutsummaryrefslogtreecommitdiffstats
path: root/src/vat
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2019-04-30 17:25:26 +0200
committerDamjan Marion <dmarion@me.com>2019-05-01 18:12:43 +0000
commit43b512cac2240cd679341a3bc01d548c573b8a85 (patch)
treeeedbc4c059ce494a8f3ea6f4314c2af57f9524b3 /src/vat
parenteecdf93aeaf59e65dfeb57cdeae75ff9675d9c0f (diff)
virtio: remove configurable queue size support
Native virtio device through legacy driver can't support configurable queue size. Change-Id: I76c446a071bef8a469873010325d830586aa84bd Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vat')
-rw-r--r--src/vat/api_format.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vat/api_format.c b/src/vat/api_format.c
index bff81567c6c..d2c125d5f72 100644
--- a/src/vat/api_format.c
+++ b/src/vat/api_format.c
@@ -7732,8 +7732,6 @@ api_virtio_pci_create (vat_main_t * vam)
mp->pci_addr = htonl (pci_addr);
mp->features = clib_host_to_net_u64 (features);
- mp->rx_ring_sz = htons (rx_ring_sz);
- mp->tx_ring_sz = htons (tx_ring_sz);
if (random_mac == 0)
clib_memcpy (mp->mac_address, mac_address, 6);