From: Maxime Coquelin <maxime.coquelin@redhat.com>
To: "Xia, Chenbo" <chenbo.xia@intel.com>,
"Ma, WenwuX" <wenwux.ma@intel.com>,
"dev@dpdk.org" <dev@dpdk.org>
Cc: "Jiang, Cheng1" <cheng1.jiang@intel.com>,
"Hu, Jiayu" <jiayu.hu@intel.com>,
"Wang, Yinan" <yinan.wang@intel.com>
Subject: Re: [dpdk-dev] [PATCH] examples/vhost: change the default value of NIC's max queues
Date: Mon, 13 Sep 2021 17:49:12 +0200 [thread overview]
Message-ID: <6bd637a9-6b7a-512c-43c4-6c50a5a9631f@redhat.com> (raw)
In-Reply-To: <MN2PR11MB4063C958F0BFC5679F20A8789CD69@MN2PR11MB4063.namprd11.prod.outlook.com>
On 9/10/21 5:17 AM, Xia, Chenbo wrote:
> Hi Wenwu,
>
>> -----Original Message-----
>> From: Ma, WenwuX <wenwux.ma@intel.com>
>> Sent: Friday, September 10, 2021 9:52 PM
>> To: dev@dpdk.org
>> Cc: maxime.coquelin@redhat.com; Xia, Chenbo <chenbo.xia@intel.com>; Jiang,
>> Cheng1 <cheng1.jiang@intel.com>; Hu, Jiayu <jiayu.hu@intel.com>; Wang, Yinan
>> <yinan.wang@intel.com>; Ma, WenwuX <wenwux.ma@intel.com>
>> Subject: [PATCH] examples/vhost: change the default value of NIC's max queues
>>
>> vswitch can't launch with 40G FTV due to Device start fails
>
> Not many people can understand what's FTV. So let's describe it with a driver
> name. Example if it's 'i40e':
>
> vswitch can't launch with a 40G i40e port...
>
> And Device -> device
>
>> if NIC’s max queues > the default number of 128,
>> so, we changed the default value from 128 to 512.
>>
>
> I'd say it's not cool to still hard-code the MAX_QUEUES so that only 'some' NICs
> can work with the example. The app should have a way to check this kind of info
> before init/start. But as I would like to see at some point, this example will
> be removed and all our tests go to testpmd. Let's not waste too much effort on
> this example.
+1 on this, I agree with Chenbo it is better to invest time in porting
existing tests to testpmd.
>
> Besides: it can be a fix. Let's backport it.
>
> Thanks,
> Chenbo
>
>> Signed-off-by: Wenwu Ma <wenwux.ma@intel.com>
>> ---
>> examples/vhost/main.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/examples/vhost/main.c b/examples/vhost/main.c
>> index bc3d71c898..36969a4de5 100644
>> --- a/examples/vhost/main.c
>> +++ b/examples/vhost/main.c
>> @@ -29,7 +29,7 @@
>> #include "main.h"
>>
>> #ifndef MAX_QUEUES
>> -#define MAX_QUEUES 128
>> +#define MAX_QUEUES 512
>> #endif
>>
>> /* the maximum number of external ports supported */
>> --
>> 2.25.1
>
next prev parent reply other threads:[~2021-09-13 15:49 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-10 13:52 Wenwu Ma
2021-09-10 2:12 ` Jiang, Cheng1
2021-09-10 3:17 ` Xia, Chenbo
2021-09-13 15:49 ` Maxime Coquelin [this message]
2021-10-15 7:30 ` Maxime Coquelin
2021-10-15 8:52 ` David Marchand
2021-10-15 16:48 ` [dpdk-dev] [PATCH v3] " Wenwu Ma
2021-10-21 11:29 ` Maxime Coquelin
2021-10-21 12:34 ` Maxime Coquelin
2021-10-21 17:10 ` Ferruh Yigit
2021-11-03 14:17 ` [dpdk-dev] [PATCH v4] examples/vhost: fix failure to launch dpdk-vhost Wenwu Ma
2021-11-03 4:58 ` Xia, Chenbo
2021-11-03 8:07 ` Maxime Coquelin
2021-10-15 20:01 ` [dpdk-dev] [PATCH v2] examples/vhost: change the default value of NIC's max queues Wenwu Ma
2021-10-15 8:21 ` Xia, Chenbo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6bd637a9-6b7a-512c-43c4-6c50a5a9631f@redhat.com \
--to=maxime.coquelin@redhat.com \
--cc=chenbo.xia@intel.com \
--cc=cheng1.jiang@intel.com \
--cc=dev@dpdk.org \
--cc=jiayu.hu@intel.com \
--cc=wenwux.ma@intel.com \
--cc=yinan.wang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).