[PATCH] examples/multi_process: add options to control port configuration
Bruce Richardson
bruce.richardson at intel.com
Thu Feb 17 10:06:14 CET 2022
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 <wenwux.ma at intel.com> ---
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?
More information about the dev
mailing list