mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 00:24:51 +00:00
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:
parent
8752d8d677
commit
7e06aa13c1
@ -1 +1 @@
|
|||||||
b59f4f8ca00b96a40a93f736676f5b4e830cbd01
|
7206beec5f83e36d8ed850537ae730d862e790d5
|
||||||
|
@ -2,7 +2,16 @@ network.patch
|
|||||||
|
|
||||||
--- a/src/virtualbox6/src/VBox/Devices/Network/DevE1000.cpp
|
--- a/src/virtualbox6/src/VBox/Devices/Network/DevE1000.cpp
|
||||||
+++ b/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->fR0Enabled ? "enabled" : "disabled",
|
||||||
pDevIns->fRCEnabled ? "enabled" : "disabled"));
|
pDevIns->fRCEnabled ? "enabled" : "disabled"));
|
||||||
|
|
||||||
@ -36,7 +45,7 @@ network.patch
|
|||||||
/*
|
/*
|
||||||
* Initialize sub-components and register everything with the VMM.
|
* 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"));
|
return PDMDEV_SET_ERROR(pDevIns, rc, N_("Failed to attach the status LUN"));
|
||||||
pThisCC->pLedsConnector = PDMIBASE_QUERY_INTERFACE(pBase, PDMILEDCONNECTORS);
|
pThisCC->pLedsConnector = PDMIBASE_QUERY_INTERFACE(pBase, PDMILEDCONNECTORS);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user