Thread View: muc.lists.freebsd.bugs
6 messages
6 total messages
Started by bugzilla-noreply
Sun, 22 Nov 2026 21:24
[Bug 301018] ix(4): with SR-IOV VFs, the PF receives no broadcasts (no ARP), host becomes unreachable
Author: 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
[Bug 301018] ix(4): with SR-IOV VFs, the PF receives no broadcasts (no ARP), host becomes unreachable
Author: bugzilla-noreply
Date: Sun, 22 Nov 2026 21:24
Date: Sun, 22 Nov 2026 21:24
27 lines
2998 bytes
2998 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=301018 --- Comment #1 from Grzegorz Junka <list1@gjunka.com> --- Suggested commit message: ixgbe: Let the PF pool receive broadcasts with SR-IOV enabled ixgbe_initialize_iov() moves the PF into its own pool and enables VT mode, but only the VF pools get a receive policy (VMOLR), in ixgbe_vf_configure_vmolr(). In VT mode FCTRL.BAM alone no longer delivers broadcasts to a pool, so once VFs exist the PF receives no broadcasts: ARP requests never reach it and its addresses become unreachable as other hosts' ARP entries expire. Set VMOLR.BAM, AUPE and ROMPE for the PF's pool, as the VF pools get. PR: <number> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> -- 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
[Bug 301018] ix(4): with SR-IOV VFs, the PF receives no broadcasts (no ARP), host becomes unreachable
Author: bugzilla-noreply
Date: Sun, 22 Nov 2026 21:32
Date: Sun, 22 Nov 2026 21:32
19 lines
2683 bytes
2683 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=301018
Grzegorz Junka <list1@gjunka.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://bugs.freebsd.org/bu
| |gzilla/show_bug.cgi?id=3010
| |19
--
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
[Bug 301018] ix(4): with SR-IOV VFs, the PF receives no broadcasts (no ARP), host becomes unreachable
Author: bugzilla-noreply
Date: Sun, 22 Nov 2026 21:33
Date: Sun, 22 Nov 2026 21:33
22 lines
2717 bytes
2717 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=301018
Grzegorz Junka <list1@gjunka.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |301019
Referenced Bugs:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=301019
[Bug 301019] ix(4): with SR-IOV, VFs cannot reach the PF's own MAC address
(RAR[0] loses its pool binding)
--
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
[Bug 301018] ix(4): with SR-IOV VFs, the PF receives no broadcasts (no ARP), host becomes unreachable
Author: bugzilla-noreply
Date: Sun, 22 Nov 2026 21:37
Date: Sun, 22 Nov 2026 21:37
19 lines
2682 bytes
2682 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=301018
Grzegorz Junka <list1@gjunka.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://bugs.freebsd.org/bu
| |gzilla/show_bug.cgi?id=3010
| |20
--
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
[Bug 301018] ix(4): with SR-IOV VFs, the PF receives no broadcasts (no ARP), host becomes unreachable
Author: bugzilla-noreply
Date: Mon, 23 Nov 2026 00:46
Date: Mon, 23 Nov 2026 00:46
16 lines
2533 bytes
2533 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=301018
Mark Linimon <linimon@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|bugs@FreeBSD.org |net@FreeBSD.org
--
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads