]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_ethdev/rte_ethdev_core.h
ethdev: support representor id as iterator filter
[dpdk.git] / lib / librte_ethdev / rte_ethdev_core.h
index 9a020ce3be79617f01aa78ad1e90d943d828aac5..8f03f83f62cfdf7e77ac690cf31cdba2a0d80319 100644 (file)
@@ -625,6 +625,10 @@ struct rte_eth_dev_data {
        struct rte_vlan_filter_conf vlan_filter_conf;
                        /**< VLAN filter configuration. */
        struct rte_eth_dev_owner owner; /**< The port owner. */
+       uint16_t representor_id;
+                       /**< Switch-specific identifier.
+                        *   Valid if RTE_ETH_DEV_REPRESENTOR in dev_flags.
+                        */
 } __rte_cache_aligned;
 
 /**