diff options
Diffstat (limited to 'src/dpdk/drivers/net/mlx5')
-rw-r--r-- | src/dpdk/drivers/net/mlx5/mlx5.c | 1 | ||||
-rw-r--r-- | src/dpdk/drivers/net/mlx5/mlx5_autoconf.h | 8 |
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 */ + |