ethtool: Disallow ETHTOOL_SRSSH with both indir table and hash key unchanged
authorBen Hutchings <ben@decadent.org.uk>
Mon, 19 May 2014 00:29:42 +0000 (01:29 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 19 May 2014 00:29:42 +0000 (01:29 +0100)
commit61d88c6811f216de4ec26aafe24e650dc1aeb00e
tree4d5816d6ff92cecad8e3019d9d9653913970b6e9
parent678e30df2e5664619e06fcfea5490a476826d8fe
ethtool: Disallow ETHTOOL_SRSSH with both indir table and hash key unchanged

This would be a no-op, so there is no reason to request it.

This also allows conversion of the current implementations of
ethtool_ops::{get,set}_rxfh_indir to ethtool_ops::{get,set}_rxfh
with no change other than their parameters.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
include/linux/ethtool.h
net/core/ethtool.c