diff options
author | Shradha Gupta <shradhagupta@linux.microsoft.com> | 2023-06-05 04:30:06 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-06-07 09:46:49 +0100 |
commit | 4cab498f33f7adaa01ad15909c0f34a81e5a0b0a (patch) | |
tree | e62655bbe73d7fda9813d8e71083da4dd251ffd1 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ae28ea5cbdee9956464223b304d6c767238b2506 (diff) |
hv_netvsc: Allocate rx indirection table size dynamically
Allocate the size of rx indirection table dynamically in netvsc
from the value of size provided by OID_GEN_RECEIVE_SCALE_CAPABILITIES
query instead of using a constant value of ITAB_NUM.
Signed-off-by: Shradha Gupta <shradhagupta@linux.microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Tested-on: Ubuntu22 (azure VM, SKU size: Standard_F72s_v2)
Testcases:
1. ethtool -x eth0 output
2. LISA testcase:PERF-NETWORK-TCP-THROUGHPUT-MULTICONNECTION-NTTTCP-Synthetic
3. LISA testcase:PERF-NETWORK-TCP-THROUGHPUT-MULTICONNECTION-NTTTCP-SRIOV
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions