Bug 1957818

Summary: [Azure][RHEL-9]Add a driver for Microsoft Azure Network Adapter (MANA)
Product: Red Hat Enterprise Linux 9 Reporter: Joseph Salisbury <josalisb>
Component: kernelAssignee: Vitaly Kuznetsov <vkuznets>
kernel sub component: Hyper-V QA Contact: Huijuan Zhao <huzhao>
Status: CLOSED CURRENTRELEASE Docs Contact: Jiri Herrmann <jherrman>
Severity: unspecified    
Priority: unspecified CC: decui, eterrell, frival, hhei, huzhao, jherrman, jopoulso, kkashanjat, knoel, ksatarin, litian, radeltch, raginjup, ribarry, vkuznets, xuli, yacao, yuxisun
Version: 9.0Keywords: FutureFeature, Triaged
Target Milestone: betaFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-5.13.0-0.rc4.33.el9 Doc Type: Enhancement
Doc Text:
.RHEL on Azure now supports MANA RHEL 9 virtual machines running on Microsoft Azure can now use the Microsoft Azure Network Adapter (MANA).
Story Points: ---
Clone Of:
: 1957820 (view as bug list) Environment:
Last Closed: 2021-12-07 21:55:02 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joseph Salisbury 2021-05-06 14:26:55 UTC
This patch set consists of 5 patches that are now in mainline.

The patches add the VF driver for Microsoft Azure Network Adapter (MANA), and also changes the hv_netvsc driver's netvsc/VF binding logic to check both the MAC address and the serial number (this is required by the MANA VF driver).

Microsoft would like to request the following 5 patches in all supported releases:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=64ff412ad41fe3a5bf759ff4844dc1382176485c

https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=ca9c54d2d6a5ab2430c4eda364c77125d62e5e0f

https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=55cdc26a91ac270887583945aef2bd460a2805f7

https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=45b102dd81491e30ac7596b5515856141f99319f

https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=d90a94680bc0a8069d93282bc5f2966d00b9c4a4

Comment 5 Joshua R. Poulson 2021-06-08 14:25:15 UTC
Due to the nature of the hardware Microsoft will have to help with the testing of this device, first manually by submission of the builds, but getting access to this hardware via the Penguinator is a goal in the upcoming months. Microsoft will facilitate testing but it will not be possible to use this hardware outside of our environment.

Comment 6 Vitaly Kuznetsov 2021-06-09 09:40:43 UTC
AFAICT kernel-5.13.0-0.rc4.33.el9 has the driver:

 rpm -qpl kernel-core-5.13.0-0.rc4.33.el9.x86_64.rpm | grep mana
/lib/modules/5.13.0-0.rc4.33.el9.x86_64/kernel/drivers/net/ethernet/microsoft/mana
/lib/modules/5.13.0-0.rc4.33.el9.x86_64/kernel/drivers/net/ethernet/microsoft/mana/mana.ko.xz

Moving to MODIFIED.

Comment 7 Huijuan Zhao 2021-06-10 04:07:52 UTC
(In reply to Vitaly Kuznetsov from comment #6)
> AFAICT kernel-5.13.0-0.rc4.33.el9 has the driver:
> 
>  rpm -qpl kernel-core-5.13.0-0.rc4.33.el9.x86_64.rpm | grep mana
> /lib/modules/5.13.0-0.rc4.33.el9.x86_64/kernel/drivers/net/ethernet/
> microsoft/mana
> /lib/modules/5.13.0-0.rc4.33.el9.x86_64/kernel/drivers/net/ethernet/
> microsoft/mana/mana.ko.xz
> 
> Moving to MODIFIED.

Thanks Vitaly.

Automation regression test with kernel-5.13.0-0.rc4.33.el9 on Azure is PASS. 
Setting Verified:Tested.

Comment 12 Huijuan Zhao 2021-06-23 02:10:22 UTC
Hi Dexuan,

As the MANA instance is not available for us currently, the official kernel-5.13.0-0.rc4.33.el9 is already in the partner FTP, would it be possible to give it a try from your side?

Thanks!
Huijuan

Comment 13 Dexuan Cui 2021-06-24 01:26:33 UTC
I installed a RHEL 9 (Beta) VM from the partner FTP link, and the kernel version is:

[root@localhost ~]# uname -a
Linux localhost 5.13.0-0.rc4.33.el9.x86_64 #1 SMP Wed Jun 2 19:15:08 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux

[root@localhost ~]# modinfo mana | grep filename
filename:       /lib/modules/5.13.0-0.rc4.33.el9.x86_64/kernel/drivers/net/ethernet/microsoft/mana/mana.ko.xz


I did the basic tests mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=1957820#c11, and everything worked as expected.

Comment 14 Huijuan Zhao 2021-06-24 01:49:01 UTC
Dexuan, thank you so much for the quickly response and tests.

Move to VERIFIED according to comment 7 and comment 13.