Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 2025 11:45:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 290793] iovctl on mlx5en won't work
Message-ID:  <bug-290793-7501-lD35uWruwF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-290793-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-290793-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290793

--- Comment #3 from David BOYER <jcduss13@gmail.com> ---
Created attachment 265551
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=265551&action=edit
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 initializing
the PF.

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-290793-7501-lD35uWruwF>