1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

reduce buffer size of the uhyve nic

This commit is contained in:
Stefan Lankes 2017-09-19 23:48:04 +02:00
parent 58295b9c0e
commit 75d3f8835d

View file

@ -35,9 +35,9 @@
#define MIN(a, b) (a) < (b) ? (a) : (b)
#define RX_BUF_LEN 8192
#define TX_BUF_LEN 4096
#define TX_BUF_NUM 4 //number of tx buffer
#define RX_BUF_LEN 2048
#define TX_BUF_LEN 2048
#define TX_BUF_NUM 1 //number of tx buffer
#define UHYVE_PORT_NETINFO 0x505
#define UHYVE_PORT_NETWRITE 0x506