diff options
author | Kejian Yan <yankejian@huawei.com> | 2016-03-22 16:06:28 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-22 15:45:58 -0400 |
commit | 717dd807383b074c1ff3852a05ea5d1289827993 (patch) | |
tree | 7fb06b70329a8b305b94f23756bcf64434201aec /tools/perf/scripts/python/net_dropmonitor.py | |
parent | beecfe9e269574973ea1b37472dc81dd0364d012 (diff) |
net: hns: fixes a bug of RSS
If trying to get receive flow hash indirection table by ethtool, it needs
to call .get_rxnfc to get ring number first. So this patch implements the
.get_rxnfc of ethtool. And the data type of rss_indir_table is u32, it has
to be multiply by the width of data type when using memcpy.
Signed-off-by: Kejian Yan <yankejian@huawei.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions