summaryrefslogtreecommitdiffstats
path: root/rules.d/60-infiniband.rules
blob: da3eea60bc9277506c3447e86ed341302737fdaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# do not edit this file, it will be overwritten on update

ACTION=="remove", GOTO="infiniband_end"
SUBSYSTEM!="infiniband_verbs", GOTO="infiniband_end"
KERNEL!="uverbs*", GOTO="infiniband_end"

IMPORT{builtin}="path_id"

ENV{ID_PATH}=="?*", SYMLINK+="infiniband/by-path/$env{ID_PATH}"
ATTR{ibdev}=="?*", SYMLINK+="infiniband/by-ibdev/uverbs-$attr{ibdev}"

LABEL="infiniband_end"