Re: [PATCH v3] tuntap: add flow control to support back pressure

2014-04-14 Thread Steven Galgano
On 04/14/2014 09:31 AM, Michael S. Tsirkin wrote: > On Mon, Apr 14, 2014 at 09:21:47AM -0400, Steven Galgano wrote: >> Added optional per queue flow control support using IFF_FLOW_CONTROL. When >> the >> IFF_FLOW_CONTROL TUNSETIFF flag is specified it will set a per queue flag to >> indicate tha

Re: [PATCH v3] tuntap: add flow control to support back pressure

2014-04-14 Thread Michael S. Tsirkin
On Mon, Apr 14, 2014 at 09:21:47AM -0400, Steven Galgano wrote: > Added optional per queue flow control support using IFF_FLOW_CONTROL. When > the > IFF_FLOW_CONTROL TUNSETIFF flag is specified it will set a per queue flag to > indicate that the queue should be stopped using netif_tx_stop_queue(

[PATCH v3] tuntap: add flow control to support back pressure

2014-04-14 Thread Steven Galgano
Added optional per queue flow control support using IFF_FLOW_CONTROL. When the IFF_FLOW_CONTROL TUNSETIFF flag is specified it will set a per queue flag to indicate that the queue should be stopped using netif_tx_stop_queue(), rather than discarding frames once full. After reading a frame from t