Dropping packets is sometimes perferred behavior. Add drop_packets
parameter to NICConf struct and let nic simulation decide how to use
it.
Only e1000 supports this for now.
Signed-off-by: Nguyễn Thái Ngọc Duy
---
Documentation is missing, but I'm not even sure if there's any other
Also mention the default value 4096.
Signed-off-by: Nguyễn Thái Ngọc Duy
---
free new buffers in net_socket_cleanup()
net.c |4
net/socket.c| 52
qemu-options.hx | 11 ++-
3 files changed, 46 insertions
Also mention the default value 4096.
Signed-off-by: Nguyễn Thái Ngọc Duy
---
I have a driver that sends 4352 byte packets. Tested with tcp socket only.
There's also 4096 byte buffers in vde, but I don't use/test it.
net.c |4
net/socket.c