summaryrefslogtreecommitdiffstats
path: root/src/dpdk/drivers/net
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-11-08 13:10:15 +0200
committerHanoh Haim <hhaim@cisco.com>2016-11-11 12:22:50 +0200
commit7d8d95fbce7b101c51bae6f468b7942dcdaf1032 (patch)
treea359b3f5ea392df30f4c376a3d4f72de48e49df9 /src/dpdk/drivers/net
parent98dc1571776f4a8538e6ac72ce4e3fd4a2295026 (diff)
mlx5 support build WIP
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
Diffstat (limited to 'src/dpdk/drivers/net')
-rw-r--r--src/dpdk/drivers/net/mlx5/mlx5.c1
-rw-r--r--src/dpdk/drivers/net/mlx5/mlx5_autoconf.h8
2 files changed, 9 insertions, 0 deletions
diff --git a/src/dpdk/drivers/net/mlx5/mlx5.c b/src/dpdk/drivers/net/mlx5/mlx5.c
index d96a9aff..a28d42c2 100644
--- a/src/dpdk/drivers/net/mlx5/mlx5.c
+++ b/src/dpdk/drivers/net/mlx5/mlx5.c
@@ -389,6 +389,7 @@ mlx5_pci_devinit(struct rte_pci_driver *pci_drv, struct rte_pci_device *pci_dev)
return -errno;
}
assert(i >= 0);
+ printf(" list : %d \n",i);
/*
* For each listed device, check related sysfs entry against
* the provided PCI ID.
diff --git a/src/dpdk/drivers/net/mlx5/mlx5_autoconf.h b/src/dpdk/drivers/net/mlx5/mlx5_autoconf.h
new file mode 100644
index 00000000..9fdfff84
--- /dev/null
+++ b/src/dpdk/drivers/net/mlx5/mlx5_autoconf.h
@@ -0,0 +1,8 @@
+#ifndef HAVE_VERBS_IBV_EXP_CQ_COMPRESSED_CQE
+#define HAVE_VERBS_IBV_EXP_CQ_COMPRESSED_CQE 1
+#endif /* HAVE_VERBS_IBV_EXP_CQ_COMPRESSED_CQE */
+
+#ifndef HAVE_VERBS_MLX5_ETH_VLAN_INLINE_HEADER_SIZE
+#define HAVE_VERBS_MLX5_ETH_VLAN_INLINE_HEADER_SIZE 1
+#endif /* HAVE_VERBS_MLX5_ETH_VLAN_INLINE_HEADER_SIZE */
+