X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fmlx4%2Fmlx4.h;h=982357716946390cb4d5ed498f199b4ddba6eb57;hb=8ac3591694e105d47968f5f29b8c19511f21e41c;hp=cd0d637ac2bfcd3f98e149afa07a6ffe3ae9c8f9;hpb=edf73dd330729d9892add288da5e73c171553dd8;p=dpdk.git diff --git a/drivers/net/mlx4/mlx4.h b/drivers/net/mlx4/mlx4.h index cd0d637ac2..9823577169 100644 --- a/drivers/net/mlx4/mlx4.h +++ b/drivers/net/mlx4/mlx4.h @@ -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. */