Re: [LEDE-DEV] MT7621 support Jumbo frames

2017-04-28 Thread Gaetano Catalli
Hi Mingyu Li, looks fine for me. On Fri, Apr 28, 2017 at 4:59 AM, Mingyu Li wrote: > Hi Gaetano Catalli > > i change your mtk_eth_soc.c driver part. because mt7621 don't need to > set FE_GDMA1_FWD_CFG register to enable jumbo frame. and keep > MAX_RX_LENGTH because other chips

Re: [LEDE-DEV] MT7621 support Jumbo frames

2017-04-27 Thread Mingyu Li
Hi Gaetano Catalli i change your mtk_eth_soc.c driver part. because mt7621 don't need to set FE_GDMA1_FWD_CFG register to enable jumbo frame. and keep MAX_RX_LENGTH because other chips need it. i also made a patch on github

Re: [LEDE-DEV] MT7621 support Jumbo frames

2017-04-24 Thread Jaap Buurman
Excuse me for my lack of experience with the patches. It turned out the patch was just fine, but gmail probably messed up the formatting. Thank you all very much for the links to the informative patches guides. I created my own patch with quilt and applied all the changes to the source manually.

Re: [LEDE-DEV] MT7621 support Jumbo frames

2017-04-23 Thread Jaap Buurman
The mediatek folder is not there by default. It gets generated in the during the "make" command when compiling the image by the patches. It can be found at the following full path: source/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-4.4.61/drivers/net/ethernet/mediatek I will try

Re: [LEDE-DEV] MT7621 support Jumbo frames

2017-04-23 Thread Alberto Bursi
Weird, I'm not seeing the whole "mediatek" folder if I try to follow your steps from a fresh source download with LEDE master (trunk/HEAD, whatever). I've checked the LEDE 17.01 branch and yes, there the "mediatek" folder is there and also that file. Kernel version is the same for both,

Re: [LEDE-DEV] MT7621 support Jumbo frames

2017-04-23 Thread Jaap Buurman
Thank you all for the suggestions. I've tried the following steps: 1) Add the patch in a file with a name so that it will be added last: 999-mtu.patch. This failed during the build. 2) Next, I wanted to write these changes manually to a patch with quilt. However, the file

Re: [LEDE-DEV] MT7621 support Jumbo frames

2017-04-22 Thread Milan Kočvara
Hello, here is step by step guide, how to work with patches (kernel, packages) https://lede-project.org/docs/guide-developer/use-patches-with-buildsystem Br Milan Jaap Buurman napsal So, dub 22, 2017 v 1∶53 : I have never applied patches before, so I am probably

Re: [LEDE-DEV] MT7621 support Jumbo frames

2017-04-19 Thread Jaap Buurman
Ah, that sounds even better :) I will try to compile and test this patch tomorrow or the day after tomorrow. Will let you know if it works. Thanks again for the effort you're putting into this! On Wed, Apr 19, 2017 at 10:23 AM, Gaetano Catalli wrote: > I'm still

Re: [LEDE-DEV] MT7621 support Jumbo frames

2017-04-19 Thread Gaetano Catalli
I'm still working on this since I would like to raise the limit up to 9KB if possible. Please, let me know if this works for you. On Wed, Apr 19, 2017 at 10:18 AM, Jaap Buurman wrote: > Wow, this is perfect. Thank you very much. I will try to use this > patch and compile

Re: [LEDE-DEV] MT7621 support Jumbo frames

2017-04-19 Thread Jaap Buurman
Wow, this is perfect. Thank you very much. I will try to use this patch and compile my own image with up to 2kb frame support. Do you have any plans on submitting this as a PR to the LEDE git? On Wed, Apr 19, 2017 at 9:32 AM, Gaetano Catalli wrote: > I've been working

Re: [LEDE-DEV] MT7621 support Jumbo frames

2017-04-10 Thread Jaap Buurman
I am able to test this on my DIR-860l. I could try to compile my own build to test this, but I am no C programmer myself. Am I correct in the following post about how to set the flag to allow for jumbo frames to be set?:

Re: [LEDE-DEV] MT7621 support Jumbo frames

2017-04-10 Thread Milan Kočvara
Hello all, if someone do a testing patch for jumboFrames, I can lend a helping hand with testing on EdgeRouter X. I think MT7621 know JumboFrames, because of Ubiquiti FMW allow to set MTU 1536B 2017-04-10 2:06 GMT+02:00 : > Probably was not in the interest of the driver

Re: [LEDE-DEV] MT7621 support Jumbo frames

2017-04-09 Thread rosenp
Probably was not in the interest of the driver writers. Based on the copyrights though, it's mostly LEDE/OpenWRT developers. Try modifying the code to test if jumbo frames work. On Sun, 2017-04-09 at 21:20 +0200, Jaap Buurman wrote: > Hello all, > > I found the message below in a conversation

Re: [LEDE-DEV] MT7621 support Jumbo frames

2017-04-09 Thread Jaap Buurman
Hello all, I found the message below in a conversation from back in August, 2016 in this mailinglist. I did not find a reply to this question. Has there ever been one? Or does anyone else happen to know the answer to this question? Thank you very much in advance. Yours sincerely, Jaap Buurman