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 additional network adapters - new soft limit: 16 #488

Closed
wants to merge 0 commits into from

Conversation

MarkProminic
Copy link
Contributor

I have a use case/want to use more than 8 network adapters in bhyve.

I am proposing this fix as suggested by Peter Tribble (thanks!) as discussed here:

https://illumos.topicbox.com/groups/omnios-discuss/Tfff6c6e0a407dbba

Copy link
Member

@hadfl hadfl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution. This looks good. Just one nit. If you fix that, please squash the commits before re-pushing.

'-s', '{0}:{1},{2},{3}{4}'
.format(NET_SLOT2, i - 8, netif, ifname, net_extra)
])
add_bootoption('net', i, ('pci', f'{NET_SLOT2}.{i-8}'))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: could you add spaces around the subtraction operator?

@citrus-it
Copy link
Member

I have no idea what github has managed to do now. I've opened #489 with this change plus the whitespace fix that @hadfl requested.

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.

3 participants