Reference Guide

Brocade
适配器安装和参考手册
197
53-1002144-01
网络驱动程序参数
A
使用模块参数管理 Linux 驱动程序配置
驱动程序配置参数可使用驱动程序,也可在载驱动程序之前 /etc/modprobe.conf
设置。以下为使用 modprobe 网络驱动程序配置的示例
示例设置 Linux 日志级调试模,并使用参数值加载驱动程序。
modprobe bna bnad_log_level=7
示例将 Linux 日志级设置为调试模式。在 /etc/modprobe.conf 加条目,然后加
驱动程序。
options bna bnad_log_level=7
示例启用或禁用 MSI-X 使用参数值加载驱动程序。
modprobe bna bnad_msix=[0|1]
示例启用或禁用 MSI-X。在 /etc/modprobe.conf 加条目,然后加载驱动程序。
options bna bnad_msix=[0|1]
认设置下在网络驱动程序中启用 MSI-X,并且必须保持启用状态才能使 NetQueue 生效
VMware 系统中启用 NetQueue 也会启用系统中的 MSI-X。如启用 NetQueue,请确保
bnad_msix=0 列在 VMware 模块参数中,因禁用 NetQueue
使用模块 ifconfig 管理 Linux 驱动程序配置
以下为使用 ifconfig 网络驱动程序配置的示例。
示例设置本地管理的 MAC 地址。
ifconfig ethX hw ether [addr]
其中
ethx 服务器中适配器的置。例如 eth0 在系统中找到的以太网接
eth1 个, eth2 个,此类
本示例中设置型数据包 (MTU) 小。
ifconfig ethx mtu <MTU size>
其中
ethX
服务器中适配器的置。例如 eth0 在系统中找到的以太网接
eth1 个, eth2 个,此类
MTU size MTU (1500-9000 kb)