u-boot/drivers/net
Michal Simek 0070251836 net: emaclite: Use indirect reg access in send
The original logic in the driver was exchanging buffers which are used for
sending packet and tx_ping and tx_pong buffers were exchanged all the
time to ensure that IP has enough time to send the packet out.
Based on this "feature" send function was using nextbuffertouse variable
to save which buffer should be used.
Before this algorithm was called driver checked that there is free
buffer available.
This checking remains in the driver but driver tries to use tx_ping
first if available. If not, tx_pong buffer is used instead.
To reach this code the original condition is met that at least one of the
buffer should be available.
Testing doesn't show any performance drop when this patch is applied.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2016-01-27 15:55:52 +01:00
..
fm Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
fsl-mc bug.h: move BUILD_BUG_* defines to include/linux/bug.h 2016-01-25 10:39:59 -05:00
ldpaa_eth Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
phy block: pass block dev not num to read/write/erase() 2016-01-13 21:05:18 -05:00
4xx_enet.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
8390.h drivers/net : move net drivers to drivers/net 2007-11-25 18:35:17 +01:00
altera_tse.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
altera_tse.h net: altera_tse: add mSG-DMA support 2015-11-12 08:26:59 +08:00
armada100_fec.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
armada100_fec.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
at91_emac.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
ax88180.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
ax88180.h AX88180: use standard I/O accessors 2010-07-12 00:14:29 -07:00
ax88796.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ax88796.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
bcm-sf2-eth-gmac.c arm: bcm281xx: net: Add Ethernet Driver 2014-08-30 07:46:39 -04:00
bcm-sf2-eth-gmac.h arm: bcm281xx: net: Add Ethernet Driver 2014-08-30 07:46:39 -04:00
bcm-sf2-eth.c net: Update hardware MAC address if it changes in env 2015-05-19 13:33:21 -05:00
bcm-sf2-eth.h arm: bcm281xx: net: Add Ethernet Driver 2014-08-30 07:46:39 -04:00
bfin_mac.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
bfin_mac.h net: Fix remaining API interface breakage 2012-05-23 14:19:21 -05:00
calxedaxgmac.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
cpsw.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
cs8900.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
cs8900.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
davinci_emac.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
davinci_emac.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
dc2114x.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
designware.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
designware.h dm: net: Adjust designware driver to support driver model 2015-04-18 11:11:37 -06:00
dm9000x.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
dm9000x.h dm9000 remove dead external phy support, gpio fix 2008-08-26 23:08:19 -07:00
dnet.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
dnet.h dnet: driver for Dave DNET ethernet controller 2009-02-10 00:16:27 +01:00
e1000.c Merge git://git.denx.de/u-boot-net 2016-01-13 21:05:16 -05:00
e1000.h net: e1000: Remove dead codes wrapped by #if 0 2015-12-21 19:59:34 -06:00
e1000_spi.c net: e1000: Mark _disable_wr() and _write_status() as __maybe_unused 2015-12-21 20:01:57 -06:00
eepro100.c net: eepro100: Fix build warnings 2016-01-25 10:40:01 -05:00
enc28j60.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
enc28j60.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ep93xx_eth.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
ep93xx_eth.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ethoc.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
fec_mxc.c net: fec_mxc: unregister mdio bus on probe error 2016-01-03 15:28:06 +01:00
fec_mxc.h net: fec_mxc: Add support for mx6 solo-lite 2013-09-20 17:55:36 +02:00
fsl_mcdmafec.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
fsl_mdio.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
ftgmac100.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
ftgmac100.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ftmac100.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
ftmac100.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ftmac110.c net: Remove all calls to net_random_ethaddr() 2015-05-20 11:07:27 -05:00
ftmac110.h net: ftmac110: Update tx/rx descriptor format 2013-08-19 12:34:21 -05:00
greth.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
greth.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Kconfig net: Add axi emac to Kconfig 2016-01-27 15:55:51 +01:00
keystone_net.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
ks8851_mll.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
ks8851_mll.h net: ks8851_mll: add ethernet support 2013-06-24 19:11:14 -05:00
lan91c96.c net: Remove all references to CONFIG_ETHADDR and friends 2015-05-19 13:33:21 -05:00
lan91c96.h arm: remove lubbock board support 2014-04-18 10:42:30 -04:00
lpc32xx_eth.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
macb.c net: macb: add gmac multi-queue support 2015-08-11 13:27:15 -05:00
macb.h net: macb: add gmac multi-queue support 2015-08-11 13:27:15 -05:00
Makefile net/memac_phy: reuse driver for little endian SoCs 2015-04-23 08:55:57 -07:00
mcffec.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
mcfmii.c net: Use ARRAY_SIZE at appropriate places 2013-08-19 12:34:18 -05:00
mpc5xxx_fec.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
mpc5xxx_fec.h Move MPC5xxx_FEC driver to drivers/net 2008-08-29 13:58:07 -06:00
mpc512x_fec.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
mpc512x_fec.h MPC512x: remove include/mpc512x.h 2009-06-12 20:47:16 +02:00
mvgbe.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
mvgbe.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mvneta.c net: mvneta: Convert to driver model 2016-01-14 14:08:59 +01:00
natsemi.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
ne2000.c net: Use ARRAY_SIZE at appropriate places 2013-08-19 12:34:18 -05:00
ne2000.h NE2000: Fix regresssion introduced by e710185aae on non AX88796 2008-04-28 22:26:36 -07:00
ne2000_base.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
ne2000_base.h Consolidate bool type 2013-04-01 16:33:52 -04:00
netconsole.c video: Drop DEV_FLAGS_SYSTEM flag 2015-11-05 08:22:21 +01:00
ns8382x.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
pch_gbe.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
pch_gbe.h net: pch_gbe: Convert to driver model 2015-09-09 07:48:03 -06:00
pcnet.c net: pcnet: refactor mapping of virtual addresses to physical ones 2016-01-16 21:06:46 +01:00
rtl8139.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
rtl8169.c dm: net: Convert rtl8169 to use DM PCI API 2016-01-12 10:19:09 -07:00
sandbox-raw.c dm: eth: Avoid blocking on packet reception 2015-07-21 17:39:40 -06:00
sandbox.c net: Fix delay in net_retry test 2016-01-07 12:18:58 -07:00
sh_eth.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
sh_eth.h net: sh-eth: Use memalign instead of orignal memroy alignment function 2014-11-04 09:27:40 +09:00
smc911x.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
smc911x.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
smc91111.c arm: Remove xaeniax board 2015-09-11 17:14:43 -04:00
smc91111.h arm: Remove xaeniax board 2015-09-11 17:14:43 -04:00
sunxi_emac.c dm: eth: Avoid blocking on packet reception 2015-07-21 17:39:40 -06:00
tsec.c Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
tsi108_eth.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
uli526x.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
vsc7385.c Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
vsc9953.c drivers/net/vsc9953: Add GPL-2.0+ SPDX-License-Identifier 2015-09-21 08:29:48 -07:00
xilinx_axi_emac.c net: Add axi emac to Kconfig 2016-01-27 15:55:51 +01:00
xilinx_emaclite.c net: emaclite: Use indirect reg access in send 2016-01-27 15:55:52 +01:00
xilinx_ll_temac.c net: ll_temac: Fix compilation warning because of phys_addr_t 2015-01-21 10:30:36 +01:00
xilinx_ll_temac.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
xilinx_ll_temac_fifo.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
xilinx_ll_temac_fifo.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
xilinx_ll_temac_mdio.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
xilinx_ll_temac_mdio.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
xilinx_ll_temac_sdma.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
xilinx_ll_temac_sdma.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
zynq_gem.c net: zynq_gem: Use shared wait_for_bit 2016-01-25 10:39:50 -05:00