[dpdk-dev] [RFC 4/7] ethdev: capability for new representor syntax
Xueming Li
xuemingl at nvidia.com
Fri Dec 18 15:55:53 CET 2020
This patch introduces new eth device capability to support SubFunction
representor device.
Signed-off-by: Xueming Li <xuemingl at nvidia.com>
---
lib/librte_ethdev/rte_ethdev.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h
index f5f8919186..3c087bec67 100644
--- a/lib/librte_ethdev/rte_ethdev.h
+++ b/lib/librte_ethdev/rte_ethdev.h
@@ -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
/**@}*/
/*
--
2.25.1
More information about the dev
mailing list