From nobody Thu Sep 07 19:27:02 2023 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 4RhTlB65KCz4sGvV; Thu, 7 Sep 2023 19:27:02 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RhTlB5dsKz3fxR; Thu, 7 Sep 2023 19:27:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694114822; 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=DpdU8THBACiVJ0klJ6sWwnldrTStUT0D8doVaZDsajk=; b=vxmzRS3VTuRV4aNLIWSZYvCcc6VFXrfWVmwZ20gBxB71RnDhAL4dGe9kPeCza0vsftseU1 yCjG/9EBmbk6Xa6ZzrmVjSEU6WrxAIJ93U0olEBzNySzo+BXkXcem5AREv/V2LaQ+FNfcr 7mN6lvoUf8sQd7JKr/Q0QbmXY8mMd0xxf9hWzEagr17Z88a6EsIA+RuwewIUiLtL74nwM0 m3hXaa4r4ZjXWwNTcEX1lE+pYwwmnBfOuOZHuy2Atye1/7hlin7+m9kJP2FJLecKM1WOMU MuSlJuLQqtJgwWlBqMYzRQJ/2PYOmQRlzqTm3mzcBUm2G+YpiK9ucVokMlebbw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694114822; a=rsa-sha256; cv=none; b=O9dIVsPsgfWzYjD+S/bmU7904TxV5b1piX6lk8FwLIhhRhWYfZy/Kq64YnWidA7hxDlRnv Xh8wQaIGNRIHOiMqb/ZfitqUi6mKxp5hfrART6owC+qfaQ2epNU8elJqVYGk1YGxNjKoJ2 dTE1AlUopqaat9adt/ojqtikTiMErzkuaFA1/AQjtjv5KmbCKZyvIPYPjJ9ijf2rljTVIb lv6liRypditlAe25uyrcoEebR01i/C7/3Z9pZqERPTvmbXrU59DCd1yyUPvijdEq3Zee8J FljPtNYWPGbnxmHbbBo/49J72OY9HvTiB1uIe2qpfOrGlEHGlP2+fFrFGPnlOQ== 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=1694114822; 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=DpdU8THBACiVJ0klJ6sWwnldrTStUT0D8doVaZDsajk=; b=hcQ1rsdW58U65y1Z334sMZRnWEz8kfhVNyGzZLiGn+6NJJjBeFywZy+GFO6i6busr5bgKs PizR2IISQSEycbizJs6WKNbe8I2NNGZm5WyozXjdGyTzndvcpY/optb/VYdvv8u1pWBKBy RlQiDuwbW/3pN/5bN2LUw8n8oI93O8IoUeKIW2CRDFnTfm9Uq78h3axxpupVwgCCd4jj64 LJXDdnNMFpzSRW6OpOsMAGPwHxLnUnWwLXWHGh+ky1hFeHfTO3kqoS5oFYW20Py2yHlX4S A31nvr5FJ1MuM6KtI1EtXX/waRcJmB/98vTXhCFy0mphRCV5PwIraIR7/DA7nw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RhTlB4l4Xz1BN4; Thu, 7 Sep 2023 19:27:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 387JR2Gm065276; Thu, 7 Sep 2023 19:27:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 387JR2W6065273; Thu, 7 Sep 2023 19:27:02 GMT (envelope-from git) Date: Thu, 7 Sep 2023 19:27:02 GMT Message-Id: <202309071927.387JR2W6065273@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kristof Provost Subject: git: 70323196c2b1 - stable/14 - vmxnet3: do restart on VLAN changes 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kp X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 70323196c2b1969a69b5888519d0375882fc8ca9 Auto-Submitted: auto-generated The branch stable/14 has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=70323196c2b1969a69b5888519d0375882fc8ca9 commit 70323196c2b1969a69b5888519d0375882fc8ca9 Author: Kristof Provost AuthorDate: 2023-08-31 07:32:54 +0000 Commit: Kristof Provost CommitDate: 2023-09-07 19:26:05 +0000 vmxnet3: do restart on VLAN changes At least one user reports issues with vmx interfaces after 725e4008ef, where we default to not resetting the interface on VLAN changes. This was on an ESXi 7.0.3 setup. Reported by: Marcos Mendoza MFC after: 1 week Approved by: re (gjb) Sponsored by: Rubicon Communications, LLC ("Netgate") (cherry picked from commit 8c1274138a20ee2342c4f217adb605e3abc14042) --- sys/dev/vmware/vmxnet3/if_vmx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/vmware/vmxnet3/if_vmx.c b/sys/dev/vmware/vmxnet3/if_vmx.c index 2c3530a217f3..fdcad0dd4bba 100644 --- a/sys/dev/vmware/vmxnet3/if_vmx.c +++ b/sys/dev/vmware/vmxnet3/if_vmx.c @@ -2513,6 +2513,7 @@ vmxnet3_if_needs_restart(if_ctx_t ctx __unused, enum iflib_restart_event event) { switch (event) { case IFLIB_RESTART_VLAN_CONFIG: + return (true); default: return (false); }