192 |
- |
1 |
# This is a sample udev rules file that demonstrates how to get udev to
|
|
|
2 |
# set the name of IPoIB interfaces to whatever you wish. There is a
|
|
|
3 |
# 16 character limit on network device names.
|
|
|
4 |
#
|
|
|
5 |
# Important items to note: ATTR{type}=="32" is IPoIB interfaces, and the
|
|
|
6 |
# ATTR{address} match must start with ?* and only reference the last 8
|
|
|
7 |
# bytes of the address or else the address might not match the variable QPN
|
|
|
8 |
# portion.
|
|
|
9 |
#
|
|
|
10 |
# Modern udev is case sensitive and all addresses need to be in lower case.
|
|
|
11 |
#
|
|
|
12 |
# ACTION=="add", SUBSYSTEM=="net", DRIVERS=="?*", ATTR{type}=="32", ATTR{address}=="?*00:02:c9:03:00:31:78:f2", NAME="mlx4_ib3"
|