net/sfc: add port representors infrastructure
[dpdk.git] / drivers / net / sfc / sfc_switch.h
index 96ece95..a1a2ab9 100644 (file)
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: BSD-3-Clause
  *
- * Copyright(c) 2019-2020 Xilinx, Inc.
+ * Copyright(c) 2019-2021 Xilinx, Inc.
  * Copyright(c) 2019 Solarflare Communications Inc.
  *
  * This software was jointly developed between OKTET Labs (under contract
@@ -27,6 +27,11 @@ enum sfc_mae_switch_port_type {
         * and thus refers to its underlying PCIe function
         */
        SFC_MAE_SWITCH_PORT_INDEPENDENT = 0,
+       /**
+        * The switch port is operated by a representor RTE ethdev
+        * and thus refers to the represented PCIe function
+        */
+       SFC_MAE_SWITCH_PORT_REPRESENTOR,
 };
 
 struct sfc_mae_switch_port_request {