On 01.07.16 23:35, David Miller wrote:
From: Ivan Khoronzhuk
Date: Thu, 30 Jun 2016 22:04:35 +0300
@@ -720,7 +763,7 @@ unlock_ret:
}
EXPORT_SYMBOL_GPL(cpdma_chan_submit);
-bool cpdma_check_free_tx_desc(struct cpdma_chan *chan)
+inline bool cpdma_check_free_desc(struct cpdma_chan *chan)
From: Ivan Khoronzhuk
Date: Thu, 30 Jun 2016 22:04:35 +0300
> @@ -720,7 +763,7 @@ unlock_ret:
> }
> EXPORT_SYMBOL_GPL(cpdma_chan_submit);
>
> -bool cpdma_check_free_tx_desc(struct cpdma_chan *chan)
> +inline bool cpdma_check_free_desc(struct cpdma_chan *chan)
> {
This needs to be marked sta
Currently the tx channels are using the same pool of descriptors.
Thus one channel can block another if pool is emptied by one.
But, the shaper should decide which channel is allowed to send
packets. To avoid such impact of one channel on another let every
channel to have its own peace of pool.
Si