Output Below
modinfo mlx4_core
filename: /lib/modules/2.6.32-431.20.3.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_core.ko
version: 1.1
license: Dual BSD/GPL
description: Mellanox ConnectX HCA low-level driver
author: Roland Dreier
srcversion: 9A90DAE92A2E75BF5F67A24
alias: pci:v000015B3d00001010svsdbcsci*
alias: pci:v000015B3d0000100Fsvsdbcsci*
alias: pci:v000015B3d0000100Esvsdbcsci*
alias: pci:v000015B3d0000100Dsvsdbcsci*
alias: pci:v000015B3d0000100Csvsdbcsci*
alias: pci:v000015B3d0000100Bsvsdbcsci*
alias: pci:v000015B3d0000100Asvsdbcsci*
alias: pci:v000015B3d00001009svsdbcsci*
alias: pci:v000015B3d00001008svsdbcsci*
alias: pci:v000015B3d00001007svsdbcsci*
alias: pci:v000015B3d00001006svsdbcsci*
alias: pci:v000015B3d00001005svsdbcsci*
alias: pci:v000015B3d00001004svsdbcsci*
alias: pci:v000015B3d00001003svsdbcsci*
alias: pci:v000015B3d00001002svsdbcsci*
alias: pci:v000015B3d0000676Esvsdbcsci*
alias: pci:v000015B3d00006746svsdbcsci*
alias: pci:v000015B3d00006764svsdbcsci*
alias: pci:v000015B3d0000675Asvsdbcsci*
alias: pci:v000015B3d00006372svsdbcsci*
alias: pci:v000015B3d00006750svsdbcsci*
alias: pci:v000015B3d00006368svsdbcsci*
alias: pci:v000015B3d0000673Csvsdbcsci*
alias: pci:v000015B3d00006732svsdbcsci*
alias: pci:v000015B3d00006354svsdbcsci*
alias: pci:v000015B3d0000634Asvsdbcsci*
alias: pci:v000015B3d00006340svsdbcsci*
depends: compat
vermagic: 2.6.32-431.el6.x86_64 SMP mod_unload modversions
parm: set_4k_mtu:(Obsolete) attempt to set 4K MTU to all ConnectX ports (int)
parm: debug_level:Enable debug tracing if > 0 (int)
parm: msi_x:0 - don’t use MSI-X, 1 - use MSI-X, >1 - limit number of MSI-X irqs to msi_x (non-SRIOV only) (int)
parm: enable_sys_tune:Tune the cpu’s for better performance (default 0) (int)
parm: block_loopback:Block multicast loopback packets if > 0 (default: 1) (int)
parm: num_vfs:Either single value (e.g. ‘5’) or triplet (e.g. ‘10,11,12’) to define uniform num_vfs value for all devices functions.
If a single value is given, this value will be used in order to define dual port virtual functions are probed.
Alternatively, a string to map device function numbers to their probe_vf values
(e.g. ‘0000:04:00.0-3,002b:1c:0b.a-13;12;11’) could be given.
Hexadecimal digits for the device function (e.g. 002b:1c:0b.a) and decimal for probe_vf value (e.g. 13 or 1;2;3). (string)
parm: log_num_mgm_entry_size:log mgm size, that defines the num of qp per mcg, for example: 10 gives 248.range: 7 <= log_num_mgm_entry_size <= 12. To activate device managed flow steering when available, set to -1 (int)
parm: high_rate_steer:Enable steering mode for higher packet rate (default off) (int)
parm: fast_drop:Enable fast packet drop when no recieve WQEs are posted (int)
parm: enable_64b_cqe_eqe:Enable 64 byte CQEs/EQEs when the the FW supports this if non-zero (default: 1) (int)
parm: log_num_mac:Log2 max number of MACs per ETH port (1-7) (int)
parm: log_num_vlan:(Obsolete) Log2 max number of VLANs per ETH port (0-7) (int)
parm: log_mtts_per_seg:Log2 number of MTT entries per segment (0-7) (default: 0) (int)
parm: port_type_array:Either pair of values (e.g. ‘1,2’) to define uniform port1/port2 types configuration for all devices functions
or a string to map device function numbers to their pair of port types values (e.g. ‘0000:04:00.0-1;2,002b:1c:0b.a-1;1’).
Valid port types: 1-ib, 2-eth, 3-auto, 4-N/A
In case that only one port is available use the N/A port type for port2 (e.g ‘1,4’). (string)
parm: log_num_qp:log maximum number of QPs per HCA (default: 19) (int)
parm: log_num_srq:log maximum number of SRQs per HCA (default: 16) (int)
parm: log_rdmarc_per_qp:log number of RDMARC buffers per QP (default: 4) (int)
parm: log_num_cq:log maximum number of CQs per HCA (default: 16) (int)
parm: log_num_mcg:log maximum number of multicast groups per HCA (default: 13) (int)
parm: log_num_mpt:log maximum number of memory protection table entries per HCA (default: 19) (int)
parm: log_num_mtt:log maximum number of memory translation table segments per HCA (default: max(20, 2*MTTs for register all of the host memory limited to 30)) (int)
parm: enable_qos:Enable Quality of Service support in the HCA (default: off) (bool)
parm: internal_err_reset:Reset device on internal errors if non-zero (default 0) (int)
Second command
modinfo mlx4_core |grep filename | awk '{print $NF}
/lib/modules/2.6.32-431.20.3.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_core.ko
Thanks