Date: Tue, 26 May 2020 07:32:34 +0200 From: Denis Salopek <denissal@freebsd.org> To: freebsd-net@freebsd.org Cc: freebsd-hackers@freebsd.org Subject: cheating with iflib Message-ID: <CA%2BQrT8QV=aWMVkj64LZSTkK=2gGjdzKxYGPS4wvxTzQqoizfbQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi everyone. I want to write a driver for NetFPGA SUME. It's a network device with 4 physical 10G interfaces connected to the host with only one PCI endpoint. Upon loading, the existing SUME Linux driver allocates four netdevs, essentially creating four different 10G 'virtual' interfaces in the OS. It then multiplexes packets based on header meta-data generated by hardware. Using iflib, is a similar thing possible on FreeBSD: can I attach four separate interfaces (or instances of iflib) without modifying the SUME hardware and "cheat" it so all four use the same PCI device? Is iflib appropriate for this? Another question: performance-wise, how good are iflib drivers when compared to non-iflib ones? Has someone benchmarked, stress-tested or compared netmap rx/fwd on ix or ixl NICs on FreeBSD 11 vs newer? Thank you, Denis
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BQrT8QV=aWMVkj64LZSTkK=2gGjdzKxYGPS4wvxTzQqoizfbQ>