[FS#210] ltq-RFC4638 PPPoE MTU support

LEDE Bugs lede-bugs at lists.infradead.org
Fri Oct 7 00:35:25 PDT 2016


The following task has a new comment added:

FS#210 - ltq-RFC4638 PPPoE MTU support
User who did this - Mathias Kresin (mkresin)

----------
Your analysis seam correct to me. The lantiq ptm kernel module is using [[https://git.lede-project.org/?p=source.git;a=blob;f=package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c;h=41464e6c27765745aa0c6cd9ffbe07455ff19d6d;hb=HEAD#l117|eth_change_mtu]] which allows only [[http://lxr.free-electrons.com/source/net/ethernet/eth.c?v=4.4#L320|MTUs up to ETH_DATA_LEN]]. And [[http://lxr.free-electrons.com/source/include/uapi/linux/if_ether.h?v=4.4#L34|ETH_DATA_LEN is 1500]].

Means a ptm_change_mtu() is required which accepts values up to ETH_DATA_LEN+8 (mini jumbo frames). That doesn't necessarily means that it works in the end. There might be other (hardware related) limitations.

Would you please try to add the function and report back! If it works for you, please submit a patch either via the lede-dev mailing list or via github pull request.
----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=210#comment588



More information about the lede-bugs mailing list