()
| 227 | |
| 228 | |
| 229 | def check_mlx(): |
| 230 | if check_header('infiniband/verbs_exp.h', 'gcc'): |
| 231 | extra_libs.add('ibverbs') |
| 232 | # extra_libs.add('mlx5') |
| 233 | else: |
| 234 | print(' - "Mellanox OFED" is not available. ' |
| 235 | 'Disabling MLX4 and MLX5 PMDs...') |
| 236 | if check_header('infiniband/verbs.h', 'gcc'): |
| 237 | print(' NOTE: "libibverbs-dev" does exist, but it does not ' |
| 238 | 'work with MLX PMDs. Instead download OFED from ' |
| 239 | 'http://www.melloanox.com') |
| 240 | set_config(DPDK_FINAL_CONFIG, 'CONFIG_RTE_LIBRTE_MLX4_PMD', 'n') |
| 241 | set_config(DPDK_FINAL_CONFIG, 'CONFIG_RTE_LIBRTE_MLX5_PMD', 'n') |
| 242 | |
| 243 | |
| 244 | def generate_dpdk_extra_mk(): |
no test coverage detected