Thread (9 messages) flat view 9 messages, 5 authors, 2023-06-07

RE: [PATCH v3] hv_netvsc: Allocate rx indirection table size dynamically

From: Haiyang Zhang <haiyangz@microsoft.com>
Date: 2023-05-30 20:58:02
Also in: linux-hyperv, lkml

-----Original Message-----
From: Shradha Gupta <redacted>
Sent: Friday, May 26, 2023 2:02 AM
To: linux-kernel@vger.kernel.org; linux-hyperv@vger.kernel.org;
netdev@vger.kernel.org
Cc: Shradha Gupta <redacted>; Eric Dumazet
[off-list ref]; Jakub Kicinski [off-list ref]; Paolo Abeni
[off-list ref]; KY Srinivasan [off-list ref]; Haiyang Zhang
[off-list ref]; Wei Liu [off-list ref]; Dexuan Cui
[off-list ref]; Long Li [off-list ref]; Michael Kelley
(LINUX) [off-list ref]; David S. Miller [off-list ref];
Steen Hegelund [off-list ref]; Simon Horman
[off-list ref]
Subject: [PATCH v3] 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 <redacted>
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
Thank you!

Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help