Re: [Qemu-devel] [PULL 6/7] vmxnet3: Drop net_vmxnet3_info.can_receive

2015-09-24 Thread Jason Wang
On 09/24/2015 07:19 PM, Shmulik Ladkani wrote: > Hi, > > On Thu, 3 Sep 2015 10:19:19 +0300, shmulik.ladk...@ravellosystems.com wrote: >> On Wed, 2 Sep 2015 17:14:52 +0100, stefa...@redhat.com wrote: >>> From: Fam Zheng >>> >>> Commit 6e99c63 ("net/socket: Drop net_socket_can_send") changed the

Re: [Qemu-devel] [PULL 6/7] vmxnet3: Drop net_vmxnet3_info.can_receive

2015-09-24 Thread Shmulik Ladkani
Hi, On Thu, 3 Sep 2015 10:19:19 +0300, shmulik.ladk...@ravellosystems.com wrote: > On Wed, 2 Sep 2015 17:14:52 +0100, stefa...@redhat.com wrote: > > From: Fam Zheng > > > > Commit 6e99c63 ("net/socket: Drop net_socket_can_send") changed the > > semantics around .can_receive for sockets to now r

Re: [Qemu-devel] [PULL 6/7] vmxnet3: Drop net_vmxnet3_info.can_receive

2015-09-03 Thread Shmulik Ladkani
Hi, On Wed, 2 Sep 2015 17:14:52 +0100, stefa...@redhat.com wrote: > From: Fam Zheng > > Commit 6e99c63 ("net/socket: Drop net_socket_can_send") changed the > semantics around .can_receive for sockets to now require the device to > flush queued pkts when transitioning to a .can_receive=true stat

[Qemu-devel] [PULL 6/7] vmxnet3: Drop net_vmxnet3_info.can_receive

2015-09-02 Thread Stefan Hajnoczi
From: Fam Zheng Commit 6e99c63 ("net/socket: Drop net_socket_can_send") changed the semantics around .can_receive for sockets to now require the device to flush queued pkts when transitioning to a .can_receive=true state. But it's OK to drop incoming packets when the link is not active. Signed-o