net: axienet: Make RX/TX ring sizes configurable
authorRobert Hancock <hancock@sedsystems.ca>
Thu, 6 Jun 2019 22:28:13 +0000 (16:28 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Jun 2019 23:24:29 +0000 (16:24 -0700)
commit8b09ca823ffb4eee44cc1e41af2935e511eb98f1
tree49e0d172b677f31bfdebcc7d695d6de5826b2c1e
parent489d4d7713d1cad40b1049720b44d08f53918b30
net: axienet: Make RX/TX ring sizes configurable

Add support for setting the RX and TX ring sizes for this driver using
ethtool. Also increase the default RX ring size as the previous default
was far too low for good performance in some configurations.

Signed-off-by: Robert Hancock <hancock@sedsystems.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/xilinx_axienet.h
drivers/net/ethernet/xilinx/xilinx_axienet_main.c