linux-stable/drivers/net/hyperv
Shradha Gupta 4cab498f33 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>
2023-06-07 09:46:49 +01:00
..
hyperv_net.h hv_netvsc: Allocate rx indirection table size dynamically 2023-06-07 09:46:49 +01:00
Kconfig
Makefile hv_netvsc: Add XDP support 2020-01-25 10:43:19 +01:00
netvsc.c hv_netvsc: Remove second mapping of send and recv buffers 2023-04-17 19:19:04 +00:00
netvsc_bpf.c hv_netvsc: Add support for XDP_REDIRECT 2022-04-11 18:25:47 -07:00
netvsc_drv.c hv_netvsc: Allocate rx indirection table size dynamically 2023-06-07 09:46:49 +01:00
netvsc_trace.c
netvsc_trace.h
rndis_filter.c hv_netvsc: Allocate rx indirection table size dynamically 2023-06-07 09:46:49 +01:00