[dpdk-dev] [PATCH v2] app/testpmd: fix to add offloads confguration for queue

Iremonger, Bernard bernard.iremonger at intel.com
Thu Jul 4 10:53:06 CEST 2019


> -----Original Message-----
> From: Zhao1, Wei
> Sent: Thursday, July 4, 2019 6:36 AM
> To: dev at dpdk.org
> Cc: stable at dpdk.org; Iremonger, Bernard <bernard.iremonger at intel.com>;
> Zhao1, Wei <wei.zhao1 at intel.com>
> Subject: [PATCH v2] app/testpmd: fix to add offloads confguration for queue
> 
> When adding offloads from commandline, not only port related configuration
> bits should be set, but also queue related offloads configuration bits, or it will
> cause error.
> For example, test in this process for ixgbe:
> (1)./x86_64-native-linuxapp-gcc/app/testpmd -c 0x6 -n 4
> -- -i --portmask=0x1 --port-topology=loop --disable-crc-strip (2)port stop all
> (3)port config all crc-strip on (4)port start all we will see "Fail to configure port
> 0 rx queues" of warning info.
> 
> Fixes: 0074d02fca21 ("app/testpmd: convert to new Rx offloads API")
> Cc: stable at dpdk.org
> 
> Signed-off-by: wei zhao <wei.zhao1 at intel.com>

Acked-by: Bernard Iremonger <bernard.iremonger at intel.com>


More information about the dev mailing list