net: macb: Add ethtool get_ringparam and set_ringparam functionality
authorZach Brown <zach.brown@ni.com>
Wed, 19 Oct 2016 14:56:58 +0000 (09:56 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Oct 2016 19:18:20 +0000 (15:18 -0400)
commit8441bb33beaf58a67a7664dddede68c5860acf74
treeb458c30c5410f63cd9c1455debd0b990bd042407
parentb410d13e10db86832026f6ef1a9a7b4ae1c48c19
net: macb: Add ethtool get_ringparam and set_ringparam functionality

Some applications want to tune the size of the macb rx/tx ring buffers.
The ethtool set_ringparam function is the standard way of doing it.

Signed-off-by: Zach Brown <zach.brown@ni.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c