Re: [dpdk-dev] [PATCH 8/9] net/virtio: keep Rx handler whatever the Tx queue config

2017-09-01 Thread Yuanhan Liu
On Fri, Sep 01, 2017 at 11:58:07AM +0200, Olivier MATZ wrote: > On Fri, Sep 01, 2017 at 05:25:38PM +0800, Yuanhan Liu wrote: > > On Thu, Aug 31, 2017 at 03:40:14PM +0200, Olivier Matz wrote: > > > Split use_simple_rxtx into use_simple_rx and use_simple_tx, > > > and ensure that only use_simple_tx i

Re: [dpdk-dev] [PATCH 8/9] net/virtio: keep Rx handler whatever the Tx queue config

2017-09-01 Thread Olivier MATZ
On Fri, Sep 01, 2017 at 05:25:38PM +0800, Yuanhan Liu wrote: > On Thu, Aug 31, 2017 at 03:40:14PM +0200, Olivier Matz wrote: > > Split use_simple_rxtx into use_simple_rx and use_simple_tx, > > and ensure that only use_simple_tx is updated when txq flags > > forces to use the standard Tx handler. >

Re: [dpdk-dev] [PATCH 8/9] net/virtio: keep Rx handler whatever the Tx queue config

2017-09-01 Thread Yuanhan Liu
On Thu, Aug 31, 2017 at 03:40:14PM +0200, Olivier Matz wrote: > Split use_simple_rxtx into use_simple_rx and use_simple_tx, > and ensure that only use_simple_tx is updated when txq flags > forces to use the standard Tx handler. I think it's a good idea to split it. > This change is also useful fo

Re: [dpdk-dev] [PATCH 8/9] net/virtio: keep Rx handler whatever the Tx queue config

2017-08-31 Thread Olivier MATZ
Platform description guest (dpdk) ++ || || |port0 | ++ | | virtio | ++ | tap0 | || || ++ host (linux, vhost-

[dpdk-dev] [PATCH 8/9] net/virtio: keep Rx handler whatever the Tx queue config

2017-08-31 Thread Olivier Matz
Split use_simple_rxtx into use_simple_rx and use_simple_tx, and ensure that only use_simple_tx is updated when txq flags forces to use the standard Tx handler. This change is also useful for next commit (disable simple Rx path when Rx checksum is requested). Cc: sta...@dpdk.org Signed-off-by: Ol