doc: fix doxygen syntax of some comments
[dpdk.git] / lib / librte_ether / rte_eth_ctrl.h
index ae73c36..56dd7ae 100644 (file)
@@ -291,12 +291,32 @@ struct rte_eth_tunnel_filter_conf {
 
        uint16_t filter_type;   /**< Filter type. */
        enum rte_eth_tunnel_type tunnel_type; /**< Tunnel Type. */
-       uint32_t tenant_id;     /** < Tenant number. */
-       uint16_t queue_id;      /** < queue number. */
+       uint32_t tenant_id;     /**< Tenant number. */
+       uint16_t queue_id;      /**< Queue number. */
 };
 
-#define RTE_ETH_FDIR_MAX_FLEXLEN 16  /** < Max length of flexbytes. */
-#define RTE_ETH_INSET_SIZE_MAX   128 /** < Max length of input set. */
+/**
+ * Global eth device configuration type.
+ */
+enum rte_eth_global_cfg_type {
+       RTE_ETH_GLOBAL_CFG_TYPE_UNKNOWN = 0,
+       RTE_ETH_GLOBAL_CFG_TYPE_GRE_KEY_LEN,
+       RTE_ETH_GLOBAL_CFG_TYPE_MAX,
+};
+
+/**
+ * Global eth device configuration.
+ */
+struct rte_eth_global_cfg {
+       enum rte_eth_global_cfg_type cfg_type; /**< Global config type. */
+       union {
+               uint8_t gre_key_len; /**< Valid GRE key length in byte. */
+               uint64_t reserved; /**< Reserve space for future use. */
+       } cfg;
+};
+
+#define RTE_ETH_FDIR_MAX_FLEXLEN 16  /**< Max length of flexbytes. */
+#define RTE_ETH_INSET_SIZE_MAX   128 /**< Max length of input set. */
 
 /**
  * Input set fields for Flow Director and Hash filters