[Bug 278058] Simultaneous use of Bhyve AND vnet on network PCI devices causes network failure

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 16 Dec 2024 15:48:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278058

--- Comment #4 from Mark McBride <mark@markmcb.com> ---
Some progress (or random luck)! As of 14.2-RELEASE, 1 of my 3 test cases for
SR-IOV in a mixed vnet & passthrough setup works.

WORKING (was failing pre 14.2)
Mellanox ConnectX-4 Lx - I have 3 bhyve vms and 5 vnet jails running for
several days now with no issues. I did notice one time when restarting a jail
that the vf was never released (even ~10 minutes after stopping the jail) and I
had to reboot the system to correct. Aside from this, the system comes up after
a reboot just fine and all networking is functioning as expected.

NOT WORKING
Chelsio T520-SO-CR
Intel X710-DA2

Failure mode observation: In the past, it would take about 5 minutes after
starting both a vnet jail and a bhyve VM with a vf passed through for the
network to fail. Now it's instantly on the vnet jail. Example: start vnet jail,
start a ping to monitor; then start bhyve vm and watch the console. As soon as
the loader menu disappears and the network driver loads, the ping running in
the jail will stop and the network is lost. The vm network will continue to
work for about 5 minutes, and then fail (as usual).

-- 
You are receiving this mail because:
You are the assignee for the bug.