-
Notifications
You must be signed in to change notification settings - Fork 400
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
docs: introduce a 'ib-pkey=' command line argument #1538
Conversation
@bengal Hmm aren't we missing what actually parses that command line argument ( from the nm module? ) in this PR? |
The NetworkManager part is here: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/884 |
Right, this PR only adds documentation for the new command line argument. For the network-manager module, the new argument doesn't need to be implemented in the dracut repo but in NM itself. There is already a PR ready to be merged, as soon as this gets accepted. Perhaps the man page should document the NM version in which the feature is added? |
@johannbg in case it is not clear: The NM implementation is blocked by getting approval for the naming of the command line argument requested here. Therefore it would be great to some feedback whether the name is fine or not. Thank you. |
@tyll well I think the tradition would be to have it |
@haraldh ping since you seem to be back from vacation 😄 |
Shall we document kernel command line options, which dracut does not parse in any way? A better way is to mention additional man pages, where useful kernel command line options are documented. |
This way, the dracut documentation is rarely out of sync. |
So if we implement this as ib.pkey it would be fine by you? We can document this at our end, too. It would be great if we can get some go ahead for this so we can merge the implementation for NM. |
@haraldh @johannbg , what do you think about the new commit? My only concern with this approach is that it could cause more incompatibility, with different modules implementing different options (or the same option with different names). Another question: is it better to namespace new options with the |
Introduce a new "ib.pkey=<parent>.<pkey>" command line argument to create a Infiniband partition. The new connection has IPv4 and IPv6 enabled by default. Unlike for VLANs, the generator doesn't create a connection for the parent Infiniband interface. See also: dracutdevs/dracut#1538 https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/884
Introduce a new "ib.pkey=<parent>.<pkey>" command line argument to create a Infiniband partition. The new connection has IPv4 and IPv6 enabled by default. Unlike for VLANs, the generator doesn't create a connection for the parent Infiniband interface. See also: dracutdevs/dracut#1538 https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/884 (cherry picked from commit 9060c14)
An Infiniband network can be segmented in different partitions, similar to VLANs. Each partition is identified by a partition key (P_Key).
On Linux, a new partition for a IP-over-Infiniband device can be created via e.g.:
The resulting interface will be
ib0.8001
with P_Key 0x8001.Document a new command line argument to create the partition.
NetworkManager is going to implement the new option in [1].
[1] https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/884