4 ms·
It would be very interesting if this could be combined with snabbswitch for some truly awesome bare-metal lua networking.
by metafex 12y ago
It would be very interesting if this could be combined with snabbswitch for some truly awesome bare-metal lua networking.
- easytiger 12y agoI've never seen snabbswitch before, are there any lua extensions to get it to emulate tcp/ip stack and present the data stream to your lua code??
- metafex 12y agoIt basically talks to certain network-cards directly, bypassing the TCP/IP stack. AFAIK it presents raw ethernet packets to the lua code which have to be parsed by the application (i don't know exactly if there isn't some code present in the repo to deal with sockets and such directly). The repo: https://github.com/SnabbCo/snabbswitch https://github.com/SnabbCo/snabbswitch Under src/apps there are some examples.
- srcmap 12y agois it a .ko or an user space app?
- justincormack 12y agoUserspace, it mmaps that PCI space itself.