On Fri, Sep 14, 2012 at 01:58:27 +0200, Felix Fietkau wrote: > On 2012-09-14 9:14 AM, Antonio Quartulli wrote: > > This patch introduces the possibility to modify the MTU of the Ethernet > > interface with a maximum value of 2024 (as reported in RouterOS). The real > > MTU > > value applicable to the interface is computed as difference between the > > maximum > > frame length (2024) minus some overhead. > > > > The default MTU size is unchanged; if large frames are desired, ifconfig > > must be used to set the new MTU. > I think we need to do some thorough tests with different chips. From > experiments I remember that the behavior when sending and receiving > large frames is different in ar716x vs ar724x. Some chips can handle > bigger frames than others, some don't respond well to anything that's > 30-40 bytes longer than the regular packet size.
Here[1] we have the values of the supported MTU per board. For the board that we know what chip is used we could customize the driver and set the proper MTU? E.g. I have a RB2011L and this board uses the AG71xx driver for eth0 and eth1, but they have different MTUs. How can I find out what chipset each interface uses? Once I know this I could parametrize the driver. Cheer, [1] http://wiki.mikrotik.com/wiki/Manual:Maximum_Transmission_Unit_on_RouterBoards > > - Felix -- Antonio Quartulli ..each of us alone is worth nothing.. Ernesto "Che" Guevara
pgppIlt9vYuzf.pgp
Description: PGP signature
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel