192 |
- |
1 |
# Config file for mlx4 hardware port settings
|
|
|
2 |
# This file is read when the mlx4_core module is loaded and used to
|
|
|
3 |
# set the port types for any hardware found. If a card is not listed
|
|
|
4 |
# in this file, then its port types are left alone.
|
|
|
5 |
#
|
|
|
6 |
# Format:
|
|
|
7 |
# <pci_device_of_card> <port1_type> [port2_type]
|
|
|
8 |
#
|
|
|
9 |
# @port1 and @port2:
|
|
|
10 |
# One of auto, ib, or eth. No checking is performed to make sure that
|
|
|
11 |
# combinations are valid. Invalid inputs will result in the driver
|
|
|
12 |
# not setting the port to the type requested. port1 is required at
|
|
|
13 |
# all times, port2 is required for dual port cards.
|
|
|
14 |
#
|
|
|
15 |
# Example:
|
|
|
16 |
# 0000:0b:00.0 eth eth
|
|
|
17 |
#
|
|
|
18 |
# You can find the right pci device to use for any given card by loading
|
|
|
19 |
# the mlx4_core module, then going to /sys/bus/pci/drivers/mlx4_core and
|
|
|
20 |
# seeing what possible PCI devices are listed there. The possible values
|
|
|
21 |
# for ports are: ib, eth, and auto. However, not all cards support all
|
|
|
22 |
# types, so if you get messages from the kernel that your selected port
|
|
|
23 |
# type isn't supported, there's nothing this script can do about it. Also,
|
|
|
24 |
# some cards don't support using different types on the two ports (aka,
|
|
|
25 |
# both ports must be either eth or ib). Again, we can't set what the kernel
|
|
|
26 |
# or hardware won't support.
|
|
|
27 |
#
|