remove useless include of EAL memory config header
[dpdk.git] / drivers / net / mlx4 / mlx4.h
index cd0d637..9823577 100644 (file)
@@ -101,7 +101,7 @@ struct txq;
 struct rte_flow;
 
 /**
- * Type of objet being allocated.
+ * Type of object being allocated.
  */
 enum mlx4_verbs_alloc_type {
        MLX4_VERBS_ALLOC_TYPE_NONE,
@@ -159,6 +159,7 @@ struct mlx4_priv {
        struct ibv_device_attr device_attr; /**< Device properties. */
        struct ibv_pd *pd; /**< Protection Domain. */
        /* Device properties. */
+       unsigned int if_index;  /**< Associated network device index */
        uint16_t mtu; /**< Configured MTU. */
        uint8_t port; /**< Physical port number. */
        uint32_t started:1; /**< Device started, flows enabled. */