> -----Original Message-----
> From: Richardson, Bruce <[email protected]>
> Sent: 2022年2月17日 17:06
> To: Ma, WenwuX <[email protected]>
> Cc: Burakov, Anatoly <[email protected]>; [email protected]; Hu,
> Jiayu <[email protected]>; Wang, Yinan <[email protected]>; He,
> Xingguang <[email protected]>
> Subject: Re: [PATCH] examples/multi_process: add options to control port
> configuration
>
> On Thu, Feb 17, 2022 at 03:17:55PM +0000, Wenwu Ma wrote:
> > The default values of rx mq_mode and rx offloads for port will cause
> > symmetric_mp startup failure if the port do not support rss or csum.
> > Therefore, we added two new options --rx-mq-mode and --rx-offloads,
> > through which the user can set the values appropriately according to
> > the situation to make app startup normally.
> >
> > Signed-off-by: Wenwu Ma <[email protected]> ---
>
> The idea seems reasonable enough, but I think the implementation requiring
> the user to pass in special "magic numbers" for the offload values is not a
> good idea. Perhaps add in a separate flag for "no-csum" to disable that.
>
> For the no-rss case, can you explain how you would see this app being used
> in the absense of RSS support to distribute traffic among the separate
> processes?
When app run in qemu vm and the backend is dpdk vhost, it will report error
below:
"virtio_dev_configure(): RSS support requested but not supported by the device"