summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2021-07-13fix include linejosh/io_uringJosh Bleecher Snyder1-1/+1
2021-07-13add link to gist for future capability probingJosh Bleecher Snyder1-0/+6
2021-07-13net/uring: add probing capabilitykadmin2-0/+31
Adds the ability to probe for various capabilities. It will not call into C unless necessary. It also allocates one probe per call to new capability, which may be expensive, so in theory they could be reused instead. Signed-off-by: kadmin <julianknodt@gmail.com>
2021-07-13now with more sudoJosh Bleecher Snyder1-1/+1
2021-07-13install liburing (test run)Josh Bleecher Snyder1-0/+3
2021-07-13Revert "eliminate prefetch"Josh Bleecher Snyder5-23/+60
this breaks graceful shutdown. details TBD. This reverts commit a474e79bf8967a573f05d07cee0b1abdbee4608a.
2021-07-13eliminate prefetchJosh Bleecher Snyder5-60/+23
looks like a premature optimization
2021-07-13add TODOJosh Bleecher Snyder1-0/+2
2021-07-13refactor out common write codeJosh Bleecher Snyder4-106/+106
2021-07-13whitespaceJosh Bleecher Snyder1-2/+0
2021-07-13port udp improvements to fileJosh Bleecher Snyder1-50/+111
2021-07-13aesthetic tweaksJosh Bleecher Snyder1-7/+6
2021-07-13waitCompletion retry on EINTRJosh Bleecher Snyder1-1/+1
2021-07-13use syncs, start reworking fileJosh Bleecher Snyder3-19/+45
2021-07-13make tests psasJosh Bleecher Snyder2-3/+15
2021-07-13split into several filesJosh Bleecher Snyder9-585/+616
file for file stuff tun for tun stuff udp for udp stuff io_uring for general uring stuff also make build tags suffice
2021-07-13remove completed TODOJosh Bleecher Snyder1-1/+0
2021-07-13docsJosh Bleecher Snyder1-5/+3
2021-07-13make ipv4/ipv6 code parallelJosh Bleecher Snyder1-4/+3
and thus more clearly correct weirdly, since it is using unsafe
2021-07-13simplify, docsJosh Bleecher Snyder1-19/+7
2021-07-13move code aroundJosh Bleecher Snyder1-50/+45
2021-07-13doc and improve shutdown refcountingJosh Bleecher Snyder1-22/+38
2021-07-13docsJosh Bleecher Snyder1-4/+3
2021-07-13more whitespaceJosh Bleecher Snyder1-3/+9
2021-07-13spit. not so much polish.Josh Bleecher Snyder2-41/+56
2021-07-13net/uring: add go ntohskadmin4-7/+76
Instead of calling out to C for ntohs, just implement it in Go for effiency. Signed-off-by: kadmin <julianknodt@gmail.com>
2021-07-13comment moreJosh Bleecher Snyder1-2/+8
2021-07-13incorporate recvOut into recvReqsJosh Bleecher Snyder2-21/+25
2021-07-13remove more dead codeJosh Bleecher Snyder1-23/+12
2021-07-13document, cull dead codeJosh Bleecher Snyder1-10/+8
2021-07-13WIP: clean shutdown for UDP connJosh Bleecher Snyder2-29/+74
this appears to work, most of the time. there's lots of documentation work remaining, thinking through the structure remaining, testing remaining, porting to file remaining (if appropriate).
2021-07-13remove dead codeJosh Bleecher Snyder1-7/+0
2021-07-13overhaul error handling of peek/waitcompletionJosh Bleecher Snyder2-67/+95
2021-07-13refactorJosh Bleecher Snyder2-69/+54
2021-07-13set sin_family (oops)Josh Bleecher Snyder1-0/+2
2021-07-13remove some TODOs, make ip address extraction equally awfulJosh Bleecher Snyder1-9/+1
2021-07-13simplify change pointJosh Bleecher Snyder4-76/+122
at the cost of some very, very naughty unsafe
2021-07-13convert manual tests into automated testsJosh Bleecher Snyder5-67/+79
2021-07-13tewakJosh Bleecher Snyder1-4/+4
2021-07-13start cleaning up codeJosh Bleecher Snyder3-20/+57
2021-07-13ipv6 support, UNTESTED, super hackyJosh Bleecher Snyder2-33/+45
2021-07-13commentsJosh Bleecher Snyder1-1/+1
2021-07-13fix io_uring tun device readsJosh Bleecher Snyder2-10/+12
Well that's an interesting one! Apparently if you issue multiple concurrent preadv calls on a TUN device using io_uring, the TUN device falls over. Possibly corrupting memory along the way. Which might be why the kernel hung on shutdown...
2021-07-13make it easy to toggle uring on/offJosh Bleecher Snyder1-1/+6
2021-07-13switch file.go to test reads instead of writesJosh Bleecher Snyder1-20/+17
2021-07-13simpler initJosh Bleecher Snyder1-8/+2
2021-07-13stick closer to upstream tun reading codeJosh Bleecher Snyder2-5/+19
2021-07-13make cgo pointer rules happyJosh Bleecher Snyder3-84/+188
well that was a mess
2021-07-13use io_uring for sendmsgJosh Bleecher Snyder2-93/+132
and clean up some dead code and unify some things
2021-07-13disable polling for nowJosh Bleecher Snyder2-4/+5
we'll maybe bring it back with a token bucket or something. and/or do multi-sqe submission.