Skip to content

Instantly share code, notes, and snippets.

@rbtcollins
Last active June 3, 2016 10:39
Show Gist options
  • Save rbtcollins/8de642a5a5a0d87a6e904acc7437775e to your computer and use it in GitHub Desktop.
Save rbtcollins/8de642a5a5a0d87a6e904acc7437775e to your computer and use it in GitHub Desktop.
pkt-get on eth0
```
[ 171.678486] 373.942625 [3255] netmap_init run mknod /dev/netmap c 10 53 # error 0
[ 171.678530] netmap: loaded module
[ 191.078585] 393.342827 [1190] generic_netmap_attach Created generic NA ffff8801f913b000 (prev (null))
[ 191.112529] 393.376778 [2013] netmap_do_regif lut ffffc90000ffb000 bufs 163840 size 2048
[ 191.112579] 393.376827 [ 390] generic_netmap_register Generic adapter ffff8801f913b000 goes on
[ 191.112615] 393.376862 [ 441] generic_netmap_register RX ring 0 of generic adapter ffff8801f913b000 goes on
[ 191.112652] 393.376897 [ 451] generic_netmap_register TX ring 0 of generic adapter ffff8801f913b000 goes on
[ 191.113897] 393.378080 [ 475] generic_qdisc_init Qdisc #0 initialized with max_len = 1024
[ 195.116562] 397.380813 [ 286] generic_netmap_unregister Generic adapter ffff8801f913b000 goes off
[ 195.116623] 397.380874 [ 305] generic_netmap_unregister RX ring 0 of generic adapter ffff8801f913b000 goes off
[ 195.116667] 397.380916 [ 323] generic_netmap_unregister TX ring 0 of generic adapter ffff8801f913b000 goes off
[ 195.117204] 397.381426 [1118] generic_netmap_dtor Restored native NA (null)
r
```
eth0^ without my != -> == patch
```
[ 3626.267071] 358.915810 [1190] generic_netmap_attach Created generic NA ffff8801f6ffa000 (prev (null))
[ 3626.323267] 358.971985 [2013] netmap_do_regif lut ffffc90000ff8000 bufs 163840 size 2048
[ 3626.323319] 358.972037 [ 390] generic_netmap_register Generic adapter ffff8801f6ffa000 goes on
[ 3626.323371] 358.972087 [ 475] generic_qdisc_init Qdisc #0 initialized with max_len = 1024
[ 3634.334195] 366.983047 [1118] generic_netmap_dtor Restored native NA (null)
```
eth0^ with my != -> == patch
```
[ 803.142116] 182.307000 [1190] generic_netmap_attach Created generic NA ffff8801f905b800 (prev (null))
[ 803.196215] 182.361194 [2013] netmap_do_regif lut ffffc90000fd2000 bufs 163840 size 2048
[ 803.196267] 182.361251 [ 390] generic_netmap_register Generic adapter ffff8801f905b800 goes on
[ 803.196317] 182.361298 [ 475] generic_qdisc_init Qdisc #0 initialized with max_len = 1024
[ 812.204965] 191.369933 [1102] generic_netmap_dtor Released generic NA ffff8801f905b800
[ 812.204998] 191.369967 [1118] generic_netmap_dtor Restored native NA (null)
```
```
@rbtcollins
Copy link
Author

Thats cool; I've made some progress (posted in the bug since its definitely useful :)). I'm off to sleep now :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment