vbox6: disable GSO in e1000 model

Commit "vbox: avoid uncaught nic Empty_ack_queue exception" introduced a
performance regression due to packet retransmission because of faulty
GSO segment handling. As fixing the GSO handling is fairly complex, we
disable GSO until a fix was developed.

Issue #4820
Issue #4821
This commit is contained in:
Christian Helmuth 2023-04-20 15:41:31 +02:00
parent 8752d8d677
commit 7e06aa13c1
2 changed files with 12 additions and 3 deletions

View File

@ -1 +1 @@
b59f4f8ca00b96a40a93f736676f5b4e830cbd01
7206beec5f83e36d8ed850537ae730d862e790d5

View File

@ -2,7 +2,16 @@ network.patch
--- a/src/virtualbox6/src/VBox/Devices/Network/DevE1000.cpp
+++ b/src/virtualbox6/src/VBox/Devices/Network/DevE1000.cpp
@@ -7992,6 +7992,33 @@ static DECLCALLBACK(int) e1kR3Construct(PPDMDEVINS pDevIns, int iInstance, PCFGM
@@ -8001,7 +8001,7 @@
return PDMDEV_SET_ERROR(pDevIns, rc,
N_("Configuration error: Failed to get the value of 'EthernetCRC'"));
- rc = pHlp->pfnCFGMQueryBoolDef(pCfg, "GSOEnabled", &pThis->fGSOEnabled, true);
+ rc = pHlp->pfnCFGMQueryBoolDef(pCfg, "GSOEnabled", &pThis->fGSOEnabled, false);
if (RT_FAILURE(rc))
return PDMDEV_SET_ERROR(pDevIns, rc,
N_("Configuration error: Failed to get the value of 'GSOEnabled'"));
@@ -8046,6 +8046,33 @@
pDevIns->fR0Enabled ? "enabled" : "disabled",
pDevIns->fRCEnabled ? "enabled" : "disabled"));
@ -36,7 +45,7 @@ network.patch
/*
* Initialize sub-components and register everything with the VMM.
*/
@@ -8131,27 +8158,6 @@ static DECLCALLBACK(int) e1kR3Construct(PPDMDEVINS pDevIns, int iInstance, PCFGM
@@ -8185,27 +8212,6 @@
return PDMDEV_SET_ERROR(pDevIns, rc, N_("Failed to attach the status LUN"));
pThisCC->pLedsConnector = PDMIBASE_QUERY_INTERFACE(pBase, PDMILEDCONNECTORS);