[ovs-dev] [PATCH 0/4] dpif-netdev: Hash-based Tx packet steering

Maxime Coquelin maxime.coquelin at redhat.com
Thu Nov 25 10:23:41 UTC 2021


Hi,

On 11/24/21 22:23, Maxime Coquelin wrote:
> This series introduces a new HXPS Tx mode alognside existing
> XPS and static modes. The goal is to provide a mode where all
> the transmit queues are used, whatever the number of PMD
> threads. This may be used with Vhost-user ports, where the
> guest application driving the Virtio device expects packets
> to be distributed on all the queues.
> 
> As a preliminary step, in order to be able to validate the
> feature at OVS level, the first patch introduces per-queue
> basic statistics for Vhost-user ports. This patch is
> complementary to David's patch [0] adding per-queue
> statistics to DPDK ports using xstats.

[0]: 
http://patchwork.ozlabs.org/project/openvswitch/patch/20211015150406.12949-1-david.marchand@redhat.com/

> 
> The series also introduces two DPDK tests for Vhost-user
> multiqueue, with and without HXPS enabled.

I also forgot to mention that this series depends on David's
system-dpdk tests refactoring series:
http://patchwork.ozlabs.org/project/openvswitch/list/?series=273438

> Maxime Coquelin (4):
>    netdev-dpdk: Introduce per rxq/txq Vhost-user statistics
>    dpif-netdev: Introduce Tx queue mode
>    dpif-netdev: Add HXPS Tx queue mode
>    system-dpdk: Add tests for HXPS
> 
>   Documentation/automake.mk           |   1 +
>   Documentation/topics/dpdk/hxps.rst  |  51 ++++++++++
>   Documentation/topics/dpdk/index.rst |   1 +
>   lib/dpif-netdev.c                   |  95 ++++++++++++++----
>   lib/netdev-dpdk.c                   | 143 ++++++++++++++++++++++++++--
>   tests/system-dpdk.at                | 135 ++++++++++++++++++++++++++
>   6 files changed, 399 insertions(+), 27 deletions(-)
>   create mode 100644 Documentation/topics/dpdk/hxps.rst
> 



More information about the dev mailing list