/
githubmirror
/
rdma-core
Обзор
Документация
Войти
/
githubmirror
/
rdma-core
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
kernel-boot/persistent-ipoib.rules.in
13 строк
710 B
Benjamin Drung
Install 70-persistent-ipoib.rules into docs instead of /etc
27 сен 2022, 13:06
27 сен 2022, 13:06
b9ddb7f
Код
Авторство
О чём код?
# This is a sample udev rules file that demonstrates how to get udev to # set the name of IPoIB interfaces to whatever you wish. Copy this file # into @CMAKE_INSTALL_SYSCONFDIR@/udev/rules.d before editing it! There is a 16 character limit # on network device names. # # Important items to note: ATTR{type}=="32" is IPoIB interfaces, and the # ATTR{address} match must start with ?* and only reference the last 8 # bytes of the address or else the address might not match the variable QPN # portion. # # Modern udev is case sensitive and all addresses need to be in lower case. # # ACTION=="add", SUBSYSTEM=="net", DRIVERS=="?*", ATTR{type}=="32", ATTR{address}=="?*00:02:c9:03:00:31:78:f2", NAME="mlx4_ib3"