netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add ethtool get_ringparam and set_ringparam to cadence
@ 2016-10-19 14:56 Zach Brown
  2016-10-19 14:56 ` [PATCH 1/2] net: macb: Use variables with defaults for tx/rx ring sizes instead of hardcoded values Zach Brown
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Zach Brown @ 2016-10-19 14:56 UTC (permalink / raw)
  To: nicolas.ferre; +Cc: davem, linux-kernel, netdev

There are use cases like RT that would benefit from being able to tune the
macb rx/tx ring sizes. The ethtool set_ringparam function is the standard way
of doing so.

The first patch changes the hardcoded tx/rx ring sizes to variables that are
set to a hardcoded default.

The second patch implements the get_ringparam and set_ringparam fucntions.

Zach Brown (2):
  net: macb: Use variables with defaults for tx/rx ring sizes instead of
    hardcoded values
  net: macb: Add ethtool get_ringparam and set_ringparam functionality

 drivers/net/ethernet/cadence/macb.c | 173 +++++++++++++++++++++++++-----------
 drivers/net/ethernet/cadence/macb.h |   3 +
 2 files changed, 124 insertions(+), 52 deletions(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-10-19 19:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-19 14:56 [PATCH 0/2] Add ethtool get_ringparam and set_ringparam to cadence Zach Brown
2016-10-19 14:56 ` [PATCH 1/2] net: macb: Use variables with defaults for tx/rx ring sizes instead of hardcoded values Zach Brown
2016-10-19 14:56 ` [PATCH 2/2] net: macb: Add ethtool get_ringparam and set_ringparam functionality Zach Brown
2016-10-19 19:18 ` [PATCH 0/2] Add ethtool get_ringparam and set_ringparam to cadence David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).