Re: [PATCH (net-next.git) 09/18] stmmac: optimize tx desc management

2016-01-05 Thread Giuseppe CAVALLARO
On 1/5/2016 4:39 AM, David Miller wrote: From: Giuseppe Cavallaro Date: Mon, 4 Jan 2016 14:06:54 +0100 @@ -334,12 +334,11 @@ struct stmmac_desc_ops { /* Invoked by the xmit function to prepare the tx descriptor */ void (*prepare_tx_desc) (struct dma_desc *p, int is_fs, int len

Re: [PATCH (net-next.git) 09/18] stmmac: optimize tx desc management

2016-01-04 Thread David Miller
From: Giuseppe Cavallaro Date: Mon, 4 Jan 2016 14:06:54 +0100 > @@ -334,12 +334,11 @@ struct stmmac_desc_ops { > > /* Invoked by the xmit function to prepare the tx descriptor */ > void (*prepare_tx_desc) (struct dma_desc *p, int is_fs, int len, > - int

[PATCH (net-next.git) 09/18] stmmac: optimize tx desc management

2016-01-04 Thread Giuseppe Cavallaro
This patch is to optimize the way to manage the TDES inside the xmit function. When prepare the frame, some settings (e.g. OWN bit) can be merged. This has been reworked to improve the tx performances. Signed-off-by: Fabrice Gasnier Signed-off-by: Giuseppe Cavallaro --- drivers/net/ethernet/stm

[PATCH (net-next.git) 09/18] stmmac: optimize tx desc management

2015-12-09 Thread Giuseppe Cavallaro
This patch is to optimize the way to manage the TDES inside the xmit function. When prepare the frame, some settings (e.g. OWN bit) can be merged. This has been reworked to improve the tx performances. Signed-off-by: Fabrice Gasnier Signed-off-by: Giuseppe Cavallaro --- drivers/net/ethernet/stm