[v3,7/9] ethdev: capability of new representor syntax
Checks
Commit Message
New representor devargs syntax can't be recognized correctly by previous
DPDK version. For application to adapt different DPDK version
automatically, this patch introduces new eth device capability of
supportting SubFunction representor device.
Signed-off-by: Xueming Li <xuemingl@nvidia.com>
---
lib/librte_ethdev/rte_ethdev.h | 2 ++
1 file changed, 2 insertions(+)
@@ -1432,6 +1432,8 @@ struct rte_eth_conf {
#define RTE_ETH_DEV_CAPA_RUNTIME_RX_QUEUE_SETUP 0x00000001
/** Device supports Tx queue setup after device started. */
#define RTE_ETH_DEV_CAPA_RUNTIME_TX_QUEUE_SETUP 0x00000002
+/**< Device supports SubFunction representor. */
+#define RTE_ETH_DEV_CAPA_REPRESENTOR_SF 0x00000004
/**@}*/
/*