[dpdk-dev] [PATCH 5/5] virtio: fix ring size negotiation

2015-06-12 Thread Ouyang, Changchun
> -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 He

[dpdk-dev] [PATCH 5/5] virtio: fix ring size negotiation

2015-06-11 Thread Stephen Hemminger
From: Stephen Hemminger 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