]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx4/mlx4.h
remove useless include of EAL memory config header
[dpdk.git] / drivers / net / mlx4 / mlx4.h
index cd0d637ac2bfcd3f98e149afa07a6ffe3ae9c8f9..982357716946390cb4d5ed498f199b4ddba6eb57 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. */