[OpenPower-Firmware] [PATCH 1/2] Add packages to support Infiniband

Klaus Heinrich Kiwi klaus at linux.vnet.ibm.com
Thu May 14 10:12:00 AEST 2020


Daniel, apparently I missed these (and possibly other) threads due to 
some e-mail issues on my end - apologies for not answering earlier.

On 4/16/2020 5:42 PM, Daniel M. Weeks wrote:
> This adds basic userspace components to support Infiniband (newer
> Mellanox adapters only).
> +################################################################################
> +#
> +# libibverbs
> +#
> +################################################################################
> +
> +LIBIBVERBS_VERSION = 41mlnx1
> +LIBIBVERBS_SOURCE = libibverbs-$(LIBIBVERBS_VERSION).tar.gz
> +LIBIBVERBS_SITE ?= file://$(HOME)

Are those two packages proprietary? Otherwise, why not specify where 
they're coming from?

Unfortunately, I don't think it's adequate for us to carry any packages 
that are not available as open-source..

> +LIBIBVERBS_DEPENDENCIES = libnl
> +#PETITBOOT_LICENSE = GPLv2
> +#PETITBOOT_LICENSE_FILES = COPYING
> +
Copy & paste error? Please remove things that are not necessary for your 
submission.

If you're still in draft mode and just want comments (and not aiming for 
merges just yet), please add [RFC PATCH ...] to the subject line.

> +LIBIBVERBS_INSTALL_STAGING = YES
> +#LIBIBVERBS_INSTALL_TARGET = YES
> +
> +$(eval $(autotools-package))
> diff --git a/openpower/custom/package/libmlx5/Config.in b/openpower/custom/package/libmlx5/Config.in
> new file mode 100644
> index 00000000..388991db
> --- /dev/null
> +++ b/openpower/custom/package/libmlx5/Config.in
> @@ -0,0 +1,5 @@
> +config BR2_PACKAGE_LIBMLX5
> +	bool "libmlx5"
> +	select BR2_PACKAGE_LIBIBVERBS
> +	help
> +	  Userspace support for mlx5
> diff --git a/openpower/custom/package/libmlx5/libmlx5.mk b/openpower/custom/package/libmlx5/libmlx5.mk
> new file mode 100644
> index 00000000..debdbf7f
> --- /dev/null
> +++ b/openpower/custom/package/libmlx5/libmlx5.mk
> @@ -0,0 +1,19 @@
> +################################################################################
> +#
> +# libmlx5
> +#
> +################################################################################
> +
> +LIBMLX5_VERSION = 41mlnx1
> +LIBMLX5_SOURCE = libmlx5-$(LIBMLX5_VERSION).tar.gz
> +LIBMLX5_SITE ?= file://$(HOME)
> +LIBMLX5_DEPENDENCIES = libibverbs
> +#PETITBOOT_LICENSE = GPLv2
> +#PETITBOOT_LICENSE_FILES = COPYING
> +
> +LIBMLX5_INSTALL_TARGET = YES
> +
> +LIBMLX5_AUTORECONF = YES
> +LIBMLX5_AUTORECONF_OPTS = -if


Thanks

-- 
Klaus Heinrich Kiwi <klaus at linux.vnet.ibm.com>


More information about the OpenPower-Firmware mailing list