[RFC,4/7] ethdev: capability for new representor syntax
Checks
Commit Message
This patch introduces new eth device capability to support SubFunction
representor device.
Signed-off-by: Xueming Li <xuemingl@nvidia.com>
---
lib/librte_ethdev/rte_ethdev.h | 2 ++
1 file changed, 2 insertions(+)
Comments
On 12/18/20 5:55 PM, Xueming Li wrote:
> This patch introduces new eth device capability to support SubFunction
> representor device.
>
> Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Motivation why the flag is required is missing.
@@ -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
/**@}*/
/*