Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1503787

[PATCH 0/2] Add ethtool get_ringparam and set_ringparam to cadence

From Zach Brown <zach.brown@ni.com>
Newsgroups linux.kernel
Subject [PATCH 0/2] Add ethtool get_ringparam and set_ringparam to cadence
Date 2016-10-19 17:00 +0200
Message-ID <su0vx-2D0-59@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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(-)

--
2.7.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] Add ethtool get_ringparam and set_ringparam to cadence Zach Brown <zach.brown@ni.com> - 2016-10-19 17:00 +0200
  [PATCH 1/2] net: macb: Use variables with defaults for tx/rx ring sizes instead of hardcoded values Zach Brown <zach.brown@ni.com> - 2016-10-19 17:00 +0200
  [PATCH 2/2] net: macb: Add ethtool get_ringparam and set_ringparam functionality Zach Brown <zach.brown@ni.com> - 2016-10-19 17:00 +0200
  Re: [PATCH 0/2] Add ethtool get_ringparam and set_ringparam to  cadence David Miller <davem@davemloft.net> - 2016-10-19 21:20 +0200

csiph-web