Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/higebu/virtio_net-xdp-metadata-test
https://github.com/higebu/virtio_net-xdp-metadata-test
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/higebu/virtio_net-xdp-metadata-test
- Owner: higebu
- Created: 2020-02-19T01:35:39.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-25T06:50:56.000Z (almost 5 years ago)
- Last Synced: 2024-10-04T19:44:30.601Z (4 months ago)
- Language: Shell
- Size: 21.4 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# virtio_net-xdp-metadata-test
Test scripts for virtio_net XDP meta data support.
## Setup
* Install virtme
See https://github.com/amluto/virtme
* Download and build patched kernel.
```
./download_kernel.sh
./build_kernel.sh
```## Test
### XDP_PASS
* for receive_small()
```
./run-test.sh
```* for receive_mergeable()
```
./run-test.sh --receive_mergeable
```### XDP_TX
* start a vm
```
./run-vm.sh
```* setup guest in the vm
```
./setup_guest.sh
```* setup host
```
./setup_host.sh
```* check the result of ping to guest from host
```
ping 10.0.1.2
```## TODO
* [x] tests for XDP_PASS
* [x] tests for XDP_TX
* [ ] tests for XDP_REDIRECT