Browse Source

Plan 9 from Bell Labs 2014-03-25

David du Colombier 10 years ago
parent
commit
d1eaf4bfb4

+ 1 - 1
sys/src/9/pc/ether82563.c

@@ -416,7 +416,7 @@ enum {
 enum {
 	/* were 512, 1024 & 64, but 52, 253 and 9 are ample. */
 	Nrd		= 128,		/* power of two */
-	Nrb		= 256,		/* private receive buffers per Ctlr */
+	Nrb		= 512,		/* private receive buffers per Ctlr */
 	Ntd		= 32,		/* power of two */
 };
 

+ 1 - 1
sys/src/9/pc/etherdp83820.c

@@ -338,7 +338,7 @@ enum {
 	Rbsz		= ROUNDUP(sizeof(Etherpkt)+8, 8),
 	/* were 256, 4*Nrd & 64, but 52, 253 and 9 are ample. */
 	Nrd		= 128,
-	Nrb		= 256,
+	Nrb		= 512,
 	Ntd		= 32,
 };
 

+ 1 - 1
sys/src/9/pc/etherigbe.c

@@ -446,7 +446,7 @@ enum {
 	Rbsz		= 2048,
 	/* were 256, 1024 & 64, but 52, 253 and 9 are ample. */
 	Nrd		= 128,		/* multiple of 8 */
-	Nrb		= 256,		/* private receive buffers per Ctlr */
+	Nrb		= 512,		/* private receive buffers per Ctlr */
 	Ntd		= 32,		/* multiple of 8 */
 };
 

+ 4 - 0
sys/src/cmd/venti/srv/config.c

@@ -177,6 +177,10 @@ runconfig(char *file, Config *config)
 			}
 			config->vaddr = estrdup(flds[1]);
 		}else{
+			/*
+			 * this is insanely paranoid.  a single typo should not
+			 * prevent venti from starting.
+			 */
 			seterr(EAdmin, "illegal line '%s' in configuration file %s", line, file);
 			break;
 		}