Mellanox Linux驱动程序模块关系(MLNX_OFED)
应用介绍
本编文章版权归阿波罗代码网所有,任何转载请注明出处!
这篇文章描述了与其他Linux内核模块的MLNX_OFED关系的各个模块。Mellanox Connect-IB适配器卡使用mlx5_ib,mlx5_core,而ConnectX-3 / ConnectX-3 Pro使用mlx4_core,mlx4_en和mlx4_ib。
ib_isert模块由iscsi启动器使用,而ib_isert模块由LIO iscsi目标使用。 作为用户空间实现的TGT不需要任何这些内核模块。ib_isert模块包含在MLNX_OFED 2.4及更高版本中。
作为故障排除措施,您可能首先需要检查是否已装入相关模块(例如,如果使用ISER启动器,则为ib_iser;如果使用LIO目标,则为ib_isert)。
并非所有模块都需要加载,这取决于应用程序和用途(例如,如果链路层是以太网,则不需要加载mlx4_ib,反之亦然;如果链路层是InfiniBand,则不需要加载mlx4_en)。
相关 Linux commands:
- lsmod:提供当前在Linux O / S上加载的内核模块的列表。
modprobe:用于在Linux O / S上添加或删除内核模块的命令。
modinfo:一个命令,显示有关Linux O / S上内核模块的信息。
cat /sys/module/模块参数:
要检查模块参数的值,请运行以下命令
<module-name>/parameters/<parameter-name>
例如:
# cat /sys/module/mlx4_core/parameters/roce_mode
2
下图是相关MLNX_OFED模块和使用它们的其他内核模块之间的高级关系。
取决于各种发行版和用户应用程序,可能需要进行细微更改。
要查找被MLNX_OFED替换的内核模块的完整列表,请运行以下命令(或类似命令),在本例中是在RHEL7 OS中采用的:
# pwd
/lib/modules/3.10.0-123.el7.x86_64/extra
# find . * | grep .ko
./knem-mlnx/knem.ko
./mlnx-ofa_kernel/fs/9p/9p.ko
./mlnx-ofa_kernel/net/sunrpc/xprtrdma/svcrdma.ko
./mlnx-ofa_kernel/net/sunrpc/xprtrdma/xprtrdma.ko
./mlnx-ofa_kernel/net/rds/rds_tcp.ko
./mlnx-ofa_kernel/net/rds/rds.ko
./mlnx-ofa_kernel/net/rds/rds_rdma.ko
./mlnx-ofa_kernel/net/9p/9pnet_rdma.ko
./mlnx-ofa_kernel/drivers/infiniband/hw/cxgb4/iw_cxgb4.ko
./mlnx-ofa_kernel/drivers/infiniband/hw/nes/iw_nes.ko
./mlnx-ofa_kernel/drivers/infiniband/hw/mthca/ib_mthca.ko
./mlnx-ofa_kernel/drivers/infiniband/hw/qib/ib_qib.ko
./mlnx-ofa_kernel/drivers/infiniband/hw/mlx4/mlx4_ib.ko
./mlnx-ofa_kernel/drivers/infiniband/hw/ipath/ib_ipath.ko
./mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko
./mlnx-ofa_kernel/drivers/infiniband/hw/amso1100/iw_c2.ko
./mlnx-ofa_kernel/drivers/infiniband/hw/cxgb3/iw_cxgb3.ko
./mlnx-ofa_kernel/drivers/infiniband/ulp/isert/ib_isert.ko
./mlnx-ofa_kernel/drivers/infiniband/ulp/ipoib/ib_ipoib.ko
./mlnx-ofa_kernel/drivers/infiniband/ulp/iser/ib_iser.ko
./mlnx-ofa_kernel/drivers/infiniband/ulp/srpt/ib_srpt.ko
./mlnx-ofa_kernel/drivers/infiniband/ulp/srp/ib_srp.ko
./mlnx-ofa_kernel/drivers/infiniband/core/rdma_ucm.ko
./mlnx-ofa_kernel/drivers/infiniband/core/ib_mad.ko
./mlnx-ofa_kernel/drivers/infiniband/core/ib_core.ko
./mlnx-ofa_kernel/drivers/infiniband/core/ib_cm.ko
./mlnx-ofa_kernel/drivers/infiniband/core/ib_addr.ko
./mlnx-ofa_kernel/drivers/infiniband/core/rdma_cm.ko
./mlnx-ofa_kernel/drivers/infiniband/core/ib_umad.ko
./mlnx-ofa_kernel/drivers/infiniband/core/ib_ucm.ko
./mlnx-ofa_kernel/drivers/infiniband/core/ib_uverbs.ko
./mlnx-ofa_kernel/drivers/infiniband/core/ib_sa.ko
./mlnx-ofa_kernel/drivers/infiniband/core/iw_cm.ko
./mlnx-ofa_kernel/drivers/scsi/scsi_transport_srp.ko
./mlnx-ofa_kernel/drivers/scsi/cxgbi/cxgb3i/cxgb3i.ko
./mlnx-ofa_kernel/drivers/scsi/cxgbi/libcxgbi.ko
./mlnx-ofa_kernel/drivers/scsi/cxgbi/cxgb4i/cxgb4i.ko
./mlnx-ofa_kernel/drivers/net/ethernet/mellanox/mlx4_vnic/mlx4_vnic.ko
./mlnx-ofa_kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_core.ko
./mlnx-ofa_kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_en.ko
./mlnx-ofa_kernel/drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko
./mlnx-ofa_kernel/drivers/net/ethernet/chelsio/cxgb4/cxgb4.ko
./mlnx-ofa_kernel/drivers/net/ethernet/chelsio/cxgb3/cxgb3.ko
./mlnx-ofa_kernel/drivers/net/eipoib/eth_ipoib.ko
./mlnx-ofa_kernel/compat/compat.ko
./kernel-mft-mlnx/mst_pciconf.ko
./kernel-mft-mlnx/mst_pci.ko
./iser/ib_iser.ko
./srp/scsi/scsi_transport_srp.ko
./srp/ib_srp.ko
iser/ib_iser.ko
kernel-mft-mlnx/mst_pciconf.ko
kernel-mft-mlnx/mst_pci.ko
knem-mlnx/knem.ko
mlnx-ofa_kernel/fs/9p/9p.ko
mlnx-ofa_kernel/net/sunrpc/xprtrdma/svcrdma.ko
mlnx-ofa_kernel/net/sunrpc/xprtrdma/xprtrdma.ko
mlnx-ofa_kernel/net/rds/rds_tcp.ko
mlnx-ofa_kernel/net/rds/rds.ko
mlnx-ofa_kernel/net/rds/rds_rdma.ko
mlnx-ofa_kernel/net/9p/9pnet_rdma.ko
mlnx-ofa_kernel/drivers/infiniband/hw/cxgb4/iw_cxgb4.ko
mlnx-ofa_kernel/drivers/infiniband/hw/nes/iw_nes.ko
mlnx-ofa_kernel/drivers/infiniband/hw/mthca/ib_mthca.ko
mlnx-ofa_kernel/drivers/infiniband/hw/qib/ib_qib.ko
mlnx-ofa_kernel/drivers/infiniband/hw/mlx4/mlx4_ib.ko
mlnx-ofa_kernel/drivers/infiniband/hw/ipath/ib_ipath.ko
mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko
mlnx-ofa_kernel/drivers/infiniband/hw/amso1100/iw_c2.ko
mlnx-ofa_kernel/drivers/infiniband/hw/cxgb3/iw_cxgb3.ko
mlnx-ofa_kernel/drivers/infiniband/ulp/isert/ib_isert.ko
mlnx-ofa_kernel/drivers/infiniband/ulp/ipoib/ib_ipoib.ko
mlnx-ofa_kernel/drivers/infiniband/ulp/iser/ib_iser.ko
mlnx-ofa_kernel/drivers/infiniband/ulp/srpt/ib_srpt.ko
mlnx-ofa_kernel/drivers/infiniband/ulp/srp/ib_srp.ko
mlnx-ofa_kernel/drivers/infiniband/core/rdma_ucm.ko
mlnx-ofa_kernel/drivers/infiniband/core/ib_mad.ko
mlnx-ofa_kernel/drivers/infiniband/core/ib_core.ko
mlnx-ofa_kernel/drivers/infiniband/core/ib_cm.ko
mlnx-ofa_kernel/drivers/infiniband/core/ib_addr.ko
mlnx-ofa_kernel/drivers/infiniband/core/rdma_cm.ko
mlnx-ofa_kernel/drivers/infiniband/core/ib_umad.ko
mlnx-ofa_kernel/drivers/infiniband/core/ib_ucm.ko
mlnx-ofa_kernel/drivers/infiniband/core/ib_uverbs.ko
mlnx-ofa_kernel/drivers/infiniband/core/ib_sa.ko
mlnx-ofa_kernel/drivers/infiniband/core/iw_cm.ko
mlnx-ofa_kernel/drivers/scsi/scsi_transport_srp.ko
mlnx-ofa_kernel/drivers/scsi/cxgbi/cxgb3i/cxgb3i.ko
mlnx-ofa_kernel/drivers/scsi/cxgbi/libcxgbi.ko
mlnx-ofa_kernel/drivers/scsi/cxgbi/cxgb4i/cxgb4i.ko
mlnx-ofa_kernel/drivers/net/ethernet/mellanox/mlx4_vnic/mlx4_vnic.ko
mlnx-ofa_kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_core.ko
mlnx-ofa_kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_en.ko
mlnx-ofa_kernel/drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko
mlnx-ofa_kernel/drivers/net/ethernet/chelsio/cxgb4/cxgb4.ko
mlnx-ofa_kernel/drivers/net/ethernet/chelsio/cxgb3/cxgb3.ko
mlnx-ofa_kernel/drivers/net/eipoib/eth_ipoib.ko
mlnx-ofa_kernel/compat/compat.ko
srp/scsi/scsi_transport_srp.ko
srp/ib_srp.ko
Another example in case of Ubuntu 14.04
# pwd
/lib/modules/3.13.0-33-generic/updates/dkms
# ls
compat.ko
ib_cm.ko
ib_iser.ko
ib_sa.ko
ib_umad.ko
knem.ko
mlx4_ib.ko
mst_pciconf.ko
rdma_ucm.ko
rds_tcp.ko
eth_ipoib.ko
ib_core.ko
ib_isert.ko
ib_srp.ko
ib_uverbs.ko
mlx4_core.ko
mlx5_core.ko
mst_pci.ko
rds.ko
scsi_transport_srp.ko
ib_addr.ko
ib_ipoib.ko
ib_mad.ko
ib_ucm.ko
iw_cm.ko
mlx4_en.ko
mlx5_ib.ko
rdma_cm.ko
rds_rdma.ko
©版权声明:本文内容由互联网用户自发贡献,版权归原创作者所有,本站不拥有所有权,也不承担相关法律责任。如果您发现本站中有涉嫌抄袭的内容,欢迎发送邮件至: www_apollocode_net@163.com 进行举报,并提供相关证据,一经查实,本站将立刻删除涉嫌侵权内容。
转载请注明出处: apollocode » Mellanox Linux驱动程序模块关系(MLNX_OFED)
文件列表(部分)
名称 | 大小 | 修改日期 |
---|
发表评论 取消回复