Article View: muc.lists.freebsd.bugs
Article #624[Bug 301018] ix(4): with SR-IOV VFs, the PF receives no broadcasts (no ARP), host becomes unreachable
From: bugzilla-noreply
Date: Sun, 22 Nov 2026 21:24
Date: Sun, 22 Nov 2026 21:24
84 lines
5346 bytes
5346 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=301018
Bug ID: 301018
Summary: ix(4): with SR-IOV VFs, the PF receives no broadcasts
(no ARP), host becomes unreachable
Product: Base System
Version: 15.2-STABLE
Hardware: Any
OS: Any
Status: New
Keywords: IntelNetworking, patch
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: bugs@FreeBSD.org
Reporter: list1@gjunka.com
CC: kbowling@freebsd.org
Created attachment 277574
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=277574&action=edit
ixgbe: Let the PF pool receive broadcasts with SR-IOV enabled
With SR-IOV enabled on an ix(4) port, the PF itself stops receiving
broadcast frames. ARP requests for the host's addresses never reach it,
so other hosts can't resolve them: neighbours with a valid ARP entry keep
working until it expires, then the host is unreachable on that port. VFs
on the same port work.
Hardware: Intel X550-T2 (8086:1563, VF 8086:1565), onboard on an ASRock
Rack ROMED8-2T; "fw 2.11.11 nvm 1.93.0 Option ROM V1-b1276-p0 eTrack
0x80000aee"; 1 Gbit/s link.
Kernel: 15.2-BETA3 GENERIC (releng/15.2 62d8a4af3594). The code is the
same in main: sys/dev/ixgbe/if_sriov.c is the same blob (7f2689f3) in
releng/15.2 and in main at 6edecf52.
How to reproduce:
1. /boot/loader.conf, then reboot (32-VM mode allows 4 PF queues):
dev.ix.0.iflib.override_nrxqs="4"
dev.ix.0.iflib.override_ntxqs="4"
2. /etc/iov/ix0.conf:
PF { device : "ix0"; num_vfs : 1; }
DEFAULT { passthrough : false; }
VF-0 { mac-addr : "02:50:99:db:79:00"; }
With ix0 up: iovctl -C -f /etc/iov/ix0.conf
3. On the host: tcpdump -p -n -i ix0 broadcast -> nothing, while
sysctl dev.ix.0.mac_stats.bcast_pkts_rcvd keeps counting (26
broadcasts in 12 s here, none delivered). Promiscuous mode doesn't
change it.
4. From another host on the LAN: arp -d <PF address>; ping <PF address>
-> no reply. After the ARP entries expire, nothing reaches the host on
ix0 any more.
Cause:
ixgbe_initialize_iov() moves the PF into its own pool (sc->pool, 31 in
32-VM mode) and enables VT mode, but VMOLR is written only for the VF
pools (ixgbe_init_vf() -> ixgbe_vf_reset_vlan() ->
ixgbe_vf_configure_vmolr(), which sets BAM). In VT mode FCTRL.BAM alone
no longer delivers broadcasts to a pool; the pool needs VMOLR.BAM. The PF
pool's VMOLR keeps its reset value, without BAM, AUPE or ROMPE.
Fix (attached, against main, also applies to releng/15.2): set
VMOLR.BAM | AUPE | ROMPE for sc->pool in ixgbe_initialize_iov(), the
policy the VF pools get.
Tested on the hardware above with the patch on 15.2-BETA3: with a VF
active, tcpdump on ix0 shows the LAN's ARP requests, and the PF's
addresses stayed reachable from other hosts across ARP expiry (35 minutes
of pings and downloads every 10 s, and in use since with the VF given to
a vnet jail).
A second bug in the same function keeps VFs from reaching the PF's own
address; it is reported separately with its own patch.
Please consider it for stable/15 and, if still possible, releng/15.2.
--
You are receiving this mail because:
You are the assignee for the bug.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<bug-301018-227@https.bugs.freebsd.org/bugzilla/>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail From: bugzilla-noreply@freebsd.org Newsgroups: muc.lists.freebsd.bugs Subject: [Bug 301018] ix(4): with SR-IOV VFs, the PF receives no broadcasts (no ARP), host becomes unreachable Date: Sun, 22 Nov 2026 21:24:27 +0000 Organization: Newsgate at muc.de e.V. Approved: news-admin@muc.de Distribution: world Message-ID: <bug-301018-227@https.bugs.freebsd.org/bugzilla/> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="91865"; mail-complaints-to="news-admin@muc.de" X-Original-To: bugs@mlmmj.nyi.freebsd.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1795382667; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GhrmNItu2Q3pWfSIn/Q4htl1Z8UmTTFVR6gKSbSI6/c=; b=uom2jOKGF2etyygT8Bwq4Ptd4SLoRIpCXl6VNy+cWXRhFKMBejWrVWvW4XSp9QMPFVRN1n Im51ZsDzAFXaFIBvzQZjDvPKsqu07HAeTGa8QuycG1fRR+gboGrr88gH25Y/Z3a/oFB0dv NJWxfNzUbd5rhpHw+mA32Wm3/3Ks8jXTvqbQmemvjzUNxcPE+4/FLRjUhM7htVOus7xxN2 I6YYwVEOND6uLQ53RS0Ex+dWs4WX6hZ+wswbc/R8tQui0whIs6ra8fYRPnIap2kVzNjKrM gA7Rm108j7sJVKi5REjLnPVjo2sDY59s9n2z/9Qxj3fICKeKR5HxIiBzREqEjg== X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Auto-Submitted: auto-generated Precedence: list X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes