-
Notifications
You must be signed in to change notification settings - Fork 7
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
Xen/ClickOS optimizations on igb/e1000 ? #4
Comments
Hum, in principle it should work since netmap already has support for running under Xen. Could you paste Thanks! |
Thx for the feedback, I do like this: after starting clickos, checking with this is example.cfg this is the click script test-device.click: When I use pkt-gen to generate some traffic on the same vale0 switch, But when I try to send something from another machine to eth0, no packets are printed... so I assume I am not receiving anything on the NIC... Is there anything I'm missing to correctly attach the NIC (eth0) to VALE and clickOS? |
Found it! So it looks like netmap submodule is pointing to the master branch which still doesn't contain my IOMMU/Xen patches. netmap branch next already has that. Thing is there are usually netmap API modifications which might breaking the frontends. Let me double check this and I get back to you. Thanks a lot! |
I tried some other things with the netmap-next branch in Xen Dom0 (UbuntuServer, not yet using any clickos VM): |
The switch port associated with the NIC ( You need to attach it first to the switch with Let me know if it still doesn't work. |
Is there any way to install the optimizations (netmap+xen-netback) on machines with igb or e1000 drivers?
I have built clickOS --with-netmap
I have built and insmodded netmap_lin.ko, e1000.ko,xen-netback.ko
clickOS seems to start, but no packets can be retrieved...
This is because I am not using ixgbe drivers or something else is missing?
after insmodding the modules and after starting clickOS with cosmos create example.cfg, there is this:
[ 123.350660] 151.759186 [1456] netmap_set_ringid deprecated API, old ringid 0x0 -> ringid 0 reg 1
[ 123.351288] 151.759816 [1049] netmap_mem_global_config reconfiguring
[ 123.466124] 151.874633 [ 319] e1000_netmap_init_buffers i now is 255
[ 1963.443199] 525.925587 [2259] netmap_attach success for vif2.0
[ 1963.619724] 526.102112 [1456] netmap_set_ringid deprecated API, old ringid 0x0 -> ringid 0 reg 1
this is the console output after starting clickOS: (cosmos create example.cfg)
Thread "shutdown": pointer: 0x2002002fb0, stack: 0x210000
Dummy main: start_info=0x198040
Thread "main": pointer: 0x2002003760, stack: 0x220000
sparsing 0MB at 177000
"main"
[on_status:205] router id 0
[on_status:206] status change to Running
Thread "click": pointer: 0x2002010a00, stack: 0x240000
backend dom 0
Mapping TX rings
0 map errors
Mapping RX rings
0 map errors
Mapping TX buffers
0 map errors
Mapping RX buffers
0 map errors
init_netfront_netmap device/vif/0
Waiting for /local/domain/0/backend/vif/1/0/state change to connected
unmasking event-channel-tx 4
unmasking event-channel-rx 5
[router_thread:157] Starting driver...
The text was updated successfully, but these errors were encountered: