From owner-freebsd-net@freebsd.org Fri Sep 18 22:10:32 2020 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DD0AC3F0F7B for ; Fri, 18 Sep 2020 22:10:32 +0000 (UTC) (envelope-from root@trevelian.de) Received: from smtpout1.mo529.mail-out.ovh.net (smtpout1.mo529.mail-out.ovh.net [178.32.125.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BtSh76Zrvz4D6T for ; Fri, 18 Sep 2020 22:10:31 +0000 (UTC) (envelope-from root@trevelian.de) Received: from mxplan6.mail.ovh.net (unknown [10.108.16.139]) by mo529.mail-out.ovh.net (Postfix) with ESMTPS id 6CFF15C9FE6B for ; Sat, 19 Sep 2020 00:10:29 +0200 (CEST) Received: from trevelian.de (37.59.142.95) by DAG1EX2.mxp6.local (172.16.2.2) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2044.4; Sat, 19 Sep 2020 00:10:28 +0200 Received: from west.sucre (west.sucre [192.168.1.240]) by trevelian.de (Postfix) with ESMTPSA id 2CDD6C0224 for ; Sat, 19 Sep 2020 00:10:28 +0200 (CEST) To: From: Trevelian Subject: BCM57810 networkd card with SR-IOV : No driver detected Message-ID: <1ee9ee29-54a7-c0b7-cb72-eb8ade52b94a@trevelian.de> Date: Sat, 19 Sep 2020 00:10:28 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 Content-Language: en-US X-Originating-IP: [37.59.142.95] X-ClientProxiedBy: DAG1EX1.mxp6.local (172.16.2.1) To DAG1EX2.mxp6.local (172.16.2.2) X-Ovh-Tracer-GUID: f10ed611-b99b-4638-8f7b-82cfc5a79c25 X-Ovh-Tracer-Id: 3482689888691684631 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedujedrtdejgddtiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhepvffhuffkffgfgggtihesrgdtreertdefjeenucfhrhhomhepvfhrvghvvghlihgrnhcuoehrohhothesthhrvghvvghlihgrnhdruggvqeenucggtffrrghtthgvrhhnpeekudejueefudfgtdeigfduieetveegtdeitedtfeeltdekleeutdeuvddvhfdvgfenucfkpheptddrtddrtddrtddpfeejrdehledrudegvddrleehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpqdhouhhtpdhhvghlohepmhigphhlrghniedrmhgrihhlrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehrohhothesthhrvghvvghlihgrnhdruggvpdhrtghpthhtohepfhhrvggvsghsugdqnhgvthesfhhrvggvsghsugdrohhrgh X-Rspamd-Queue-Id: 4BtSh76Zrvz4D6T X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of root@trevelian.de designates 178.32.125.2 as permitted sender) smtp.mailfrom=root@trevelian.de X-Spamd-Result: default: False [-2.72 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[root]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.03)[-1.032]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[trevelian.de]; R_SPF_ALLOW(-0.20)[+ptr:mail-out.ovh.net]; NEURAL_HAM_SHORT(-0.42)[-0.423]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[178.32.125.2:from]; NEURAL_HAM_MEDIUM(-0.97)[-0.967]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:16276, ipnet:178.32.0.0/15, country:FR]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-net]; RWL_MAILSPIKE_POSSIBLE(0.00)[178.32.125.2:from] Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Sep 2020 22:10:32 -0000 Hello, 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: 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 ? Thanks for your help, Trevelian.