Re: [Qemu-devel] [PATCH] net/socket: remove hardcoded packet size in favor of new mtu parameter

2011-05-15 Thread Nguyen Thai Ngoc Duy
2011/5/16 Michael S. Tsirkin m...@redhat.com: On Fri, Apr 22, 2011 at 07:59:28PM +0700, Nguyễn Thái Ngọc Duy wrote: Also mention the default value 4096. Signed-off-by: Nguyễn Thái Ngọc Duy pclo...@gmail.com IS the option really necessary? Why not just allocate 128K or so and be done with

Re: [Qemu-devel] [PATCH] net: add drop_packets parameter to -net nic

2011-04-26 Thread Nguyen Thai Ngoc Duy
On Tue, Apr 26, 2011 at 4:14 PM, Stefan Hajnoczi stefa...@gmail.com wrote: The behavior you are describing sounds like a bug in QEMU's network layer.  If RX is disabled we should not queue incoming packets. Have you looked into fixing QEMU so that the queue is disabled when RX is disabled?

Re: [Qemu-devel] [PATCH] net: add drop_packets parameter to -net nic

2011-04-25 Thread Nguyen Thai Ngoc Duy
2011/4/25 Stefan Hajnoczi stefa...@gmail.com: 2011/4/25 Nguyễn Thái Ngọc Duy pclo...@gmail.com: 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: