[dpdk-dev] [PATCH 5/5] virtio: optimize transmit enqueue

2015-10-20 Thread Xie, Huawei
On 10/19/2015 1:16 PM, Stephen Hemminger wrote: > All the error checks in virtqueue_enqueue_xmit are already done > by the caller. Therefore they can be removed to improve performance. > > Signed-off-by: Stephen Hemminger Exactly the same thought as i commented in previous patch. We should remove

[dpdk-dev] [PATCH 5/5] virtio: optimize transmit enqueue

2015-10-18 Thread Stephen Hemminger
All the error checks in virtqueue_enqueue_xmit are already done by the caller. Therefore they can be removed to improve performance. Signed-off-by: Stephen Hemminger --- drivers/net/virtio/virtio_rxtx.c | 23 ++- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/