Re: [PATCH] net: stmmac: add drop transmit status feature

2017-04-11 Thread David Miller
From: Joao Pinto Date: Tue, 11 Apr 2017 15:44:10 +0100 > +static void dwmac4_enable_tx_drop(struct mac_device_info *hw) > +{ > + void __iomem *ioaddr = hw->pcsr; > + u32 value = readl(ioaddr + MTL_OPERATION_MODE); > + > + value &= ~MTL_OPERATION_DTXSTS; > + value |= MTL_OPERATION_

Re: [PATCH] net: stmmac: add drop transmit status feature

2017-04-11 Thread Joao Pinto
Hi Andrew, Às 4:04 PM de 4/11/2017, Andrew Lunn escreveu: > On Tue, Apr 11, 2017 at 03:44:10PM +0100, Joao Pinto wrote: >> When the Drop Transmit Status bit is set, the Tx packet status >> received from the MAC is dropped in the MTL. When this bit is reset, >> the Tx packet status received from th

Re: [PATCH] net: stmmac: add drop transmit status feature

2017-04-11 Thread Andrew Lunn
On Tue, Apr 11, 2017 at 03:44:10PM +0100, Joao Pinto wrote: > When the Drop Transmit Status bit is set, the Tx packet status > received from the MAC is dropped in the MTL. When this bit is reset, > the Tx packet status received from the MAC is forwarded to the > application. This feature will cause

[PATCH] net: stmmac: add drop transmit status feature

2017-04-11 Thread Joao Pinto
When the Drop Transmit Status bit is set, the Tx packet status received from the MAC is dropped in the MTL. When this bit is reset, the Tx packet status received from the MAC is forwarded to the application. This feature will cause a performance improvement. Signed-off-by: Joao Pinto --- Documen