Hello community, here is the log from the commit of package perftest for openSUSE:Factory checked in at 2019-03-22 15:11:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perftest (Old) and /work/SRC/openSUSE:Factory/.perftest.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perftest" Fri Mar 22 15:11:05 2019 rev:6 rq:687460 version:4.4 Changes: -------- --- /work/SRC/openSUSE:Factory/perftest/perftest.changes 2018-11-13 17:31:17.625144471 +0100 +++ /work/SRC/openSUSE:Factory/.perftest.new.25356/perftest.changes 2019-03-22 15:11:21.281299391 +0100 @@ -1,0 +2,7 @@ +Thu Mar 21 15:58:52 UTC 2019 - Nicolas Morey-Chaisemartin <[email protected]> + +- Backport patches for Intel and Broadcom HW support + - perftest-add-Broadcom-s-netxtreme-pci-ids.patch (bsc#1125651) + - Add-Intel-devices-to-the-perftest-device-list.patch + +------------------------------------------------------------------- New: ---- Add-Intel-devices-to-the-perftest-device-list.patch perftest-add-Broadcom-s-netxtreme-pci-ids.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perftest.spec ++++++ --- /var/tmp/diff_new_pack.8b9l4V/_old 2019-03-22 15:11:22.297299261 +0100 +++ /var/tmp/diff_new_pack.8b9l4V/_new 2019-03-22 15:11:22.301299260 +0100 @@ -1,7 +1,7 @@ # # spec file for package perftest # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -25,6 +25,9 @@ Version: 4.4 Release: 0 Source0: %{name}-%{version}%{extra_version}.tar.gz +Patch1: Add-Intel-devices-to-the-perftest-device-list.patch +Patch2: perftest-add-Broadcom-s-netxtreme-pci-ids.patch + Url: https://github.com/linux-rdma/perftest BuildRoot: %{_tmppath}/%{name}-%{version}-build # For transition to rdma-core make sure the new packages are selected @@ -42,6 +45,8 @@ %prep %setup -q -n %{name}-%{version} +%patch1 +%patch2 %build ./autogen.sh ++++++ Add-Intel-devices-to-the-perftest-device-list.patch ++++++ commit 9cd24b04be34ee153bc1811bbba41b861b6c8c62 Author: Tatyana Nikolova <[email protected]> Date: Tue Apr 10 15:59:34 2018 -0500 Add Intel devices to the perftest device list Intel X722 isn't recognized by perftest and UNKNOWN devices aren't allowed to use the inline data option. There is no reason to disable inline data for Intel devices, because the inline support is decided later, based on the QP capabilities. Add Intel devices based on vendor id to the perftest list of known devices. Signed-off-by: Tatyana Nikolova <[email protected]> diff --git src/perftest_parameters.c src/perftest_parameters.c index 1536c03d937a..9b0ca46e0445 100755 --- src/perftest_parameters.c +++ src/perftest_parameters.c @@ -1495,6 +1495,8 @@ enum ctx_device ib_dev_name(struct ibv_context *context) /* Assuming it's Mellanox HCA or unknown. If you want Inline support in other vendor devices, please send patch to [email protected] */ + } else if (attr.vendor_id == 0x8086) { + dev_fname = INTEL_ALL; } else { switch (attr.vendor_part_id) { diff --git src/perftest_parameters.h src/perftest_parameters.h index d413273df37a..a8c46103ea7b 100755 --- src/perftest_parameters.h +++ src/perftest_parameters.h @@ -290,7 +290,8 @@ enum ctx_device { CONNECTX5 = 15, CONNECTX5EX = 16, CONNECTX6 = 17, - BLUEFIELD = 18 + BLUEFIELD = 18, + INTEL_ALL = 19 }; /* Units for rate limiter */ ++++++ perftest-add-Broadcom-s-netxtreme-pci-ids.patch ++++++ commit dbdcbe5b952d1ecf61c7ef788fd3878458edca17 Author: Devesh Sharma <[email protected]> Date: Sat Mar 9 07:38:07 2019 -0500 perftest: add Broadcom's netxtreme pci ids perftest needs to match the vendor id and device id to set the supported inline size for a given adapter. Making entries for all the broadcom boards to allow wqes with inline data. Signef-off-by: Devesh Sharma <[email protected]> diff --git src/perftest_parameters.c src/perftest_parameters.c index 9b0ca46e0445..69aa086b30dc 100755 --- src/perftest_parameters.c +++ src/perftest_parameters.c @@ -1539,6 +1539,29 @@ enum ctx_device ib_dev_name(struct ibv_context *context) case 32882 : dev_fname = QLOGIC_AH; break; case 32883 : dev_fname = QLOGIC_AH; break; case 32912 : dev_fname = QLOGIC_AH; break; + case 5638 : dev_fname = NETXTREME; break; + case 5652 : dev_fname = NETXTREME; break; + case 5824 : dev_fname = NETXTREME; break; + case 5825 : dev_fname = NETXTREME; break; + case 5827 : dev_fname = NETXTREME; break; + case 5839 : dev_fname = NETXTREME; break; + case 5846 : dev_fname = NETXTREME; break; + case 5847 : dev_fname = NETXTREME; break; + case 5848 : dev_fname = NETXTREME; break; + case 5849 : dev_fname = NETXTREME; break; + case 5855 : dev_fname = NETXTREME; break; + case 5858 : dev_fname = NETXTREME; break; + case 5859 : dev_fname = NETXTREME; break; + case 5861 : dev_fname = NETXTREME; break; + case 5867 : dev_fname = NETXTREME; break; + case 5869 : dev_fname = NETXTREME; break; + case 5871 : dev_fname = NETXTREME; break; + case 5872 : dev_fname = NETXTREME; break; + case 5873 : dev_fname = NETXTREME; break; + case 5968 : dev_fname = NETXTREME; break; + case 55296 : dev_fname = NETXTREME; break; + case 55298 : dev_fname = NETXTREME; break; + case 55300 : dev_fname = NETXTREME; break; default : dev_fname = UNKNOWN; } } @@ -1704,6 +1727,8 @@ static void ctx_set_max_inline(struct ibv_context *context,struct perftest_param ((user_param->connection_type == XRC) ? DEF_INLINE_SEND_XRC : DEF_INLINE_SEND_RC_UC) ; break; default : user_param->inline_size = 0; } + if (current_dev == NETXTREME) + user_param->inline_size = 96; } else { user_param->inline_size = 0; diff --git src/perftest_parameters.h src/perftest_parameters.h index a8c46103ea7b..f15fb7338af3 100755 --- src/perftest_parameters.h +++ src/perftest_parameters.h @@ -291,7 +291,8 @@ enum ctx_device { CONNECTX5EX = 16, CONNECTX6 = 17, BLUEFIELD = 18, - INTEL_ALL = 19 + INTEL_ALL = 19, + NETXTREME = 20 }; /* Units for rate limiter */
