Changeset 94967 in vbox
- Timestamp:
- May 9, 2022 4:58:18 PM (3 years ago)
- Location:
- trunk/src/VBox/HostDrivers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/VBoxNetAdp-linux.c
r93421 r94967 283 283 #endif /* RTLNX_VER_MAX(2,6,29) */ 284 284 #if RTLNX_VER_MIN(4,10,0) 285 pNetDev->max_mtu = 16110; 285 pNetDev->max_mtu = 65536; 286 pNetDev->features = NETIF_F_TSO 287 | NETIF_F_TSO6 288 | NETIF_F_TSO_ECN 289 | NETIF_F_SG 290 | NETIF_F_HW_CSUM; 286 291 #endif /* RTLNX_VER_MIN(4,10,0) */ 287 292 -
trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
r94501 r94967 1532 1532 skb_shinfo(pBuf)->gso_segs, skb_shinfo(pBuf)->gso_type, 1533 1533 skb_shinfo(pBuf)->frag_list, pBuf->pkt_type, pBuf->ip_summed)); 1534 #ifndef VBOXNETFLT_SG_SUPPORT 1534 1535 1535 if (RT_LIKELY(fSrc & INTNETTRUNKDIR_HOST)) 1536 1536 { … … 1546 1546 # endif 1547 1547 } 1548 #endif /* !VBOXNETFLT_SG_SUPPORT */ 1548 1549 1549 # ifdef VBOXNETFLT_WITH_GSO_RECV 1550 1550 if ( (skb_shinfo(pBuf)->gso_type & (SKB_GSO_TCPV6 | SKB_GSO_TCPV4)) … … 1699 1699 static void vboxNetFltLinuxReportNicGsoCapabilities(PVBOXNETFLTINS pThis) 1700 1700 { 1701 #if def VBOXNETFLT_WITH_GSO_XMIT_WIRE1701 #if defined(VBOXNETFLT_WITH_GSO_XMIT_WIRE) || defined(VBOXNETFLT_WITH_GSO_XMIT_HOST) 1702 1702 if (vboxNetFltTryRetainBusyNotDisconnected(pThis)) 1703 1703 { … … 1733 1733 vboxNetFltRelease(pThis, true /*fBusy*/); 1734 1734 } 1735 #endif /* VBOXNETFLT_WITH_GSO_XMIT_WIRE */1735 #endif /* VBOXNETFLT_WITH_GSO_XMIT_WIRE || VBOXNETFLT_WITH_GSO_XMIT_HOST */ 1736 1736 } 1737 1737
Note:
See TracChangeset
for help on using the changeset viewer.