net/cnxk: support IPsec anti replay in cn9k
[dpdk.git] / drivers / net / mlx5 / linux / mlx5_os.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright 2015 6WIND S.A.
3  * Copyright 2020 Mellanox Technologies, Ltd
4  */
5
6 #ifndef RTE_PMD_MLX5_OS_H_
7 #define RTE_PMD_MLX5_OS_H_
8
9 #include <net/if.h>
10
11 /* verb enumerations translations to local enums. */
12 enum {
13         MLX5_FS_NAME_MAX = IBV_SYSFS_NAME_MAX + 1,
14         MLX5_FS_PATH_MAX = IBV_SYSFS_PATH_MAX + 1
15 };
16
17 /* Maximal data of sendmsg message(in bytes). */
18 #define MLX5_SENDMSG_MAX 64
19
20 #define MLX5_NAMESIZE IF_NAMESIZE
21
22 int mlx5_auxiliary_get_ifindex(const char *sf_name);
23
24 #endif /* RTE_PMD_MLX5_OS_H_ */