6 Commits
Author SHA1 Message Date
Koichi Shiraishi 0cf77c02f8 all: remove use io/ioutil deprecated package & fix some deprecated thing
Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
2024-10-10 20:36:24 +09:00
Bhasker HariharanandgVisor bot 7345bd99ea Make shared memory file location configurable.
PiperOrigin-RevId: 426268960
2022-02-03 16:46:41 -08:00
Bhasker HariharanandgVisor bot 2083e858ad Add support to provide a sharedmem path to sharedmem.
PiperOrigin-RevId: 424744312
2022-01-27 17:17:42 -08:00
Bhasker HariharanandgVisor bot f2a57c9dac Fixes multiple bugs in server_rx implementation.
fillPacket was incorrectly setting the buffer sizes and
causing large packets to be egressed incorrectly resulting
in packet drops when the MTU was > buffer size.

PiperOrigin-RevId: 420178122
2022-01-06 17:33:31 -08:00
Kevin KrakauerandgVisor bot e44b100654 add convenient wrapper for eventfd
The same create/write/read pattern is copied around several places. It's easier
to understand in a package with names and comments, and we can reuse the smart
blocking code in package rawfile.

PiperOrigin-RevId: 401647108
2021-10-07 17:41:20 -07:00
Bhasker HariharanandgVisor bot 84063e88c3 Add server implementation for sharedmem endpoints.
PiperOrigin-RevId: 401088040
2021-10-05 15:43:46 -07:00