[dpdk-dev] [PATCH] ethdev: fix device capability to string translation

Ali Alnubani alialnu at nvidia.com
Tue Nov 9 12:56:25 CET 2021


> -----Original Message-----
> From: Dmitry Kozlyuk <dkozlyuk at nvidia.com>
> Sent: Tuesday, November 9, 2021 11:01 AM
> To: dev at dpdk.org
> Cc: Ali Alnubani <alialnu at nvidia.com>; Xueming(Steven) Li
> <xuemingl at nvidia.com>; NBU-Contact-Thomas Monjalon
> <thomas at monjalon.net>; Ferruh Yigit <ferruh.yigit at intel.com>; Andrew
> Rybchenko <andrew.rybchenko at oktetlabs.ru>
> Subject: [PATCH] ethdev: fix device capability to string translation
> 
> Add support for RTE_ETH_DEV_CAPA_FLOW_{RULE,SHARED_OBJECT}_KEEP
> to rte_eth_dev_capability_name(), missed when adding the capabilities.
> 
> Fixes: 1d5a3d68c0f9 ("ethdev: add capability to keep flow rules on restart")
> Fixes: 2c9cd45de7e6 ("ethdev: add capability to keep shared objects on
> restart")
> 
> Reported-by: Ali Alnubani <alialnu at nvidia.com>
> Signed-off-by: Dmitry Kozlyuk <dkozlyuk at nvidia.com>
> Acked-by: Xueming Li <xuemingl at nvidia.com>
> ---
> P.S. I don't know a good way to catch such errors in the future
>      except by a unit test, but adding a new suite for ethdev
>      seems worthy of its own patch (if needed at all).
> 

Tested-by: Ali Alnubani <alialnu at nvidia.com>

Thanks,
Ali


More information about the dev mailing list