Skip to content
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

Allow direct use of interfaces in ExtLinks #96

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

FelixMcFelix
Copy link

This PR allows for a network interface to be directly used in an ExtLink rather than creating a new VNIC atop that device. This is necessary to make use of pseudo-devices like OPTE ports, which are directly used by Viona.

The preflight routine has a small change to verify that each interface is only used to host (several) VNICs, or a single exclusive ExtLink. This current implementation leaves some cosmetic gaps in VNIC numbering (e.g., [duo_piano_vn_vnic0, opte1, duo_piano_vn_vnic2]) -- these don't affect the correctness of setup/teardown.

This PR allows for a network interface to be directly used in an
`ExtLink` rather than creating a new VNIC atop that device. This is
necessary to make use of pseudo-devices like OPTE ports, which are
directly used by Viona.

The preflight routine has a small change to verify that each interface
is only used to host (several) VNICs, or a single exclusive `ExtLink`.
This current implementation leaves some cosmetic gaps in VNIC numbering
(e.g., `[duo_piano_vn_vnic0, opte1, duo_piano_vn_vnic2]`) -- these don't
affect the correctness of setup/teardown.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant