]> git.droids-corp.org - dpdk.git/commit
examples/multi_process: make RSS and checksum optional
authorWenwu Ma <wenwux.ma@intel.com>
Tue, 22 Feb 2022 10:51:27 +0000 (10:51 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 8 Mar 2022 13:20:11 +0000 (14:20 +0100)
commit1c839246f934340e8dfb8fd71bc436f81541a587
treeb92b56a5316cd2a17229a44cb6768d3d7f196ae6
parent750c177980cb7642f1893a9ae4076b631fa6a98f
examples/multi_process: make RSS and checksum optional

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. This patch makes the app to reconfigure
the NIC without them. Only quit the app if the second
reconfiguration fails.

Signed-off-by: Wenwu Ma <wenwux.ma@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Tested-by: Wei Ling <weix.ling@intel.com>
examples/multi_process/symmetric_mp/main.c