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:1d5a3d68c0
("ethdev: add capability to keep flow rules on restart") Fixes:2c9cd45de7
("ethdev: add capability to keep shared objects on restart") Reported-by: Ali Alnubani <alialnu@nvidia.com> Signed-off-by: Dmitry Kozlyuk <dkozlyuk@nvidia.com> Acked-by: Xueming Li <xuemingl@nvidia.com> Tested-by: Ali Alnubani <alialnu@nvidia.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
parent
d4fb4eb087
commit
64be0e779f
@ -171,6 +171,8 @@ static const struct {
|
||||
{RTE_ETH_DEV_CAPA_RUNTIME_RX_QUEUE_SETUP, "RUNTIME_RX_QUEUE_SETUP"},
|
||||
{RTE_ETH_DEV_CAPA_RUNTIME_TX_QUEUE_SETUP, "RUNTIME_TX_QUEUE_SETUP"},
|
||||
{RTE_ETH_DEV_CAPA_RXQ_SHARE, "RXQ_SHARE"},
|
||||
{RTE_ETH_DEV_CAPA_FLOW_RULE_KEEP, "FLOW_RULE_KEEP"},
|
||||
{RTE_ETH_DEV_CAPA_FLOW_SHARED_OBJECT_KEEP, "FLOW_SHARED_OBJECT_KEEP"},
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user