[dpdk-dev] [PATCH 6/6] examples/vhost: add an option to enable Tx zero copy

2016-08-23 Thread Yuanhan Liu
On Tue, Aug 23, 2016 at 04:14:44PM +0200, Maxime Coquelin wrote: > > /* Specify timeout (in useconds) between retries on RX. */ > > static uint32_t burst_rx_delay_time = BURST_RX_WAIT_US; > >@@ -297,6 +298,17 @@ port_init(uint8_t port) > > > > rx_ring_size = RTE_TEST_RX_DESC_DEFAULT; > > tx

[dpdk-dev] [PATCH 6/6] examples/vhost: add an option to enable Tx zero copy

2016-08-23 Thread Yuanhan Liu
On Tue, Aug 23, 2016 at 11:31:08AM +0200, Thomas Monjalon wrote: > 2016-08-23 16:10, Yuanhan Liu: > > One thing worth noting while using Tx zero copy is the nb_tx_desc has > > to be small enough so that the eth driver will hit the mbuf free > > threshold easily and thus free mbuf more frequently. >

[dpdk-dev] [PATCH 6/6] examples/vhost: add an option to enable Tx zero copy

2016-08-23 Thread Maxime Coquelin
On 08/23/2016 10:10 AM, Yuanhan Liu wrote: > Add an option, --tx-zero-copy, to enable Tx zero copy. > > One thing worth noting while using Tx zero copy is the nb_tx_desc has > to be small enough so that the eth driver will hit the mbuf free > threshold easily and thus free mbuf more frequently. >

[dpdk-dev] [PATCH 6/6] examples/vhost: add an option to enable Tx zero copy

2016-08-23 Thread Yuanhan Liu
Add an option, --tx-zero-copy, to enable Tx zero copy. One thing worth noting while using Tx zero copy is the nb_tx_desc has to be small enough so that the eth driver will hit the mbuf free threshold easily and thus free mbuf more frequently. The reason behind that is, when Tx zero copy is enable

[dpdk-dev] [PATCH 6/6] examples/vhost: add an option to enable Tx zero copy

2016-08-23 Thread Thomas Monjalon
2016-08-23 16:10, Yuanhan Liu: > One thing worth noting while using Tx zero copy is the nb_tx_desc has > to be small enough so that the eth driver will hit the mbuf free > threshold easily and thus free mbuf more frequently. > > The reason behind that is, when Tx zero copy is enabled, guest Tx use