From nobody Sat Aug 22 00:27:13 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4hRdKZ1HtMz6pq8T for ; Sat, 22 Aug 2026 00:27:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hRdKY2g7sz3F69 for ; Sat, 22 Aug 2026 00:27:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1787358433; 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=9238DcV8duYlMzZ8keU1VNQ5FtqCtC0FExcpcKddB4Y=; b=W81pZHz9mLufe8wGbHzwj8WSg1fgGrLO5ojgRzcnwmNSLpLqAjOsOOgEhteUadTcfux0fB sLTN75DMDst/9x95DsT8TBNZpsvYtWavQE7SQJ6ddxv2+kZ4wyNjtDNVDA46dMQXd83ySo 8BieunWFeuNeU4hSQ0t02N9/dNxeQx9LxwaxFNntZN6B3qhKlPrvQ10nOIiAkXHD+ifHEC A1j3TjZsJYn0H7hyFYlVDwgZvNuB9fVAXq6y1wiOr1xGVdkQeG1QvdfHlLHX/ACAeVdXVY f1iOW/rql4bQ246VO56e+AWbCqV1uWDl24ab5vGFAMi98wXhCwZU4Oj8IUtKNA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1787358433; a=rsa-sha256; cv=none; b=XOvppxvK15YMf/1VQc4OWc9d0mS1PtlzBz9061SdSdTeVuFxF8cfEBhDDi1v45ynOFLWGl 9GgTEwsIJPJYTJ8xMIR8tkzGLGfybW222kTXs9wPd+uCJtqOqEKFepql3kT4HtFZ9A2e0/ 3PKTVJds7vAtEv3NIqh0PLx9BSVCT4FIMbsX3aKruoY+6fij0oGRe4/kCucbH/n9vTIH8+ DcBHscVToxCegIhVeDfw2ApzgjlPqV0shMSBte2hnXYOmynZZtUpO4vN/fn3FP7DEOVgHc MEemoa463ZBdy5psdHJn+0PzEkLE7iIwqKgEMT+mNVdp8pFo/Y9QQRfzfIqawg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1787358433; 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=9238DcV8duYlMzZ8keU1VNQ5FtqCtC0FExcpcKddB4Y=; b=woF1F3gdFFOVxvl2p47WUI74gpqtXh3X0QmjtlOamkjNOUrzGxrrmM6+i4BVxwNhnsqzWm rGOB60+a1Jh82mkquIuRCrbMzluAbsjRRn36aQYkkG3RpxP7lmJdtHlgawezksS/LFaWQ9 qYkrs+/mNsunTfwVa63OVnNnpoprFOJ1SbO86k8WaoRZT3wg5XhyabPgXz0aC/y7cOvrz6 5G37uB82BQFXRMCeHxPZtYKX8pmclgo+IZx4C7WS73qoK4X+uzObyqBAthsJc+DrSOPvti W4HLDufqZ/zQJDhh4xq44yzeq+CnOx6uh8XvyjzZ4TI9HCFi8PgBAKaPzav3VA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hRdKY1QgHzB79 for ; Sat, 22 Aug 2026 00:27:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 235cd by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 22 Aug 2026 00:27:13 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kevin Bowling Subject: git: b60342f85dee - stable/15 - ixgbe: Reject Flow Director with SR-IOV List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kbowling X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: b60342f85deeaf2fe2c3e283d44c479740001a9f Auto-Submitted: auto-generated Date: Sat, 22 Aug 2026 00:27:13 +0000 Message-Id: <6a88ece1.235cd.5ab7b92b@gitrepo.freebsd.org> The branch stable/15 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=b60342f85deeaf2fe2c3e283d44c479740001a9f commit b60342f85deeaf2fe2c3e283d44c479740001a9f Author: Kevin Bowling AuthorDate: 2026-08-08 11:11:09 +0000 Commit: Kevin Bowling CommitDate: 2026-08-22 00:26:53 +0000 ixgbe: Reject Flow Director with SR-IOV The iflib Flow Director path does not assign filters using the absolute queue and pool identifiers required by SR-IOV. Reject the combination during preflight validation rather than allowing an unsupported configuration to alter the PF receive path. The loader tunable is fixed before VFs can be created, so validation also prevents the reverse ordering of this combination. (cherry picked from commit c017bceda48c766780ab1d2239b296242fcf9cf2) --- share/man/man4/ix.4 | 3 ++- sys/dev/ixgbe/if_sriov.c | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/share/man/man4/ix.4 b/share/man/man4/ix.4 index 822a8040caf4..33b723c0fcd2 100644 --- a/share/man/man4/ix.4 +++ b/share/man/man4/ix.4 @@ -29,7 +29,7 @@ .\" .\" * Other names and brands may be claimed as the property of others. .\" -.Dd August 7, 2026 +.Dd August 8, 2026 .Dt IX 4 .Os .Sh NAME @@ -168,6 +168,7 @@ Enable Flow Director. Flow Director directs Ethernet packets to the core where the packet consuming process, application, container, or microservice is running. +SR-IOV configuration is rejected when Flow Director is enabled. .It Va hw.ix.enable_rss Enable Receive-Side Scaling (RSS). When RSS is enabled, all of the receive data processing for diff --git a/sys/dev/ixgbe/if_sriov.c b/sys/dev/ixgbe/if_sriov.c index ff873d4652f8..4e98b2b5de0c 100644 --- a/sys/dev/ixgbe/if_sriov.c +++ b/sys/dev/ixgbe/if_sriov.c @@ -1698,6 +1698,11 @@ ixgbe_iov_validate(struct ixgbe_softc *sc, u16 num_vfs) if (sc->vfs != NULL || sc->vf_mac_filters != NULL || (sc->feat_en & IXGBE_FEATURE_SRIOV)) return (EBUSY); + if (sc->feat_en & IXGBE_FEATURE_FDIR) { + device_printf(sc->dev, + "Flow Director is not supported with SR-IOV\n"); + return (ENOTSUP); + } if (sc->intr_type != IFLIB_INTR_MSIX) { device_printf(sc->dev, "SR-IOV requires MSI-X\n"); return (ENOTSUP);