From owner-freebsd-net Mon Nov 4 13: 3:14 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E54C37B401 for ; Mon, 4 Nov 2002 13:03:13 -0800 (PST) Received: from mel-rto3.wanadoo.fr (smtp-out-3.wanadoo.fr [193.252.19.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF45143E4A for ; Mon, 4 Nov 2002 13:03:12 -0800 (PST) (envelope-from vjardin@wanadoo.fr) Received: from mel-rta7.wanadoo.fr (193.252.19.61) by mel-rto3.wanadoo.fr (6.5.007) id 3DA24D1801089F57 for net@freebsd.org; Mon, 4 Nov 2002 22:03:10 +0100 Received: from there (217.128.206.98) by mel-rta7.wanadoo.fr (6.5.007) id 3DA24BE600FF3EA2 for net@freebsd.org; Mon, 4 Nov 2002 22:03:10 +0100 Message-ID: <3DA24BE600FF3EA2@mel-rta7.wanadoo.fr> (added by postmaster@wanadoo.fr) Content-Type: text/plain; charset="iso-8859-15" From: Vincent Jardin To: net@freebsd.org Subject: MPD and MRU Date: Mon, 4 Nov 2002 22:19:54 +0100 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, It looks like it is not possible to configure any MRU values with MPD, due to LCP_MRU_MARGIN (=20). For example, on the PPPoE links, the values between 1473 to 1491 are not possible. ... link.c: case SET_MRU: case SET_MTU: val = atoi(*av); name = ((intptr_t)arg == SET_MTU) ? "MTU" : "MRU"; if (!lnk->phys->type) Log(LG_ERR, ("[%s] this link has no type set", lnk->name)); else if (val < LCP_MIN_MRU) Log(LG_ERR, ("[%s] the min %s is %d", lnk->name, name, LCP_MIN_MRU)); else if (val + LCP_MRU_MARGIN > lnk->phys->type->mru) Log(LG_ERR, ("[%s] the max %s on type \"%s\" links is %d", lnk->name, name, lnk->phys->type->name, lnk->phys->type->mru - LCP_MRU_MARGIN)); /* XXXXXXXXXX */ else if ((intptr_t)arg == SET_MTU) lnk->conf.mtu = val; else lnk->conf.mru = val; break; ... I think that the LCP_MRU_MARGIN tests could be removed or LCP_MRU_MARGIN could be set to 0. Regards, Vincent To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message