Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port netmap code to Linux #800

Merged
merged 1 commit into from Mar 1, 2024
Merged

Port netmap code to Linux #800

merged 1 commit into from Mar 1, 2024

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
7 checks passed
@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.

None yet

2 participants