Bug 1302511 - [Infiniband/mlx5] Build kernel with mlx5 InfiniBand and Ethernet drivers enabled
Summary: [Infiniband/mlx5] Build kernel with mlx5 InfiniBand and Ethernet drivers enabled
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Honggang LI
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-28 02:44 UTC by Honggang LI
Modified: 2016-01-28 18:04 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-28 18:04:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Honggang LI 2016-01-28 02:44:53 UTC
Description of problem:

The mlx5 InfiniBand driver had been available in upstream Linux git tree long time ago. We should enabled it for Fedora. And mlx5 Ethernet driver also available in latest upstream git repo. SO, it is needed too.


Version-Release number of selected component (if applicable):
[root@rdma-qe-06 ~]$ find /lib/modules/4.3.3-303.fc23.x86_64/ -iname '*mlx*'
/lib/modules/4.3.3-303.fc23.x86_64/kernel/drivers/infiniband/hw/mlx4
/lib/modules/4.3.3-303.fc23.x86_64/kernel/drivers/infiniband/hw/mlx4/mlx4_ib.ko.xz
/lib/modules/4.3.3-303.fc23.x86_64/kernel/drivers/net/ethernet/mellanox/mlx4
/lib/modules/4.3.3-303.fc23.x86_64/kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_en.ko.xz
/lib/modules/4.3.3-303.fc23.x86_64/kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_core.ko.xz

[root@rdma-qe-06 ~]$ uname -r
4.3.3-303.fc23.x86_64

[root@rdma-qe-06 ~]$ grep -i mellanox /boot/config-4.3.3-303.fc23.x86_64 
CONFIG_NET_VENDOR_MELLANOX=y

[root@rdma-qe-06 ~]$ grep -i MLX /boot/config-4.3.3-303.fc23.x86_64 
CONFIG_MLX4_EN=m
CONFIG_MLX4_EN_DCB=y
CONFIG_MLX4_EN_VXLAN=y
CONFIG_MLX4_CORE=m
CONFIG_MLX4_DEBUG=y
# CONFIG_MLX5_CORE is not set
# CONFIG_MLXSW_CORE is not set
CONFIG_MLX4_INFINIBAND=m
# CONFIG_MLX90614 is not set

[root@rdma-qe-06 ~]$ cat /etc/redhat-release 
Fedora release 23 (Twenty Three)

[root@rdma-qe-06 ~]$ yum install -y libmlx5
Yum command has been deprecated, redirecting to '/usr/bin/dnf install -y libmlx5'.
See 'man dnf' and 'man yum2dnf' for more information.
To transfer transaction metadata from yum to DNF, run:
'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate'

Last metadata expiration check performed 0:39:29 ago on Wed Jan 27 21:01:43 2016.
No package libmlx5 available.
Error: Unable to find a match. 


How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Honggang LI 2016-01-28 02:50:50 UTC
The Redhat RDMA team will test the kernel and userspace driver when they are get ready in Fedora distro. So, I'm taking the QA ownership. Thanks.

Comment 2 Justin M. Forbes 2016-01-28 18:04:11 UTC
This is enabled in rawhide, and should trickle down as Fedora 23 gets rebased.


Note You need to log in before you can comment on or make changes to this bug.