Re: [Qemu-devel] [PATCH] rocker: don't queue receive pkts when port is disabled

2015-06-30 Thread Scott Feldman
On Tue, Jun 30, 2015 at 6:47 PM, Fam Zheng wrote: > On Tue, 06/30 07:41, sfel...@gmail.com wrote: >> From: Scott Feldman >> >> 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 tr

Re: [Qemu-devel] [PATCH] rocker: don't queue receive pkts when port is disabled

2015-06-30 Thread Fam Zheng
On Tue, 06/30 07:41, sfel...@gmail.com wrote: > From: Scott Feldman > > 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. Rocker > devic

[Qemu-devel] [PATCH] rocker: don't queue receive pkts when port is disabled

2015-06-30 Thread sfeldma
From: Scott Feldman 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. Rocker device was not flushing the queue on .can_receive=true transiti