Linux kernel framework for PCIe device emulation, in userspace

github.com

115 points by 71bw 6 hours ago


tiernano - 4 hours ago

Hmmm.... Wondering if this could be eventually used to emulate a PCIe card using another device, like a RaspberryPi or something more powerful... Thinking the idea of a card you could stick in a machine, anything from a 1x to 16x slot, that emulates a network card (you could run VPN or other stuff on the card and offload it from the host) or storage (running something with enough power to run ZFS and a few disks, and show to the host as a single disk, allowing ZFS on devices that would not support it). but this is probably not something easy...

- 3 hours ago
[deleted]
agent013 - 41 minutes ago

I've been burned before by driver bugs that only manifested under very specific timing conditions or malformed responses from the device, tnx

Surac - 4 hours ago

that is a huge win if you are developing drivers or even real hardware. it allows to iterate on protokols just with the press of a button

throwaway132448 - 4 hours ago

Tangential question: PCIe is a pretty future-proof technology to learn/invest in, right? As in, it is very unlikely to become obsolete in the next 5-10 years (like USB)?

- 3 hours ago
[deleted]