qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

why tx_queue_size must be 256 for non-vhost-user tap nic


From: yue
Subject: why tx_queue_size must be 256 for non-vhost-user tap nic
Date: Thu, 30 Dec 2021 19:52:37 +0800 (CST)

Hi, all:

  I tried to test the effort of nic queue's ring-size, but  nic' tx vring-size is always 256.  finally i found  the code.   
could you tell why ?
thanks
-----
n->net_conf.tx_queue_size = MIN(virtio_net_max_tx_queue_size(n),
                                    n->net_conf.tx_queue_size);
n->net_conf.tx_queue_size is 256 if peer->info->type != NET_CLIENT_DRIVER_VHOST_USER.


 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]