From nobody Sat Apr 30 20:51:26 2022 X-Original-To: net@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 B6B0B199DCE9 for ; Sat, 30 Apr 2022 20:51:27 +0000 (UTC) (envelope-from bugzilla-noreply@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 4KrM33425Cz4XD2 for ; Sat, 30 Apr 2022 20:51:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 6A77D685 for ; Sat, 30 Apr 2022 20:51:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 23UKpRvP032454 for ; Sat, 30 Apr 2022 20:51:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23UKpRG4032453 for net@FreeBSD.org; Sat, 30 Apr 2022 20:51:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 234073] ixl: SR-IOV causes "Malicious Driver Detection event" when not all VFs are in passthrough mode Date: Sat, 30 Apr 2022 20:51:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: IntelNetworking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: benoitc@enki-multimedia.eu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651351887; 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: in-reply-to:in-reply-to:references:references; bh=MyV/2jtcQYJHAXLfK9KCcmLLhJR6j0SWfqt4GhKDy0M=; b=Tn4JhYeuKxVudeRdB5cZ/419LJR6TFz+OGZWxI4AUStJlCtIP6t5TXxfTFW1STm24gH/k0 GDc8+W3ZPJGFN8xzBvfrXlL2Ip/OyzoUvZKFQ1xE07NFltRVLnQ+l1CqxYDzGdWl2YemNr s3baNgYw32fc6iolH2ZJ/A+gGQncwR/g0Tyfcp+/e/ldB3UzloeS7Xpxe2trrX7Y4RsxqE mMFKrzP+0KptjdkC6fe6fNNKUysPtStA90OM7TCm2Pto6DRFD/lQxW+pHxFayL3xnUCk7H puOCz9zjFvqdCcQDmP3iB9ouUX4N1eWHMSXxbFUyfhAG7uXuATisKIqQE98RmQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651351887; a=rsa-sha256; cv=none; b=V89onkmi21yAAeZzwLZlZFEWPVdiqOyZLamoTNjekmBy6va9Beq6rqenf8E5K5sB/jIjwo JYcarmbrB1ig5AnfLAYZNa4jjRbIhj9GCIltj8gJ4S8eTaqDaGBIG3p+ETj3wvfzmWtkkH 2Cum6gONlfTc7dAdJ2TcUEEq8iLWqJQSS9Vsq8N/uMCG4qji3xX9A1mTIK3l+WX5NvMHhN dWcdRAK6YLjgjo4thbskkAd0wFQN8dYsSqYIEAF+ix3jGrKr/v0z6IYFQA7j9C0r+g7nay 7J4gC8dAuKqxdjAtKpGlxBgyZy7EDzKnHkTa0nPJkO03UEIz93qOClhD5Bm8ig== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234073 --- Comment #16 from benoitc --- SO I tried the following experience:=20 1. start the bhyve VM with 2 passtrhrough device 2. launch dhclient to get an ip on VF-0 I got the following error: ``` Apr 30 22:40:55 pollen1 kernel: iavf0: Unable to send opcode CONFIG_RSS_KEY= to PF, ASQ is not alive Apr 30 22:40:55 pollen1 kernel: iavf0: Unable to send opcode SET_RSS_HENA to PF, ASQ is not alive Apr 30 22:40:55 pollen1 kernel: iavf0: Unable to send opcode CONFIG_RSS_LUT= to PF, ASQ is not alive Apr 30 22:40:55 pollen1 kernel: iavf0: Unable to send opcode CONFIG_IRQ_MAP= to PF, ASQ is not alive Apr 30 22:40:55 pollen1 kernel: iavf0: Unable to send opcode CONFIG_PROMISCUOUS_MODE to PF, ASQ is not alive Apr 30 22:40:55 pollen1 kernel: iavf0: Unable to send opcode ENABLE_QUEUES = to PF, ASQ is not alive Apr 30 22:40:55 pollen1 kernel: iavf0: ARQ Critical Error detected Apr 30 22:40:55 pollen1 kernel: iavf0: ASQ Critical Error detected Apr 30 22:40:55 pollen1 kernel: iavf0: WARNING: Stopping VF! Apr 30 22:40:55 pollen1 kernel: iavf0: Unable to send opcode RESET_VF to PF, ASQ is not alive Apr 30 22:40:55 pollen1 kernel: iavf0: 1 timed out Apr 30 22:40:55 pollen1 kernel: iavf0: Unable to send opcode ADD_ETH_ADDR to PF, ASQ is not alive Apr 30 22:40:55 pollen1 kernel: iavf0: Unable to send opcode DEL_ETH_ADDR to PF, ASQ is not alive Apr 30 22:40:55 pollen1 kernel: iavf0: Unable to send opcode ADD_ETH_ADDR to PF, ASQ is not alive Apr 30 22:40:55 pollen1 kernel: iavf0: Unable to send opcode DEL_ETH_ADDR to PF, ASQ is not alive Apr 30 22:40:55 pollen1 kernel: iavf0: Unable to send opcode ADD_ETH_ADDR to PF, ASQ is not alive Apr 30 22:40:55 pollen1 kernel: iavf0: Unable to send opcode DEL_ETH_ADDR to PF, ASQ is not alive Apr 30 22:40:55 pollen1 kernel: iavf0: Unable to send opcode ADD_ETH_ADDR to PF, ASQ is not alive Apr 30 22:40:55 pollen1 kernel: iavf0: Unable to send opcode DEL_ETH_ADDR to PF, ASQ is not alive Apr 30 22:40:55 pollen1 kernel: iavf0: Unable to send opcode ADD_ETH_ADDR to PF, ASQ is not alive Apr 30 22:40:55 pollen1 kernel: iavf0: Unable to send opcode DEL_ETH_ADDR to PF, ASQ is not alive Apr 30 22:40:55 pollen1 kernel: iavf0: Unable to send opcode ADD_ETH_ADDR to PF, ASQ is not alive Apr 30 22:40:55 pollen1 bird[3179]: KIF: Invalid interface address 0.0.0.0 = for iavf0 Apr 30 22:40:55 pollen1 kernel: iavf0: Unable to send opcode DEL_ETH_ADDR to PF, ASQ is not alive Apr 30 22:40:55 pollen1 bird[3179]: KIF: Invalid interface address 0.0.0.0 = for iavf0 Apr 30 22:40:55 pollen1 kernel: iavf0: Unable to send opcode ADD_ETH_ADDR to PF, ASQ is not alive Apr 30 22:40:55 pollen1 kernel: iavf0: Unable to send opcode DEL_ETH_ADDR to PF, ASQ is not alive Apr 30 22:40:55 pollen1 kernel: iavf0: Unable to send opcode ADD_ETH_ADDR to PF, ASQ is not alive Apr 30 22:41:14 pollen1 dhclient[6008]: connection closed ``` Configuration is the following ``` PF { device: "ixl0"; num_vfs: 8; } DEFAULT { passthrough: true; allow-set-mac: true; allow-promisc: true; } VF-0 { passthrough: false; mac-addr: "xx:xx:xx:xx:xx:xx"; } VF-1 { passthrough: false; mac-addr: "xx:xx:xx:xx:xx:xx"; } VF-2 { passthrough: false; mac-addr: "xx:xx:xx:xx:xx:xx"; } ``` --=20 You are receiving this mail because: You are the assignee for the bug.=