From nobody Thu Aug 31 08:42:42 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 4Rbvmy525Mz4rvP6; Thu, 31 Aug 2023 08:42:42 +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 4Rbvmy2nxPz4XV8; Thu, 31 Aug 2023 08:42:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693471362; 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=sNme/APLo6kB/7bSZbaz3X5Wx4ejmGQFoAXlcAC0ngw=; b=WqrvjXs7/XpEXTwZEBWIE5xk1Z0oFFVPthS+0dZAR18J8EWfxq3RpUupdlerlHUMN+Jy15 4bxtwZn1s865Wjqx0oLUtX8ejmA/fSTo08Luv3K7QZldIIvwu8Nurdcva6tHc1GPbMpAkc qAQ+yH2qUZDpmd+2iyD76cqbuMe0Tq5BARpfXLhoMHyOM3GKRz0Hb9T97lbohxpNGTLnWf HNkpOborg7hv7Kkmedg+DZinqDZucXZyz3yucIQAPNZL7NFtf1vNexumYZWTjXLOhuSNqd jn/1Y2foqNM9nbHV2QygJ60VQrx2Wh97Aqtfpqv9kv+WgncwpQLTK56EP7HOBQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693471362; a=rsa-sha256; cv=none; b=yCpIAegClqxeAPiAeSuso3c5Jv2h6e/u5DTX7lG8YYUfv6zjEhESIrLRoXXBmlf9UWxVE2 d5NcArSYEP5OyaLwahyxFfOmqwhhPBkZy6qYR2s9h4617v9PlqZwvRRhsESsAo1TZUIW+f wQqy62xNZ9SnizDEMrsPP+a5pVc3UQ2bv7tkMtpMDTDepY4uXbVLawwLwv3XpjtEamkey/ HKruQh5aE8kb1pR6YTNo/cf5xbfgjAWvEMOybjE5G8n27itJiWosSd8r7lglwRMwqpKXEc RxynikpWTqIPBD1LA2EeNoIUKMb5m08bXPjCIV1Z8Np6aXHqTra6JA4dw6ojDw== 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=1693471362; 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=sNme/APLo6kB/7bSZbaz3X5Wx4ejmGQFoAXlcAC0ngw=; b=ySlOdn2sbb7mjilJGpIovKtjdoADuCwSzcSoLKwc90fLvVAOlIjjBDhoJx9rDrMxMSKRwx y+kd4r6tV7me29V87aSmIQ/w0WB1DQC47/BNoQy8OKj5cKAJpGgj21hr55A/9lNdC/mX7W 1t7ss11FktbO2PUyh9CFtCD40lgTCbgqR1DpicK9ANkaWy4WzCYBm+5QJNMrrvPe0YwVgI Dc6ShFSWifktlBL5zHeTpyJWrdjJSALZBrAqdn0vXJ8SKOGr2UmP/hqJwUhRgPRSFJXuLs EPRe6bNtdD8SSlIVv2drS3fHMUpOdLYfVTll6k8l3Mt2K15MWElYKmS7S8zjfw== 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 4Rbvmy1tx9z19pJ; Thu, 31 Aug 2023 08:42:42 +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 37V8gg1H066070; Thu, 31 Aug 2023 08:42:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37V8ggwU066067; Thu, 31 Aug 2023 08:42:42 GMT (envelope-from git) Date: Thu, 31 Aug 2023 08:42:42 GMT Message-Id: <202308310842.37V8ggwU066067@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kristof Provost Subject: git: 8c1274138a20 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 8c1274138a20ee2342c4f217adb605e3abc14042 Auto-Submitted: auto-generated The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=8c1274138a20ee2342c4f217adb605e3abc14042 commit 8c1274138a20ee2342c4f217adb605e3abc14042 Author: Kristof Provost AuthorDate: 2023-08-31 07:32:54 +0000 Commit: Kristof Provost CommitDate: 2023-08-31 08:42:29 +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 Sponsored by: Rubicon Communications, LLC ("Netgate") --- 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); }