fedora-sysv / initscripts

📜 Scripts to bring up network interfaces and legacy utilities in Fedora.
GNU General Public License v2.0
46 stars 52 forks source link

Adding support for IPoIB interfaces #297

Open wmousa opened 4 years ago

wmousa commented 4 years ago

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

wmousa commented 4 years ago

Please rename ifdown file to ifdown-ib.

Done

wmousa commented 4 years ago

@jamacku @lnykryn, anything to be done here?

lnykryn commented 4 years ago

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

adrianchiris commented 4 years ago

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.