我有一张具有 RDMA 功能的网络接口卡,如何找到安装或加载了 NIC 驱动程序模块的 RDMA 模块?
我的 Broadcom 驱动程序。
modinfo bnxt_en
filename: /lib/modules/4.18.0-372.19.1.el8_6.x86_64/updates/bnxt_en.ko
version: 1.10.2-224.0.157.0
description: Broadcom NetXtreme-C/E/S network driver
license: GPL
rhelversion: 8.6
srcversion: 533BB7E5866E52F63B9ACCB
alias: pci:v000014E4d0000D800sv*sd*bc*sc*i*
alias: pci:v000014E4d00001809sv*sd*bc*sc*i*
alias: pci:v000014E4d00001808sv*sd*bc*sc*i*
alias: pci:v000014E4d00001807sv*sd*bc*sc*i*
alias: pci:v000014E4d00001806sv*sd*bc*sc*i*
alias: pci:v000014E4d000016E6sv*sd*bc*sc*i*
alias: pci:v000014E4d000016E5sv*sd*bc*sc*i*
alias: pci:v000014E4d000016E1sv*sd*bc*sc*i*
alias: pci:v000014E4d000016DCsv*sd*bc*sc*i*
alias: pci:v000014E4d000016D3sv*sd*bc*sc*i*
alias: pci:v000014E4d000016CBsv*sd*bc*sc*i*
alias: pci:v000014E4d000016C5sv*sd*bc*sc*i*
alias: pci:v000014E4d000016C4sv*sd*bc*sc*i*
alias: pci:v000014E4d000016C3sv*sd*bc*sc*i*
alias: pci:v000014E4d000016C2sv*sd*bc*sc*i*
alias: pci:v000014E4d000016C1sv*sd*bc*sc*i*
alias: pci:v000014E4d000016BDsv*sd*bc*sc*i*
alias: pci:v000014E4d00001609sv*sd*bc*sc*i*
alias: pci:v000014E4d00001608sv*sd*bc*sc*i*
alias: pci:v000014E4d00001607sv*sd*bc*sc*i*
alias: pci:v000014E4d00001606sv*sd*bc*sc*i*
alias: pci:v000014E4d0000D804sv*sd*bc*sc*i*
alias: pci:v000014E4d0000D802sv*sd*bc*sc*i*
alias: pci:v000014E4d00001805sv*sd*bc*sc*i*
alias: pci:v000014E4d00001804sv*sd*bc*sc*i*
alias: pci:v000014E4d00001803sv*sd*bc*sc*i*
alias: pci:v000014E4d00001802sv*sd*bc*sc*i*
alias: pci:v000014E4d00001801sv*sd*bc*sc*i*
alias: pci:v000014E4d00001800sv*sd*bc*sc*i*
alias: pci:v000014E4d00001752sv*sd*bc*sc*i*
alias: pci:v000014E4d00001751sv*sd*bc*sc*i*
alias: pci:v000014E4d00001750sv*sd*bc*sc*i*
alias: pci:v000014E4d000016F1sv*sd*bc*sc*i*
alias: pci:v000014E4d000016F0sv*sd*bc*sc*i*
alias: pci:v000014E4d000016EFsv*sd*bc*sc*i*
alias: pci:v000014E4d000016EEsv*sd*bc*sc*i*
alias: pci:v000014E4d000016EDsv*sd*bc*sc*i*
alias: pci:v000014E4d000016ECsv*sd*bc*sc*i*
alias: pci:v000014E4d000016EBsv*sd*bc*sc*i*
alias: pci:v000014E4d000016EAsv*sd*bc*sc*i*
alias: pci:v000014E4d000016E9sv*sd*bc*sc*i*
alias: pci:v000014E4d000016E8sv*sd*bc*sc*i*
alias: pci:v000014E4d000016E7sv*sd*bc*sc*i*
alias: pci:v000014E4d000016E3sv*sd*bc*sc*i*
alias: pci:v000014E4d000016E2sv*sd*bc*sc*i*
alias: pci:v000014E4d000016DFsv*sd*bc*sc*i*
alias: pci:v000014E4d000016DEsv*sd*bc*sc*i*
alias: pci:v000014E4d000016D9sv*sd*bc*sc*i*
alias: pci:v000014E4d000016D8sv*sd*bc*sc*i*
alias: pci:v000014E4d000016D7sv*sd*bc*sc*i*
alias: pci:v000014E4d000016D6sv*sd*bc*sc*i*
alias: pci:v000014E4d000016D5sv*sd*bc*sc*i*
alias: pci:v000014E4d000016D4sv*sd*bc*sc*i*
alias: pci:v000014E4d000016D2sv*sd*bc*sc*i*
alias: pci:v000014E4d000016D1sv*sd*bc*sc*i*
alias: pci:v000014E4d000016D0sv*sd*bc*sc*i*
alias: pci:v000014E4d000016CFsv*sd*bc*sc*i*
alias: pci:v000014E4d000016CEsv*sd*bc*sc*i*
alias: pci:v000014E4d000016CDsv*sd*bc*sc*i*
alias: pci:v000014E4d000016CCsv*sd*bc*sc*i*
alias: pci:v000014E4d000016CAsv*sd*bc*sc*i*
alias: pci:v000014E4d000016C9sv*sd*bc*sc*i*
alias: pci:v000014E4d000016C8sv*sd*bc*sc*i*
alias: pci:v000014E4d000016C0sv*sd*bc*sc*i*
alias: pci:v000014E4d00001614sv*sd*bc*sc*i*
alias: pci:v000014E4d00001605sv*sd*bc*sc*i*
alias: pci:v000014E4d00001604sv*sd*bc*sc*i*
depends:
name: bnxt_en`enter code here`
vermagic: 4.18.0-372.19.1.el8_6.x86_64 SMP mod_unload modversions
我如何验证我的 nvme_rdma 模块是否也加载了上述 NIC 或 rdma 是否得到上述 NIC 的正确支持。
相似地
对于 Mellanox NIC,NIC 驱动程序是
modinfo mlx5_core
filename: /lib/modules/3.10.0-957.el7.x86_64/extra/mlnx-ofa_kernel/drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko
version: 5.1-2.5.8
license: Dual BSD/GPL
description: Mellanox 5th generation network adapters (ConnectX series) core driver
author: Eli Cohen <[email protected]>
retpoline: Y
rhelversion: 7.6
srcversion: FBF53BFBCF621F2C47602D4
alias: pci:v000015B3d0000A2D6sv*sd*bc*sc*i*
alias: pci:v000015B3d0000A2D3sv*sd*bc*sc*i*
alias: pci:v000015B3d0000A2D2sv*sd*bc*sc*i*
alias: pci:v000015B3d00001021sv*sd*bc*sc*i*
alias: pci:v000015B3d0000101Fsv*sd*bc*sc*i*
alias: pci:v000015B3d0000101Esv*sd*bc*sc*i*
alias: pci:v000015B3d0000101Dsv*sd*bc*sc*i*
alias: pci:v000015B3d0000101Csv*sd*bc*sc*i*
alias: pci:v000015B3d0000101Bsv*sd*bc*sc*i*
alias: pci:v000015B3d0000101Asv*sd*bc*sc*i*
alias: pci:v000015B3d00001019sv*sd*bc*sc*i*
alias: pci:v000015B3d00001018sv*sd*bc*sc*i*
alias: pci:v000015B3d00001017sv*sd*bc*sc*i*
alias: pci:v000015B3d00001016sv*sd*bc*sc*i*
alias: pci:v000015B3d00001015sv*sd*bc*sc*i*
alias: pci:v000015B3d00001014sv*sd*bc*sc*i*
alias: pci:v000015B3d00001013sv*sd*bc*sc*i*
depends: mlx_compat,mdev,devlink,ptp,mlxfw
vermagic: 3.10.0-957.el7.x86_64 SMP mod_unload modversions
parm: guids:charp
parm: node_guid:guids configuration. This module parameter will be obsolete!
parm: num_of_groups:Eswitch offloads number of big groups in FDB table. Valid range 1 - 1024. Default 4 (uint)
parm: debug_mask:debug mask: 1 = dump cmd data, 2 = dump cmd exec time, 3 = both. Default=0 (uint)
parm: prof_sel:profile selector. Valid range 0 - 3 (uint)
parm: probe_vf:probe VFs or not, 0 = not probe, 1 = probe. Default = 1 (bool)
[root@dhcp-10-206-133-164 ~]# modinfo nvme-rdma
filename: /lib/modules/3.10.0-957.el7.x86_64/extra/mlnx-nvme/host/nvme-rdma.ko
license: GPL v2
retpoline: Y
rhelversion: 7.6
srcversion: C9065DB6209669124255FDE
depends: mlx_compat,rdma_cm,ib_core,nvme-core,nvme-fabrics
vermagic: 3.10.0-957.el7.x86_64 SMP mod_unload modversions
parm: register_always:Use memory registration even for contiguous memory regions (bool)
我如何才能找到 nvme-rdma 也支持下面的 NIC。
添加 nvme-rdma
modinfo nvme-rdma
filename: /lib/modules/3.10.0-957.el7.x86_64/extra/mlnx-nvme/host/nvme-rdma.ko
license: GPL v2
retpoline: Y
rhelversion: 7.6
srcversion: C9065DB6209669124255FDE
depends: mlx_compat,rdma_cm,ib_core,nvme-core,nvme-fabrics
vermagic: 3.10.0-957.el7.x86_64 SMP mod_unload modversions
parm: register_always:Use memory registration even for contiguous memory regions (bool)
操作系统详细信息
lsb_release -d
Description: Ubuntu 22.04.1 LTS
请帮助别人。