opnsense-src/sys
Michal Krawczyk 1c808fcd85 Allocate BAR for ENA MSIx vector table
In the new ENA-based instances like c6gn, the vector table moved to a
new PCIe bar - BAR1. Previously it was always located on the BAR0, so
the resources were already allocated together with the registers.

As the FreeBSD isn't doing any resource allocation behind the scenes,
the driver is responsible to allocate them explicitly, before other
parts of the OS (like the PCI code allocating MSIx) will be able to
access them.

To determine dynamically BAR on which the MSIx vector table is present
the pci_msix_table_bar() is being used and the new BAR is allocated if
needed.

Submitted by: Michal Krawczyk <mk@semihalf.com>
Obtained from: Semihalf
Sponsored by: Amazon, Inc
MFC after: 3 days
2021-02-18 13:54:36 +01:00
..
amd64 Add a VA_IS_CLEANMAP() macro. 2021-02-17 16:32:11 -08:00
arm Add a VA_IS_CLEANMAP() macro. 2021-02-17 16:32:11 -08:00
arm64 Add a VA_IS_CLEANMAP() macro. 2021-02-17 16:32:11 -08:00
bsm Add aio_writev and aio_readv 2021-01-02 19:57:58 -07:00
cam cam: Properly find the sim in the assertion in xpt_pollwait(). 2021-02-11 14:06:58 -08:00
cddl arm64: Improve DDB backtrace support 2021-02-01 14:15:57 +00:00
compat linux: Unmap the VDSO page when unloading 2021-02-16 09:40:02 -05:00
conf xen/efi: introduce a PV interface for EFI run time services for dom0 2021-02-16 15:26:12 +01:00
contrib zfs: change file mode of all merged tests 2021-02-16 12:23:43 +01:00
crypto OpenSSL: Regen assembly files for OpenSSL 1.1.1j 2021-02-17 00:35:11 -05:00
ddb ddb: add ability to print user registers 2021-01-08 14:53:06 -04:00
dev Allocate BAR for ENA MSIx vector table 2021-02-18 13:54:36 +01:00
dts Remove DTS files for arm boards we don't support 2021-01-27 10:02:01 +00:00
fs Enforce net epoch in in6_selectsrc(). 2021-02-15 22:33:12 +00:00
gdb gdb(4): allow bulk write of registers 2020-12-23 14:37:05 -04:00
geom opencrypto: Introduce crypto_dispatch_async() 2021-02-08 09:19:19 -05:00
gnu Remove the old dts imported tree. 2021-01-15 20:09:55 +01:00
i386 Add a VA_IS_CLEANMAP() macro. 2021-02-17 16:32:11 -08:00
isa
kern lockf: ensure atomicity of lockf for open(O_CREAT|O_EXCL|O_EXLOCK) 2021-02-18 01:22:05 +02:00
kgssapi opencrypto: Introduce crypto_dispatch_async() 2021-02-08 09:19:19 -05:00
libkern Restore the augmented strlen commentary 2021-02-08 19:15:21 +00:00
mips Add a VA_IS_CLEANMAP() macro. 2021-02-17 16:32:11 -08:00
modules zfs: merge OpenZFS master-436ab35a5 2021-02-16 02:46:28 +01:00
net Fix NOINET6 build broken by 2fe5a79425. 2021-02-16 21:49:48 +00:00
net80211 net80211: fix a typo 2020-11-04 12:07:33 +00:00
netgraph netgraph/ng_bridge: Add counters for the first link, too 2021-02-10 19:05:37 +01:00
netinet fix Navdeeps LINT_NOINET error. 2021-02-18 07:29:12 -05:00
netinet6 Remove per-packet ifa refcounting from IPv6 fast path. 2021-02-15 22:33:12 +00:00
netipsec Revert "SO_RERROR indicates that receive buffer overflows should be handled as errors." 2021-02-08 22:32:32 +00:00
netpfil pf: Fix osfp configuration 2021-02-18 08:38:28 +01:00
netsmb
nfs
nfsclient
nfsserver nfs: Mark unused statistics variable as reserved 2020-11-18 04:35:49 +00:00
nlm
ofed Fix mismerge in OFED update 2021-02-04 13:58:24 -05:00
opencrypto ktls: Avoid wakeups and locking for synchronous callbacks 2021-02-08 09:19:27 -05:00
powerpc Add a VA_IS_CLEANMAP() macro. 2021-02-17 16:32:11 -08:00
riscv Add a VA_IS_CLEANMAP() macro. 2021-02-17 16:32:11 -08:00
rpc nfs-over-tls: handle res.gid.gid_val correctly for memory allocation 2021-01-12 13:59:52 -08:00
security Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
sys mips: Don't set __NO_TLS to disable some uses of TLS. 2021-02-17 16:34:23 -08:00
teken loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
tests Enable running fib tests inside vnet jail. 2021-01-17 20:32:26 +00:00
tools syscalls.master: Add a new syscall type: RESERVED 2021-01-26 18:27:44 +00:00
ufs UFS snapshots: properly set the vm object size. 2021-02-16 07:11:52 +02:00
vm Add a VA_IS_CLEANMAP() macro. 2021-02-17 16:32:11 -08:00
x86 xen/boot: allow specifying boot method when booted from Xen 2021-02-16 15:26:11 +01:00
xdr
xen xen: remove .swp file from public headers 2021-01-11 18:14:11 +01:00
Makefile