allocate longer queues for gigabit interfaces Reference: /n/sources/patch/applied/more-gbe-buffering Date: Sun May 15 00:22:07 CES 2005 --- /sys/src/9/pc/devether.c Sun May 15 00:21:36 2005 +++ /sys/src/9/pc/devether.c Sun May 15 00:21:34 2005 @@ -425,7 +425,11 @@ sprint(buf+i, "\n"); print(buf); - if(ether->mbps >= 100){ + if (ether->mbps >= 1000) { + netifinit(ether, name, Ntypes, 512*1024); + if(ether->oq == 0) + ether->oq = qopen(512*1024, Qmsg, 0, 0); + } else if(ether->mbps >= 100){ netifinit(ether, name, Ntypes, 256*1024); if(ether->oq == 0) ether->oq = qopen(256*1024, Qmsg, 0, 0);