Merge ~paelzer/ubuntu/+source/rdma-core:bug-1838939-azure-mlx4-device into ubuntu/+source/rdma-core:ubuntu/bionic-devel

Proposed by Christian Ehrhardt  on 2019-08-08
Status: Merged
Merged at revision: c45be57fe105bffd5cb0aee80a53341e4ecf8390
Proposed branch: ~paelzer/ubuntu/+source/rdma-core:bug-1838939-azure-mlx4-device
Merge into: ubuntu/+source/rdma-core:ubuntu/bionic-devel
Diff against target: 65 lines (+45/-0)
3 files modified
debian/changelog (+7/-0)
debian/patches/series (+1/-0)
debian/patches/ubuntu/lp-1838939-Add-Microsoft-Azure-RDMA-device-to-MLX4-HCA-table.patch (+37/-0)
Reviewer Review Type Date Requested Status
Andreas Hasenack 2019-08-08 Approve on 2019-08-09
Canonical Server Team 2019-08-08 Pending
Ubuntu Server Dev import team 2019-08-08 Pending
Review via email: mp+371072@code.launchpad.net
To post a comment you must log in.
Christian Ehrhardt  (paelzer) wrote :

PPA is available at [1], but we still wait for test steps and/or an actual test by Microsoft on the bug.

This should be a straight forward fix, but you never know - so a review would be great.

[1]: https://launchpad.net/~paelzer/+archive/ubuntu/bug-1838939-rdma-azure-mlx4

Andreas Hasenack (ahasenack) wrote :

- patch matches upstream commit
- d/changelog and version ok
- patched code present in eoan, disco. Not cosmic (EOL) and not bionic (this MP). Package doesn't exist before.

+1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/changelog b/debian/changelog
index fae20c4..03e6dd2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
1rdma-core (17.1-1ubuntu0.2) bionic; urgency=medium
2
3 * d/p/u/lp-1838939-Add-Microsoft-Azure-RDMA-device-to-MLX4-HCA-table.patch:
4 Detect Azure RDMA devices as MLX4 (LP: #1838939)
5
6 -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Mon, 05 Aug 2019 08:57:39 +0200
7
1rdma-core (17.1-1ubuntu0.1) bionic; urgency=medium8rdma-core (17.1-1ubuntu0.1) bionic; urgency=medium
29
3 * Drop to avoid issues with the sysV to systemd wrapper starting the service10 * Drop to avoid issues with the sysV to systemd wrapper starting the service
diff --git a/debian/patches/series b/debian/patches/series
4new file mode 10064411new file mode 100644
index 0000000..d8152a2
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
1ubuntu/lp-1838939-Add-Microsoft-Azure-RDMA-device-to-MLX4-HCA-table.patch
diff --git a/debian/patches/ubuntu/lp-1838939-Add-Microsoft-Azure-RDMA-device-to-MLX4-HCA-table.patch b/debian/patches/ubuntu/lp-1838939-Add-Microsoft-Azure-RDMA-device-to-MLX4-HCA-table.patch
0new file mode 1006442new file mode 100644
index 0000000..9852f13
--- /dev/null
+++ b/debian/patches/ubuntu/lp-1838939-Add-Microsoft-Azure-RDMA-device-to-MLX4-HCA-table.patch
@@ -0,0 +1,37 @@
1From b98397f3068a42e7d8e67d4ef2a90393b4c4f08a Mon Sep 17 00:00:00 2001
2From: Long Li <longli@microsoft.com>
3Date: Wed, 15 Aug 2018 19:28:20 +0000
4Subject: [PATCH] Add Microsoft Azure RDMA device to MLX4 HCA table
5
6Microsoft Azure supports Mellanox MLX4 RDMA devices in HPC VM SKUs. The device
7is virtualized and exposed over VMBUS, and registered as a MLX4 Infininband
8hardware in RDMA layer.
9
10This devcie is on VMBUS, not on PCI tree. Add it to the HCA table so it can
11be properly discovered by user-mode driver.
12
13Signed-off-by: Long Li <longli@microsoft.com>
14
15Origin: upstream, https://github.com/linux-rdma/rdma-core/commit/b98397f3068a42e7d8e67d4ef2a90393b4c4f08a
16Bug-Ubuntu: https://bugs.launchpad.net/bugs/1838939
17Last-Update: 2019-08-05
18
19---
20 providers/mlx4/mlx4.c | 1 +
21 1 file changed, 1 insertion(+)
22
23diff --git a/providers/mlx4/mlx4.c b/providers/mlx4/mlx4.c
24index 1e418dc1..a0d35052 100644
25--- a/providers/mlx4/mlx4.c
26+++ b/providers/mlx4/mlx4.c
27@@ -76,6 +76,7 @@ static const struct verbs_match_ent hca_table[] = {
28 HCA(MELLANOX, 0x100e), /* MT27551 Family */
29 HCA(MELLANOX, 0x100f), /* MT27560 Family */
30 HCA(MELLANOX, 0x1010), /* MT27561 Family */
31+ VERBS_MODALIAS_MATCH("vmbus:3daf2e8ca732094bab99bd1f1c86b501", NULL), /* Microsoft Azure Network Direct */
32 {}
33 };
34
35--
362.22.0
37

Subscribers

People subscribed via source and target branches