From nobody Fri Jul 31 11:33:11 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 4hBP8F0MrLz6mZwK for ; Fri, 31 Jul 2026 11:33:17 +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 4hBP8D2vJYz3CTg for ; Fri, 31 Jul 2026 11:33:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785497596; 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=cfYLm9c3/SieQ0wDof97hCr1sc8dqszwC75aA9mA4wq3ogDusSYBIXZok2O1rsyIgtAVV6 W3Md+109K1motkEuHrjJIGdRtFPdmrjq/JPyNmHg/qssfIkTNnd4+K0jjf6sQ7nzQW+er+ 3Gp7hcsFweCSiQbSkCtXRjSf4M04nRAg6Rvh2poRr3wb23Add/xpcGwV93jMSNGcM9PBKv eFD6CfcqI1g1zBD6v/kOse0YRI/L45jAgTjJpZkCYZsrsNBklr2zme/+zW4zQhDESxZq0D cxd8svvzg6RDX46AzqRwFGV/+MMjQrAtezsXIhurdVhTTqwGthUTE2MKBmALig== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1785497596; a=rsa-sha256; cv=none; b=rhvnscrfD78YGYCtUtmsdh0bKWChTV3PLb5bUJpBF2lPOb0b8rdL9oSv2E8KRpIUFrsgyi IPGDecZHEDOZz9uI3lfnXrEDn38/X4NaeBtPw4awqYJZ7Vq9AfJNaqKiHZqGPg7LkuaFiJ oX4Rn89xRu0YFCQoNbWEiS2x7eByT5/9UMCcoXz2tqeogCUTg8R7pPpgx8xb6Cp5763MNN 2wPOz3UTJgg0oTDEcMg4+t9j+cTIgTZ4XTzqdS5IJOKY3tuj+BBIXit6u0Oa+tYL4N5HOH i6iDOMbUvEU5z5bTs5tHK6DNEQCqwA3rYcFSQyTEoFcnKnwxVgth0YSw8zDz2A== 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=1785497596; 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=HYFDdB6BPJn1UytcEx0gUu7D0cDAUvrDMR9Ghl94iH4F2Te7dC9miT9sqfSqa74b8+QbnW bdlgKQIz12HJ9fvsd6fRseltqOEMldrh0hYYJUy3H9pdXVpLe0Vj2mh7yvUCoiKwATM2lU jPsIg87pPY/JfXetNjQZFkudwH+N/TJSeUPiDXBfT2MObMOdPfK8Kih/lGYSVo4qpiIxcc 4YRkBLjRYb5XqXlEIMMOUzc5XAJiTQKjv2sRM82jpgTX9i9ZT89qpZOdV8m7lPVzkbNEzo UJfNGYzv0WEQ77IHEtRzXBuJtIhAMuG0qPkE8W1PkBcTFifLKGzsuJZq6UUStA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hBP8D1Bn0zxkD for ; Fri, 31 Jul 2026 11:33:16 +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 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/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; }