Files
yttrium-virtio-gpu/NetKVM
Yuri Benditovich 48cdf5f8d0 netkvm: init-time decide about maximum RX buffer size
Currently the driver always assume the maximim packet size
is ~64K as it is compiled with RSC support. The initial
reason was that if the RSC is disabled by admin (registry
value of the driver), it can be turned on by command, i.e.
without disable-enable. However this depends also on host
features. If the host does not support the GUEST_TSOx,
RSC will be reported to the OS as not supported but the
buffers are still huge without any reason.
(In such case the powershell reports IPv4 and IPv6 operational
state as Off even if the RSC keywords are enabled).
The commit moves the decision to initialization time - if the
RSC is not supported, the buffers are sized accoring to MTU.
The memory consumption is lower 16 times.

Signed-off-by: Yuri Benditovich <[email protected]>
2024-11-28 11:15:53 +02:00
..
2024-11-20 15:48:35 +02:00
2024-11-20 15:48:35 +02:00
2024-11-20 15:48:35 +02:00
2024-11-20 15:48:35 +02:00
2022-01-11 09:47:09 +02:00
2020-08-19 15:11:10 +03:00
2020-08-19 15:11:10 +03:00


For any queries/suggestion/complains please contact me yvugenfi-redhat-dot-com