numam-dpdk/drivers/net
Stephen Hemminger d78deadae4 virtio: fix ring size negotiation
Negotiate the virtio ring size. The host may allow for very large
rings but application may only want a smaller ring.
Conversely, if the number of descriptors requested exceeds the virtio
host queue size, then just silently use the smaller host size.

This fixes issues with virtio in non-QEMU envirionments.
For example Google Compute Engine allows up to 16K elements
in ring.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Changchun Ouyang <changchun.ouyang@intel.com>
2015-06-12 14:44:59 +02:00
..
af_packet af_packet: move to drivers/net/ 2015-05-22 15:51:38 +02:00
bonding bonding: remove useless memset 2015-06-04 10:46:45 +02:00
e1000 drivers: explicit initialization of pci drivers 2015-06-12 11:10:10 +02:00
enic drivers: explicit initialization of pci drivers 2015-06-12 11:10:10 +02:00
fm10k drivers: explicit initialization of pci drivers 2015-06-12 11:10:10 +02:00
i40e drivers: explicit initialization of pci drivers 2015-06-12 11:10:10 +02:00
ixgbe drivers: explicit initialization of pci drivers 2015-06-12 11:10:10 +02:00
mlx4 mlx4: move to drivers/net/ 2015-05-22 16:06:22 +02:00
null null: remove useless memset 2015-06-04 10:46:45 +02:00
pcap drivers: fix whitespace 2015-06-12 11:10:10 +02:00
ring ring: move to drivers/net/ 2015-05-22 16:06:22 +02:00
virtio virtio: fix ring size negotiation 2015-06-12 14:44:59 +02:00
vmxnet3 drivers: explicit initialization of pci drivers 2015-06-12 11:10:10 +02:00
xenvirt xenvirt: move drivers/net/ 2015-05-22 16:06:23 +02:00
Makefile xenvirt: move drivers/net/ 2015-05-22 16:06:23 +02:00