[Bug 290793] iovctl on mlx5en won't work

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290793

--- Comment #3 from David BOYER <[email protected]> ---
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.