Skip to content

Instantly share code, notes, and snippets.

View emmericp's full-sized avatar

Paul Emmerich emmericp

  • Munich, Germany
  • 17:03 (UTC +02:00)
View GitHub Profile
_G.developer_debug = true
module(..., package.seeall)
local VirtioNet = require("apps.virtio_net.virtio_net").VirtioNet
function run(parameters)
if not (#parameters == 2) then
print("Usage: example_replay <nic1> <nic2>")
main.exit(1)
#!/bin/bash
rm -rf x86_64-native-linuxapp-gcc/
make -j12 install T=x86_64-native-linuxapp-gcc
(
cd ../tx-bench
make clean
make
./build/txbench -c 0x1 -n 4 -w 06:00.0 -w 06:00.1 -- -s 0 1 &
sleep 12