Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Sep 2020 08:44:17 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Trevelian <root@trevelian.de>, freebsd-net@freebsd.org
Cc:        davidch@freebsd.org
Subject:   Re: BCM57810 networkd card with SR-IOV : No driver detected
Message-ID:  <51775d42-9045-91b8-405b-ba92762a410a@grosbein.net>
In-Reply-To: <1ee9ee29-54a7-c0b7-cb72-eb8ade52b94a@trevelian.de>
References:  <1ee9ee29-54a7-c0b7-cb72-eb8ade52b94a@trevelian.de>

next in thread | previous in thread | raw e-mail | index | archive | help
19.09.2020 5:10, Trevelian wrote:

> I have a HP network card "533FLR-T" its based on "NetXtreme II BCM57810"
> This card is capable to be used with SR-IOV, so I can have 64 NIC on each physical port that I can passthrough from my Linux hypervisor to my Linux and BSD guest VM.
> 
> On Linux guest VM no problem I see the NIC on my VM and I can use it :
> 
> |# lspci 01:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme II BCM57810 10 Gigabit Ethernet Virtual Function|
> 
> On BSD guest VM (I tested 11.3 and 12.1) the card seems to be not detected :
> 
> |# dmesg pci0: <network, ethernet> at device 8.0 (no driver attached) # pciconf -lv none0@pci0:0:8:0: class=0x020000 card=0x3382103c chip=0x16af14e4 rev=0x00 hdr=0x00 vendor = 'Broadcom Inc. and subsidiaries' device = 'NetXtreme II BCM57810 10 Gigabit Ethernet Virtual Function' class = network subclass = ethernet ||# kldload if_bxe kldload: can't load if_bxe: module already loaded or in kernel|
> ||
> 
> I try to force the driver with :
> 
> |#devctl set driver pci0:0:8:0 bxe|
> |
> |
> But it don't gave me any new network interface.
> 
> Do you have any idea if its possible to make it work or the BXE driver is just not compatible with the Virtual Function of this card ?

It seems bxe(4) does not implement attaching to Virtual Function.
Can't tell if it's by mistake or intentionally.

CC'ing author of the driver davidch@




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51775d42-9045-91b8-405b-ba92762a410a>