That's a good reason to object.
> > One key question I have is, what the fsck does
> > this patch really do??? If it turns on VLAN [de-]tagging
> > unconditionally, for example, that's unacceptable.
>
> This patch, from all I know using it, does exactly one thing: it permits
> receiving (and sending) slightly larger frames, for setting the MTU on the
> base interface to 1504, so the VLAN interfaces themselves can run the
> normal 1500 byte MTU.
The patch turns on the reception for larger frames.
It only works for some chip revisions. Specifically, the i82557 does
not document this bit.
It should have been handled like all of the other interface- and
chip-specific settings -- modifying a copy of the table, not
the original static table.
> I have been using the patch to this end on several eepro100 based systems,
> over the last year, with no surprises.
Have you tried sending slightly oversized non-VLAN frames?
What about testing with '557, '558 and '559 chips?
I have a similar objection to the Tulip modification: the change
just disables the overlength packet protection. This won't work as you
expect with all chips.
> I agree that such an array of magic constants is very very undesirable.
The reason for the magic numbers is twofold: I got the documentation only
with a negotiated NDA, and even with the documentation many of the bits
have specified-but-undocumented values. Others bits are fundamentally
uninteresting modifications of standard Ethernet: disabling preamble,
extending the IFG1/IFG2 period, changing to linear back-off.
OTOH, this patch is a case where the setting should be documented. It is a
change from the default/recommended value.
Donald Becker becker@scyld.com
Scyld Computing Corporation http://www.scyld.com
410 Severn Ave. Suite 210 Second Generation Beowulf Clusters
Annapolis MD 21403 410-990-9993
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/