VirtualBox

Changeset 36608 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 7, 2011 8:37:13 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
71055
Message:

NAT/bsd: returns original number of preallocated 16kb mbufs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/bsd/kern/kern_mbuf.c

    r32431 r36608  
    126126        nmbjumbop = nmbclusters / 2;
    127127        nmbjumbo9 = nmbjumbop / 2;
    128 #ifndef VBOX
    129128        nmbjumbo16 = nmbjumbo9 / 2;
    130 #else
    131     /* drvNATNetowrkUp_AllocBuf always requests mbuf from this
    132      * zones, that require more buffers allocated on jumbo16 zone,
    133      * in case of intensive communication like p2p and UDP benches.
    134      */
    135     nmbjumbo16 = nmbclusters;
    136 #endif
    137129        TUNABLE_INT_FETCH("kern.ipc.nmbclusters", &nmbclusters);
    138130}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette