NIC drivers that support RSS use either a hard-coded value or a random value
for the RSS hash key. Irrespective of the type of the key used, the user
would want to change the hash key if he/she is not satisfied with the
effectiveness of the default hash-key in spreading the incoming flows evenly
across the RSS queues.
This patch set adds support for configuring the RSS hash-key via the ethtool
interface using .X/-x option.
v6:
1. Addressed Ben's comments.
2. Fixed memory leaks in do_grxfhindir, do_srxfhindir, do_srxfh, do_grxfh.
3. Handled memory allocation failures in do_grxfhindir, do_srxfhindir, do_srxfh, do_grxfh.
Venkat Duvvuru (2):
ethtool: Support for configurable RSS hash key
ethtool: Support for configurable RSS hash key
ethtool-copy.h | 478 ++++++++++++++++++++++++++++++++++++++++++--------------
ethtool.8.in | 18 ++-
ethtool.c | 390 ++++++++++++++++++++++++++++++++++++++--------
3 files changed, 703 insertions(+), 183 deletions(-)