[dpdk-dev] [PATCH v3 09/10] app/testpmd: enforce offloads caps

Lu, Wenzhuo wenzhuo.lu at intel.com
Tue Jan 9 08:48:16 CET 2018


Hi,

> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Shahaf Shuler
> Sent: Tuesday, December 26, 2017 5:44 PM
> To: Wu, Jingjing <jingjing.wu at intel.com>; Yigit, Ferruh
> <ferruh.yigit at intel.com>
> Cc: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH v3 09/10] app/testpmd: enforce offloads caps
> 
> In the current design it was possible for offload to be set even though the
> device is not supporting it. A warning message was printed instead.
> 
> This is a wrong behaviour, as application should set only the offloads
> reported by the capabilities of the device.
> 
> This patch adds verification for the offloads being set and make sure the
> offload configuration passed to the device always match its capabilities.
> 
> Signed-off-by: Shahaf Shuler <shahafs at mellanox.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu at intel.com>


More information about the dev mailing list