diff options
| author | Ben Hutchings <[email protected]> | 2011-12-15 13:56:49 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2011-12-16 18:53:18 +0000 |
| commit | 278bc4296bd64ffd1d3913b487dc8a520e423a7a (patch) | |
| tree | 87781870cf9b96398a90fae6ebe1dae6d43d9ea4 /fs/proc/array.c | |
| parent | ethtool: Centralise validation of ETHTOOL_{G, S}RXFHINDIR parameters (diff) | |
| download | kernel-278bc4296bd64ffd1d3913b487dc8a520e423a7a.tar.gz kernel-278bc4296bd64ffd1d3913b487dc8a520e423a7a.zip | |
ethtool: Define and apply a default policy for RX flow hash indirection
All drivers that support modification of the RX flow hash indirection
table initialise it in the same way: RX rings are assigned to table
entries in rotation. Make that default policy explicit by having them
call a ethtool_rxfh_indir_default() function.
In the ethtool core, add support for a zero size value for
ETHTOOL_SRXFHINDIR, which resets the table to this default.
Partly-suggested-by: Matt Carlson <[email protected]>
Signed-off-by: Ben Hutchings <[email protected]>
Acked-by: Shreyas N Bhatewara <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
