X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fcommon%2Fmlx5%2Flinux%2Fmeson.build;h=7909f23e21dc2a45ed2e02088d1ac01e42c0aea6;hb=e6a6829f9996b1cf066669ad1721b3d04552c048;hp=3ca24988fcdeea5fbb68e477e0b20155499f4aaf;hpb=4ad4b20a79052d9c8062b64eaf0170c16a333ff8;p=dpdk.git diff --git a/drivers/common/mlx5/linux/meson.build b/drivers/common/mlx5/linux/meson.build index 3ca24988fc..7909f23e21 100644 --- a/drivers/common/mlx5/linux/meson.build +++ b/drivers/common/mlx5/linux/meson.build @@ -46,14 +46,15 @@ if static_ibverbs endif sources += files('mlx5_nl.c') +sources += files('mlx5_common_auxiliary.c') sources += files('mlx5_common_os.c') sources += files('mlx5_common_verbs.c') if not dlopen_ibverbs sources += files('mlx5_glue.c') endif -# To maintain the compatibility with the make build system -# mlx5_autoconf.h file is still generated. +deps += ['bus_auxiliary'] + # input array for meson member search: # [ "MACRO to define if found", "header for the search", # "symbol to search", "struct member to search" ] @@ -93,6 +94,10 @@ has_sym_args = [ 'IBV_WQ_FLAG_RX_END_PADDING' ], [ 'HAVE_MLX5DV_DR_DEVX_PORT', 'infiniband/mlx5dv.h', 'mlx5dv_query_devx_port' ], + [ 'HAVE_MLX5DV_DR_DEVX_PORT_V35', 'infiniband/mlx5dv.h', + 'mlx5dv_query_port' ], + [ 'HAVE_MLX5DV_DR_CREATE_DEST_IB_PORT', 'infiniband/mlx5dv.h', + 'mlx5dv_dr_action_create_dest_ib_port' ], [ 'HAVE_IBV_DEVX_OBJ', 'infiniband/mlx5dv.h', 'mlx5dv_devx_obj_create' ], [ 'HAVE_IBV_FLOW_DEVX_COUNTERS', 'infiniband/mlx5dv.h', @@ -170,6 +175,8 @@ has_sym_args = [ 'RDMA_NLDEV_ATTR_DEV_NAME' ], [ 'HAVE_RDMA_NLDEV_ATTR_PORT_INDEX', 'rdma/rdma_netlink.h', 'RDMA_NLDEV_ATTR_PORT_INDEX' ], + [ 'HAVE_RDMA_NLDEV_ATTR_PORT_STATE', 'rdma/rdma_netlink.h', + 'RDMA_NLDEV_ATTR_PORT_STATE' ], [ 'HAVE_RDMA_NLDEV_ATTR_NDEV_INDEX', 'rdma/rdma_netlink.h', 'RDMA_NLDEV_ATTR_NDEV_INDEX' ], [ 'HAVE_MLX5_DR_FLOW_DUMP', 'infiniband/mlx5dv.h', @@ -187,6 +194,14 @@ has_sym_args = [ 'INFINIBAND_VERBS_H' ], [ 'HAVE_MLX5_UMR_IMKEY', 'infiniband/mlx5dv.h', 'MLX5_WQE_UMR_CTRL_FLAG_INLINE' ], + [ 'HAVE_MLX5_DR_FLOW_DUMP_RULE', 'infiniband/mlx5dv.h', + 'mlx5dv_dump_dr_rule' ], + [ 'HAVE_MLX5_DR_ACTION_ASO_CT', 'infiniband/mlx5dv.h', + 'MLX5DV_DR_ACTION_FLAGS_ASO_CT_DIRECTION_INITIATOR' ], + [ 'HAVE_MLX5_DR_ALLOW_DUPLICATE', 'infiniband/mlx5dv.h', + 'mlx5dv_dr_domain_allow_duplicate_rules' ], + [ 'HAVE_MLX5_IBV_REG_MR_IOVA', 'infiniband/verbs.h', + 'ibv_reg_mr_iova' ], ] config = configuration_data() foreach arg:has_sym_args @@ -206,7 +221,7 @@ if dlopen_ibverbs dlopen_sources = files('mlx5_glue.c') dlopen_install_dir = [ eal_pmd_path + '-glue' ] dlopen_includes = [global_inc] - dlopen_includes += include_directories('../../../../lib/librte_eal/include/generic') + dlopen_includes += include_directories('../../../../lib/eal/include/generic') shared_lib = shared_library( dlopen_lib_name, dlopen_sources,