{"action":"created","issue":{"url":"https://api.github.com/repos/cnplab/xennet/issues/4","labels_url":"https://api.github.com/repos/cnplab/xennet/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/cnplab/xennet/issues/4/comments","events_url":"https://api.github.com/repos/cnplab/xennet/issues/4/events","html_url":"https://github.com/cnplab/xennet/issues/4","id":64650898,"number":4,"title":"Xen/ClickOS optimizations on igb/e1000 ?","user":{"login":"svrossem","id":11405885,"avatar_url":"https://avatars.githubusercontent.com/u/11405885?v=3","gravatar_id":"","url":"https://api.github.com/users/svrossem","html_url":"https://github.com/svrossem","followers_url":"https://api.github.com/users/svrossem/followers","following_url":"https://api.github.com/users/svrossem/following{/other_user}","gists_url":"https://api.github.com/users/svrossem/gists{/gist_id}","starred_url":"https://api.github.com/users/svrossem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svrossem/subscriptions","organizations_url":"https://api.github.com/users/svrossem/orgs","repos_url":"https://api.github.com/users/svrossem/repos","events_url":"https://api.github.com/users/svrossem/events{/privacy}","received_events_url":"https://api.github.com/users/svrossem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-26T22:51:12Z","updated_at":"2015-04-01T20:56:16Z","closed_at":null,"body":"Is there any way to install the optimizations (netmap+xen-netback) on machines with igb or e1000 drivers?\r\nI have built clickOS --with-netmap\r\nI have built and insmodded netmap_lin.ko, e1000.ko,xen-netback.ko\r\nclickOS seems to start, but no packets can be retrieved...\r\nThis is because I am not using ixgbe drivers or something else is missing?\r\n\r\nafter insmodding the modules and after starting clickOS with cosmos create example.cfg, there is this:\r\n`[  123.350660] 151.759186 [1456] netmap_set_ringid         deprecated API, old ringid 0x0 -> ringid 0 reg 1`\r\n`[  123.351288] 151.759816 [1049] netmap_mem_global_config  reconfiguring`\r\n`[  123.466124] 151.874633 [ 319] e1000_netmap_init_buffers i now is 255`\r\n\r\n`[ 1963.443199] 525.925587 [2259] netmap_attach             success for vif2.0`\r\n`[ 1963.619724] 526.102112 [1456] netmap_set_ringid         deprecated API, old ringid 0x0 -> ringid 0 reg 1`\r\n\r\n\r\nthis is the console output after starting clickOS: (cosmos create example.cfg)\r\n\r\n`Thread \"shutdown\": pointer: 0x2002002fb0, stack: 0x210000`\r\n`Dummy main: start_info=0x198040`\r\n`Thread \"main\": pointer: 0x2002003760, stack: 0x220000`\r\n`sparsing 0MB at 177000`\r\n`\"main\"`\r\n`[on_status:205] router id 0`\r\n`[on_status:206] status change to Running`\r\n`Thread \"click\": pointer: 0x2002010a00, stack: 0x240000`\r\n`backend dom 0`\r\n`Mapping TX rings`\r\n `       0 map errors`\r\n`Mapping RX rings`\r\n`       0 map errors`\r\n`Mapping TX buffers`\r\n`        0 map errors`\r\n`Mapping RX buffers`\r\n`        0 map errors`\r\n`init_netfront_netmap device/vif/0`\r\n`Waiting for /local/domain/0/backend/vif/1/0/state change to connected`\r\n`unmasking event-channel-tx 4`\r\n`unmasking event-channel-rx 5`\r\n`[router_thread:157] Starting driver...`\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cnplab/xennet/issues/comments/88629035","html_url":"https://github.com/cnplab/xennet/issues/4#issuecomment-88629035","issue_url":"https://api.github.com/repos/cnplab/xennet/issues/4","id":88629035,"user":{"login":"jpemartins","id":279189,"avatar_url":"https://avatars.githubusercontent.com/u/279189?v=3","gravatar_id":"","url":"https://api.github.com/users/jpemartins","html_url":"https://github.com/jpemartins","followers_url":"https://api.github.com/users/jpemartins/followers","following_url":"https://api.github.com/users/jpemartins/following{/other_user}","gists_url":"https://api.github.com/users/jpemartins/gists{/gist_id}","starred_url":"https://api.github.com/users/jpemartins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpemartins/subscriptions","organizations_url":"https://api.github.com/users/jpemartins/orgs","repos_url":"https://api.github.com/users/jpemartins/repos","events_url":"https://api.github.com/users/jpemartins/events{/privacy}","received_events_url":"https://api.github.com/users/jpemartins/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T20:56:16Z","updated_at":"2015-04-01T20:56:16Z","body":"Found it! So it looks like netmap submodule is pointing to the [master](https://code.google.com/p/netmap/source/browse/?name=master) branch which still doesn't contain my IOMMU/Xen patches. netmap branch [next](https://code.google.com/p/netmap/source/browse/?name=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.\r\n\r\nThanks a lot!"}}