[Bug 273372] SR-IOV Networking in Bhyve Causes Chelsio T520-SO-CR to Fail on Host, Kernel Panic if Reset

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 05 Sep 2023 16:28:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273372

Navdeep Parhar <np@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |np@FreeBSD.org

--- Comment #2 from Navdeep Parhar <np@FreeBSD.org> ---
I tried 13.2 as well as 14.0-alpha3 on bare metal running 13.2 and 14.0-alpha3
inside bhyve VMs.  The host creates VF devices from a T520 and passes them
through -- one to each VM.  The cxgbev VF driver inside the VM worked properly
in all cases.

The only bug I ran into was the kernel creating unusable VFs for a card in a
particular slot.  It was fixed in
https://cgit.freebsd.org/src/commit/?id=7063f94283af60818429a0c2d70e80ae4ad5c146
That is not the root cause of this problem.

Can you please try these to debug your problem further:
1. Reduce num_vfs to 2 or 4 (from 14) temporarily, for testing.
2. When the problem occurs, grab the device log _before_ attempting any
ifconfig
   down/up.  sysctl -n dev.t5nex.0.misc.devlog

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