From nobody Fri Jul 31 11:33:11 2026 X-Original-To: dev-commits-src-main@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 4hBP8737Qyz6mZlw for ; Fri, 31 Jul 2026 11:33:11 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hBP871xC5z3CFd for ; Fri, 31 Jul 2026 11:33:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785497591; 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=J6gXXyL4GcFgohcDoVRwRJO7SkXhBHT7aXsSuD9SiiM=; b=pxVsuSSyA7KhalpQ4Ymf2K4N2mGAcBJzQrhoYfmzJPUbuOm6nGEPHOQB7H5wD8Hnvq0p5P qNULny1aHA9zu0xjOvarJ6jadW3njrxcQC8yz5d6nQVuLblU2vGsIznnJWXgY+/23HEVGp 2WtvLHg2HfKZUI6SUwCAzYnJ53bJ4XZr+FOpn0Y+qt1MTc1pv6lugxkQuh/ZHOxncg5f6T BxLIVkBP2RvLoWsgoOBK3WKm3O5+W2BlNDIKsDPQaZzVqBB+k7RUFwlQMsRTtQc04YtVv7 ksveigb/d/TLaZGsidhPOpcOYVm/hEF5vGI1SRKIXg8lAordEGxjH7Te3TXYaw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1785497591; a=rsa-sha256; cv=none; b=nMOrnSojBeMOse64T91QKMfB+sMMI4PIP8vqVfjR6PweR67mJORbhwBtijOzvAJvWJ7cuc d3+Y1U+47GqYh2Uf/Hgc3Ie0o0uCNoETFLjGaicNgwEJGehFFgCSOQtFI4qboSb0F6XHWo pUYh71KvFBTEC0WY0hEUryodVawBkhTwecPMzK/FBLRXxWF9183N8Q8LH5KK9Uf5bIG4+w qVobpXkuRPbiuAtta0eygzovemTL7qIadt7dwgbCkBRyjyUKJ/xpkODXGJU1qpGS8dLClP 9l63uTbVk6+BcScgRGsIsXPl+i51mJ5g176ZayE6tVWmRij1YBvAR0+jEKCz4g== 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=1785497591; 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=J6gXXyL4GcFgohcDoVRwRJO7SkXhBHT7aXsSuD9SiiM=; b=otiIBi5ctgsFn7+y0YAcL9SRbsR5RYi8HvnNrA36Tgww8z+c3RQWsAynibt6Tn9spDDlk6 9q0njeaXQNcRwuh6GNtL8WDF6qdEipy2Ue13OKx3nQkZYzM/AGwDUT7/OZkQy7jbl5KbRP uz7o6xVfszpKzjrQRxwo/66fnO185o7qu3eQ5xjTOS2QDIIiyQRvo4m+SZfmmUR3js6AoB 7leJqGqlvoz1V33QwJd+z72PJePNUJXpKtMkOvpf+bB5lUlP+6BuuqumXipnABWablku1p OuZXfIWilFDd8LWxph986QVJlBT25tRTuAUXsBYHL8nJaSATOSjyCMUop2uiFQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hBP870yfPzyBK for ; Fri, 31 Jul 2026 11:33:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3ed08 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 31 Jul 2026 11:33:11 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kevin Bowling Subject: git: 9fc83caf48e7 - main - ixgbe: reject VF requests before CTS List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 9fc83caf48e710c3f6457cab4bdb5e6c76e8be51 Auto-Submitted: auto-generated Date: Fri, 31 Jul 2026 11:33:11 +0000 Message-Id: <6a6c87f7.3ed08.60207eb0@gitrepo.freebsd.org> The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=9fc83caf48e710c3f6457cab4bdb5e6c76e8be51 commit 9fc83caf48e710c3f6457cab4bdb5e6c76e8be51 Author: Kevin Bowling AuthorDate: 2026-07-28 11:19:47 +0000 Commit: Kevin Bowling CommitDate: 2026-07-31 11:32:56 +0000 ixgbe: reject VF requests before CTS A VF that sends a non-reset request before completing reset negotiation has not received CTS. The PF ignores the request but currently reports success, leaving the VF with a false view of the programmed state. Return failure for the ignored request. This restores the behavior lost when the mailbox helpers were renamed. Fixes: 36c516b31136 ("ixgbe: update if_sriov to use the new mailbox apis") MFC after: 1 week --- sys/dev/ixgbe/if_sriov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ixgbe/if_sriov.c b/sys/dev/ixgbe/if_sriov.c index bd27796ebcf3..8230464bd9bc 100644 --- a/sys/dev/ixgbe/if_sriov.c +++ b/sys/dev/ixgbe/if_sriov.c @@ -599,7 +599,7 @@ ixgbe_process_vf_msg(if_ctx_t ctx, struct ixgbe_vf *vf) } if (!(vf->flags & IXGBE_VF_CTS)) { - ixgbe_send_vf_success(sc, vf, msg[0]); + ixgbe_send_vf_failure(sc, vf, msg[0]); return; }