> -----Original Message----- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Thursday, June 11, 2015 11:53 PM > To: Ouyang, Changchun > Cc: dev at dpdk.org; Stephen Hemminger; Stephen Hemminger > Subject: [PATCH 5/5] virtio: fix ring size negotiation > > From: Stephen Hemminger <shemming at brocade.com> > > Negotate 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 at networkplumber.org>
Acked-by: Changchun Ouyang<changchun.ouyang at intel.com>