From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8851FA0557; Thu, 9 Jun 2022 19:34:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 71A8D4069C; Thu, 9 Jun 2022 19:34:03 +0200 (CEST) Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mails.dpdk.org (Postfix) with ESMTP id 1F5DF40689 for ; Thu, 9 Jun 2022 19:34:02 +0200 (CEST) Received: by mail-pf1-f171.google.com with SMTP id bo5so21668138pfb.4 for ; Thu, 09 Jun 2022 10:34:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=/q5W39cGXm+CsK6G0qelB2LTnpS/1JwBpYZ5QUe7N8I=; b=NhruF9fe1rNzBsH+uahyi19mG3KDfl53XOxTZ7LgweBug7D5AMMb6d8m+jdm6+QD0c x+Zi/N9ytAu7hjDmdIPvbM1NSnlpb2L4kjPdADFA/o8MPG6F+adTYhdQRWbYzTb+sLdV smAG55JJ+XWOy7pE0DkEB5tErwzN30r2xaEK72CEeCiztn1qxbVMLMdCwGrZBQ2Q8vqm 2Y+z+cG7B1U8hFPaf7npBDMdCKb/+CynSyRaFNxkQACGhpFGh6iaF3F6Z5f4QowAFoZz msIikjl/JmVrG1umy/q/6irNjN+aMbXhqFwZtQOR9215rps/mAVg3hIATcjMNdweYmG2 IN0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=/q5W39cGXm+CsK6G0qelB2LTnpS/1JwBpYZ5QUe7N8I=; b=GHJKD7gAsdLJ22511gIgyeuAMx5cM3Ioc7M86XpNQFGhLmlBN2dMLgShUF71yGq1bM R2HGE5EnrsL0J4Ner/c242O5sM9fNn28b2QxKhGbraAMAwo4SHVcl+eDIUbbAthXL2ys 2gE9jHB+smaOpRXSTYw3xAv4tdHKRYuqA4y1bmdcUaqfzv8pd8sX43FWOVmIT0jdusk8 3FNcfxQrl8HMAihHSrkw0m8NeuvSjr7TPymKIx444TMWHCocA60C6J9fcQPZfcR6K9+9 1so0xNH2GS0evaIu4An9gabXQLYQ2cOW3GBL1PYYnkskQH2QRRh7PRlNntrrcEoqhc6K YRjg== X-Gm-Message-State: AOAM530/Nxjcwmx5ix68UdxdPaF9Ws77PSYgDX19dPQ+IhW6aWCwF55b Y31Ko/1Cfjwl4I1WpQkVPFuRmrfolxo5AL7QSNOzd71TYGc61g== X-Google-Smtp-Source: ABdhPJxouCU9IswhI2Xq9HlOn4K7ifkrywIzOSlD9zGCgLNunV6h6All9ViD2gckcnRjDTxHjUFvXcwBvVAfYoEcfKc= X-Received: by 2002:a63:e705:0:b0:3fd:fb59:bd7f with SMTP id b5-20020a63e705000000b003fdfb59bd7fmr13731589pgi.505.1654796040913; Thu, 09 Jun 2022 10:34:00 -0700 (PDT) MIME-Version: 1.0 From: Adel Belkhiri Date: Thu, 9 Jun 2022 13:33:49 -0400 Message-ID: Subject: Does the vhost-user driver ensures the distribution of traffic between multiple RX queues? To: dev@dpdk.org Content-Type: multipart/alternative; boundary="00000000000031c61105e1073aee" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --00000000000031c61105e1073aee Content-Type: text/plain; charset="UTF-8" Hi guys, I have a question for you. I know that vhost-user NICs can be configured with many RX/TX queues, but does the vhost-user driver ensures the distribution of traffic between RX queues? I used the sample application l3fdw to switch traffic between two vhost-user NICs, each with 4 queues. The traffic was generated using TREX (and testpmd also), running inside a VM. When I traced my experiment, I noticed that the traffic was only received in queue "0", while the other RX queues were empty. The l3fdw app tells me that "Port 0 modified RSS hash function based on hardware support,requested:0xa38c configured:0". For offloading capabilities, testpmd indicates that the vhost-user nic NIC has only support for VLAN STRIP (and not for RSS)! I appreciate any clarification on this matter. Thank you, PS: - DPDK version: 19.08 - Qemu version: 4.2.1 Adele --00000000000031c61105e1073aee Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi guys,

I have a qu= estion for=C2=A0you. I know that vhost-user NICs can be configured with man= y=C2=A0 RX/TX queues, but does the vhost-user driver ensures the distributi= on of traffic between RX queues?

<= /div>
I used the sample application l3fdw to= switch traffic between two vhost-user NICs, each with 4 queues. The traffi= c=C2=A0was generated using TREX (and testpmd also), running inside a VM. Wh= en=C2=A0I traced my experiment, I noticed that the traffic was only receive= d in queue "0", while the other RX queues were empty.=C2=A0
=

T= he l3fdw app tells=C2=A0me that "Port 0 modified RSS hash function bas= ed on hardware support,requested:0xa38c configured:0". For offloading = capabilities, testpmd indicates that the vhost-user nic NIC has only suppor= t for VLAN STRIP (and not for RSS)!
I appreciate any clarification on t= his matter.

Thank you,
<= br>
PS:=C2=A0=C2=A0
- DPDK version: 19.08
- Qemu version:=C2=A04.2.1

Adele
--00000000000031c61105e1073aee--