1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright 2015 6WIND S.A.
3 * Copyright 2020 Mellanox Technologies, Ltd
6 #ifndef RTE_PMD_MLX5_OS_H_
7 #define RTE_PMD_MLX5_OS_H_
11 /* verb enumerations translations to local enums. */
13 MLX5_FS_NAME_MAX = IBV_SYSFS_NAME_MAX + 1,
14 MLX5_FS_PATH_MAX = IBV_SYSFS_PATH_MAX + 1
17 /* Maximal data of sendmsg message(in bytes). */
18 #define MLX5_SENDMSG_MAX 64
20 #define MLX5_NAMESIZE IF_NAMESIZE
22 #define PCI_DRV_FLAGS (RTE_PCI_DRV_INTR_LSC | \
23 RTE_PCI_DRV_INTR_RMV | \
24 RTE_PCI_DRV_PROBE_AGAIN)
25 #endif /* RTE_PMD_MLX5_OS_H_ */