Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Jan 2019 00:13:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 234553] [cxgbe][pci][ppt] T420-CR VF fails probe by ppt module for bhyve
Message-ID:  <bug-234553-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234553

            Bug ID: 234553
           Summary: [cxgbe][pci][ppt] T420-CR VF fails probe by ppt module
                    for bhyve
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: ryan@freqlabs.com

Using `iovctl` I can create VFs for cxgbe0, cxgbe1. They show up in `pciconf
-lv` in the ppt devclass. However, most of the device configuration appears=
 to
be invalid (see pciconf output below). In particular, the hdr=3D0x7f means
`ppt_probe()` will return ENXIO for the device instead of BUS_PROBE_WILDCAR=
D,
preventing the device from being passed through to a bhyve VM.

I naively tried modifying the vmm driver to bypass the cfg.hdrtype check, w=
hich
allowed me to pass the device through to a VM, but the kernel in the VM then
failed to recognize the VF as anything. It is not present in `pciconf -l`
inside the VM and I see no messages about it in the VM console.

dev.t4nex.0.firmware_version: 1.19.1.0

ppt0@pci0:1:1:0:        class=3D0xffffff card=3D0x00000000 chip=3D0x4801142=
5 rev=3D0xff
hdr=3D0x7f
    vendor     =3D 'Chelsio Communications Inc'
    device     =3D 'T420-CR Unified Wire Ethernet Controller [VF]'

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234553-227>