diff options
author | Adham Faris <[email protected]> | 2023-10-12 12:27:46 -0700 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2023-10-14 10:16:32 -0700 |
commit | cae8e6dea279230387d00ccb8c682e6a80ea1989 (patch) | |
tree | 1ec4356ce8af7bc1272ecbb61abc2e9fbcea42fd /tools/perf/scripts/python/sctop.py | |
parent | d90ea84375b86051e3e648dc9a8fc99919da6b42 (diff) |
net/mlx5e: Refactor mlx5e_rss_set_rxfh() and mlx5e_rss_get_rxfh()
Initialize indirect table array with memcpy rather than for loop.
This change has made for two reasons:
1) To be consistent with the indirect table array init in
mlx5e_rss_set_rxfh().
2) In general, prefer to use memcpy for array initializing rather than
for loop.
Signed-off-by: Adham Faris <[email protected]>
Reviewed-by: Tariq Toukan <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions