From nobody Fri Nov 21 11:45:02 2025 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 4dCYLC4MZfz6H4T7 for ; Fri, 21 Nov 2025 11:45:07 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dCYLC3PW7z3LPP for ; Fri, 21 Nov 2025 11:45:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763725507; 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=RG6s5hNDQY6GN++bD45WGpy1ECd4o9jqGErYhV5HgmY=; b=U0Qd9mIN3Fn0KPFGzxfcBLoCFsDQdwCN/gB8Mlywo9E2hNdKH7U+QV+HekwOMSOFOR68OH wTm+hyt98WpQ0hohz33pe96ZXCxJe2+SqG9FLEvb2mZp35vPn9Dm5m3gjkED2OCXG4nknC kCSKcrJz0iyd0LzQ3Yp4UaRcgbTMCuWfF02QhNtiswjkRfzbb6VzcHhs6PG/4nLvzFgXJ+ QE2dOdWZ1cGnS4FbSPq+3Ad+B1m97/nAl+i6+3rALmhpZg1JEKWHK1uAVvYco7IIfIhFjK caUxTcnXRw+NI3cfY+8UxOX8DZPZI3aYfYhK0i3JwpTEgGHW9hkrWuOhx8pDWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763725507; 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=RG6s5hNDQY6GN++bD45WGpy1ECd4o9jqGErYhV5HgmY=; b=dp4MSmR9XorPfuU3YaDW9IYEklFQgbUJ8lpwKqvpsYS9IRpuJeH3tDzWEyRK0HoHYn82Rs wkoYHmN+SPYt6D+dXyZpmc5e2/iJJMHyG809N+O109OVP3dfX4dSHOjFFkBNHHFxqBtIWO /lu4Phl6JtpQDpfwFXGcdC6dYYxMAhDCgYNcrnWOb6PI6RftxNPWJX8/hKIX3YFVePZEeo PJPAIe3Jlo/AXjLZR1GTW20kRPSXHRRD8+5ilOJLy6FGY8t4fAbqbiFWAOBT+nL8pJdi47 1pyPnXuXz6Exv3Gjuo+fj+n6wqwcLicevF3B7gO/wP5/aXTMN47RoKHIEKkt2w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1763725507; a=rsa-sha256; cv=none; b=B9nHXSGU4OIEpOh6BG9FqfTWyFbgECrsLicoSwPSYAaYBn2PdvmlkqfcgUc78Ayg8UI+2t f+yWkIQlVPZ5DPgXCQF9RxYb76FnEe0waQ3S4Ff7SAywQQ6oXJuhkWaCQVji2sZ9ZUuO0h DxN9UOXFm44Bm6YU/qHjEw84vRC9bCtZ2fQ0ymrzGt6wxwMe3M+EKxbSCxqsrdGe0ZarKU Ih/sIfPDp3qYwBBBEd2qcPzc8ugLppAn/m4FoT2lSI4zH/OdRXLmITf6CnZJFLiWl5xKGR A89huzGVr/zM3ryoxc2FfNZrkp9ldceqLyGuX7lj7dAo9odutHd6W2Wfa+3iYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4dCYLC2tl4z19Sv for ; Fri, 21 Nov 2025 11:45:07 +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 5ALBj2lf086736 for ; Fri, 21 Nov 2025 11:45:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5ALBj2Bh086735 for net@FreeBSD.org; Fri, 21 Nov 2025 11:45:02 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 290793] iovctl on mlx5en won't work Date: Fri, 21 Nov 2025 11:45:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jcduss13@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D290793 --- Comment #3 from David BOYER --- Created attachment 265551 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D265551&action= =3Dedit patch for sr-iov VF in linux_pci.c On FreeBSD, the BAR size of VFs can temporarily be 0 and. This makes the lkpi_pci_request_region function exits, disabling further manipulations. This patch introduces an exception for VFs so they can work properly. A better approach would be maybe to check the size of the BAR when initiali= zing the PF. --=20 You are receiving this mail because: You are the assignee for the bug.=