{"action":"closed","issue":{"url":"https://api.github.com/repos/AVnu/Open-AVB/issues/192","repository_url":"https://api.github.com/repos/AVnu/Open-AVB","labels_url":"https://api.github.com/repos/AVnu/Open-AVB/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/AVnu/Open-AVB/issues/192/comments","events_url":"https://api.github.com/repos/AVnu/Open-AVB/issues/192/events","html_url":"https://github.com/AVnu/Open-AVB/issues/192","id":63985874,"number":192,"title":"IGB: event-based refill of xmit buffer","user":{"login":"grandcat","id":2902279,"avatar_url":"https://avatars.githubusercontent.com/u/2902279?v=3","gravatar_id":"","url":"https://api.github.com/users/grandcat","html_url":"https://github.com/grandcat","followers_url":"https://api.github.com/users/grandcat/followers","following_url":"https://api.github.com/users/grandcat/following{/other_user}","gists_url":"https://api.github.com/users/grandcat/gists{/gist_id}","starred_url":"https://api.github.com/users/grandcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grandcat/subscriptions","organizations_url":"https://api.github.com/users/grandcat/orgs","repos_url":"https://api.github.com/users/grandcat/repos","events_url":"https://api.github.com/users/grandcat/events{/privacy}","received_events_url":"https://api.github.com/users/grandcat/received_events","type":"User","site_admin":false},"labels":[{"id":145277565,"url":"https://api.github.com/repos/AVnu/Open-AVB/labels/igb","name":"igb","color":"bfd4f4","default":false},{"id":13271848,"url":"https://api.github.com/repos/AVnu/Open-AVB/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2015-03-24T12:36:23Z","updated_at":"2016-12-22T15:38:44Z","closed_at":"2016-12-22T15:38:44Z","body":"Hey all,\n\nthis issue is more a question than a feature request. \nAs far as I stepped into the details, all examples (simple_talker, jackd_talker, etc.) use the following low-level mechanism to keep the send buffer filled up (please correct me if I'm wrong):\n1. Reserve DMA space on I210 Ethernet card and create linked list based on `igb_packet` struct to manage the slots of this transmit buffer.\n2. Set transmission time using the field `attime`. Enqueue prepared packets for transmission using `igb_xmit(...)`.\n3. Try to gather already sent buffer slots using `igb_clean(...)`. This function is called in a busy-waiting loop until free space is found to enqueue some new packets. Goto 2.\n\nSo, my question is whether there is something in the driver to allow an _event-based_ processing instead of probing with a busy loop?\nIs there a signal to subscribe to in order to be notified if free slots in the tx-queue are available?\n\nIf not, are there any plans for a basic approach to realize this?\n\nThank you very much, guys =)\n"}}
{"actor":{"display_login":"grandcat"}}