-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding support for IPoIB interfaces #297
base: main
Are you sure you want to change the base?
Conversation
8a65a3e
to
2a4a165
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rename ifdown file to ifdown-ib.
network-scripts/ifup
Outdated
net_log $"ERROR: could not add pkey ${PKEY_ID} as ${DEVICE} on dev ${PHYSDEV}" | ||
exit 1 | ||
} | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also please set spacing of this and following line to 4 spaces. Thank you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
2a4a165
to
54afbc4
Compare
The patch allow to ifup/ifdown IpoIB interfaces from network-scripts The required config is the following DEVICE=ib0.8005 # ib0 the it IB interface TYPE=Infiniband # the type is Infiniband PKEY=yes # indicator that it's IPoIB interface PKEY_ID=5 # the pkey number
54afbc4
to
b4331f2
Compare
Done |
We were just discussing this with @jamacku on Friday and I have a feeling that this should not be here. At least on rhel7, there is a rdma package with contains ifup-ib and ifdown-ib scripts. So my guess is that you actually want to have this logic in https://github.com/Mellanox/rdma-utils |
Mellanox/rdma-utils is a repository that is used internally in Mellanox it has a bunch of other stuff that is not needed, nor is it maintained. ipoib configurations is standard and should not be in a vendor specific repo imo. |
The patch allow to ifup/ifdown IPoIB interfaces from network-scripts
The required config is the following
DEVICE=ib0.8005 # ib0 the is IB interface
TYPE=Infiniband # the type is Infiniband
PKEY=yes # indicator that it's IPoIB interface
PKEY_ID=5 # the pkey number