linux/drivers/net/ethernet
Zach Brown b410d13e10 net: macb: Use variables with defaults for tx/rx ring sizes instead of hardcoded values
The macb driver hardcoded the tx/rx ring sizes. This made it
impossible to change the sizes at run time.

Add tx_ring_size, and rx_ring_size variables to macb object, which
are initilized with default vales during macb_init. Change all
references to RX_RING_SIZE and TX_RING_SIZE to their respective
replacements.

Signed-off-by: Zach Brown <zach.brown@ni.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-10-19 15:18:20 -04:00
..
3com net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
8390 net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
adaptec net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
adi net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
aeroflex net: ethernet: greth: use phy_ethtool_{get|set}_link_ksettings 2016-08-08 15:42:21 -07:00
agere ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
allwinner net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
alteon
altera ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
amazon net: ena: change the return type of ena_set_push_mode() to be void. 2016-08-23 17:42:33 -07:00
amd ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
apm net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
apple net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
arc net: arc_emac: use dev_kfree_skb_any instead of dev_kfree_skb 2016-10-19 15:16:24 -04:00
atheros ethernet/atheros: use core min/max MTU checking 2016-10-18 11:34:18 -04:00
aurora net: ethernet: nb8800: fix error return code in nb8800_open() 2016-10-17 13:12:05 -04:00
broadcom ethernet/broadcom: use core min/max MTU checking 2016-10-18 11:34:18 -04:00
brocade ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
cadence net: macb: Use variables with defaults for tx/rx ring sizes instead of hardcoded values 2016-10-19 15:18:20 -04:00
calxeda ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
cavium ethernet/cavium: use core min/max MTU checking 2016-10-18 11:34:20 -04:00
chelsio ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
cirrus net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
cisco ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
davicom net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
dec net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
dlink ethernet/dlink: use core min/max MTU checking 2016-10-18 11:34:20 -04:00
emulex be2net: Enable VF link state setting for BE3 2016-10-09 09:30:39 -04:00
ezchip Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-07-24 00:53:32 -04:00
faraday net/faraday: Stop NCSI device on shutdown 2016-10-04 02:11:51 -04:00
freescale net: fs_enet: Use net_device_stats from struct net_device 2016-10-19 10:37:04 -04:00
fujitsu net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
hisilicon ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
hp net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
i825xx net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
ibm ethernet/ibm: use core min/max MTU checking 2016-10-18 11:34:21 -04:00
intel ixgbe: Flip to the new dev walk API 2016-10-18 11:44:59 -04:00
marvell skge: Rename LED_OFF and LED_ON in marvel skge driver to avoid conflicts with leds namespace 2016-10-18 11:56:30 -04:00
mediatek net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
mellanox mlxsw: Flip to the new dev walk API 2016-10-18 11:44:59 -04:00
micrel ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
microchip net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
moxa net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
myricom ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
natsemi ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
neterion ethernet/neterion: use core min/max MTU checking 2016-10-18 11:34:20 -04:00
netronome ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
nuvoton net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
nvidia ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
nxp net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
oki-semi ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
packetengines net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
pasemi ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
qlogic qed: Remove useless set memory to zero use memset() 2016-10-18 14:26:00 -04:00
qualcomm ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
rdc net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
realtek ethernet/realtek: use core min/max MTU checking 2016-10-18 11:34:20 -04:00
renesas net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
rocker rocker: Flip to the new dev walk API 2016-10-18 11:44:59 -04:00
samsung ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
seeq net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
sfc ethernet/sfc: use core min/max MTU checking 2016-10-18 14:03:40 -04:00
sgi net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
silan net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
sis net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
smsc net: smc91x: take into account half-word workaround 2016-10-18 14:14:21 -04:00
stmicro ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
sun ethernet/sun: use core min/max MTU checking 2016-10-18 11:34:20 -04:00
synopsys dwc_eth_qos: constify net_device_ops structures 2016-09-17 10:07:23 -04:00
tehuti ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
ti ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
tile ethernet/tile: use core min/max MTU checking 2016-10-18 11:34:21 -04:00
toshiba ethernet/toshiba: use core min/max MTU checking 2016-10-18 11:34:21 -04:00
tundra net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
via ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
wiznet net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
xilinx net: axienet: Remove unused parameter from __axienet_device_reset 2016-10-13 12:15:28 -04:00
xircom net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
xscale net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
dnet.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
dnet.h net: ethernet: dnet: use phydev from struct net_device 2016-06-28 05:10:26 -04:00
ec_bhf.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
ethoc.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-07-24 00:53:32 -04:00
fealnx.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
jme.c
jme.h
Kconfig net: ena: Add a driver for Amazon Elastic Network Adapters (ENA) 2016-08-12 17:12:08 -07:00
korina.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
lantiq_etop.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
Makefile net: ena: Add a driver for Amazon Elastic Network Adapters (ENA) 2016-08-12 17:12:08 -07:00
netx-eth.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00