Skip to content

Port netmap code to Linux#800

Merged
zakird merged 1 commit intozmap:mainfrom
droe:droe/netmap-linux
Mar 1, 2024
Merged

Port netmap code to Linux#800
zakird merged 1 commit intozmap:mainfrom
droe:droe/netmap-linux

Conversation

@droe
Copy link
Contributor

@droe droe commented Mar 1, 2024

Restructure netmap code into generic code and OS-specific support code.

Port OS-specific support code to Linux.

Linux port tested and seems to work well on Ubuntu 23.10 with netmap kernel modules and drivers added, on a arm64 VM with vmxnet3 NIC. Results for virtual e1000 and e1000e NICs varied due to what I root caused to issues with netmap patches for Linux drivers, not with code in ZMap. Untested on bare metal or fast link speeds so far.

Tested to build and run on FreeBSD 14.0, Ubuntu 23.10 and macOS Sonoma, without and with -DWITH_NETMAP where applicable.

Restructure netmap code into generic code and OS-specific support
code.  Port OS-specific support code to Linux.

Linux port tested and seems to work well on Ubuntu 23.10 with netmap
kernel modules and drivers added, on arm64 with UTM and vmxnet3.
Results for e1000 and e1000e varied due to bad Linux drivers.
Untested on bare metal or fast link speeds so far.
@zakird zakird merged commit cae5e39 into zmap:main Mar 1, 2024
@droe droe deleted the droe/netmap-linux branch March 11, 2024 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants