Indirect descriptor feature has been enabled in v16.11-rc1, but only TX path
was implemented.
However, some configurations expect it is supported for the Rx path:
 - Windows guests with and without mergeable buffers enabled
 - Linux guests with Kernel drivr with mergeable buffers disabled

This series add the support of indirect descs for the Rx path, and has been
tested with following configurations:
 - Windows guest with indirect ON, mergeeable ON/OFF
 - Linux guest with Kernel driver with indirect ON/OFF, mergeable ON/OFF
 - Linux guest with Virtio PMD with mergeable ON/OFF

The performance degradation measured with/without this series with Virtio PMD
is around 1% (which doesn't use indirect descs for the Rx path).

The series is based on top of "vhost: optimize mergeable Rx path" v7.

Maxime Coquelin (2):
  vhost: Add indirect desc support to Rx mergeable path
  vhost: Add indirect desc support to the Rx no-mergeable path

 lib/librte_vhost/virtio_net.c | 73 ++++++++++++++++++++++++++++++-------------
 1 file changed, 51 insertions(+), 22 deletions(-)

-- 
2.7.4

Reply via email to