vlib: Add a skeleton pci interface for FreeBSD 73/40473/5
authorTom Jones <thj@freebsd.org>
Tue, 30 Jan 2024 10:39:23 +0000 (10:39 +0000)
committerDamjan Marion <dmarion@0xa5.net>
Wed, 24 Apr 2024 12:31:24 +0000 (12:31 +0000)
commitb2a357bc1faf6e403f348f14e4eaf2687cbfaa6a
tree61085f39ad273befd0bc8e4b3b9fba08660b184f
parent154e19c09a914ef715080104a5e80e7bde3c70c3
vlib: Add a skeleton pci interface for FreeBSD

Implement a subset of the pci interface with unimplemented methods
marked with a comment. This is enough functionality to allow dpdk to
attach to pci devices and forward traffic on FreeBSD.

Type: improvement
Change-Id: I0d87778cd92ae332a6802c11083d3d99988678a1
Signed-off-by: Tom Jones <thj@freebsd.org>
src/vlib/freebsd/pci.c [new file with mode: 0644]