]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit202f95819bc90ead03d7a8e9d290762fadaadfa5
treeb458c30c5410f63cd9c1455debd0b990bd042407
parenta5d1cb2c673aaffb55e4428730bf9bd15e6e70a6
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