3 ms·
It 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 metafex 12y ago
It 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.