Re: [dpdk-dev] [PATCH 6/7] net/virtio: add IN_ORDER Rx/Tx into selection

2018-06-20 Thread Liu, Yong
On 06/20/2018 03:44 PM, Tiwei Bie wrote: On Fri, Jun 08, 2018 at 05:07:23PM +0800, Marvin Liu wrote: [...] @@ -634,6 +634,24 @@ virtio_dev_rx_queue_setup_finish(struct rte_eth_dev *dev, uint16_t queue_idx) virtio_rxq_rearm_vec(rxvq); nbufs +=

Re: [dpdk-dev] [PATCH 6/7] net/virtio: add IN_ORDER Rx/Tx into selection

2018-06-20 Thread Tiwei Bie
On Fri, Jun 08, 2018 at 05:07:23PM +0800, Marvin Liu wrote: [...] > > @@ -634,6 +634,24 @@ virtio_dev_rx_queue_setup_finish(struct rte_eth_dev > *dev, uint16_t queue_idx) > virtio_rxq_rearm_vec(rxvq); > nbufs += RTE_VIRTIO_VPMD_RX_REARM_THRESH; >

[dpdk-dev] [PATCH 6/7] net/virtio: add IN_ORDER Rx/Tx into selection

2018-06-07 Thread Marvin Liu
After IN_ORDER Rx/Tx paths added, need to update Rx/Tx path selection logic. Also need to handle device start up Rx queue descriptors flush action separately. Rx path select logic: If IN_ORDER is disabled will select normal Rx path. If IN_ORDER is enabled, Rx offload and merge-able are disabled wi