gagan sidhu
gagan sidhu
may try again soon. did not work when i try after i apply patch. i will check to see if i made right changes to net/ sources and try again....
i think you made patch file for these somewhere, didn't you? i think i applied them
does this patch https://github.com/x-wrt/x-wrt/blob/master/target/linux/ramips/patches-5.4/990-mtk-driver-hwnat-compat-with-natflow.patch include all changes necessary?
ok so ignore patch (i noticed different function names, like mtk_tx_map is not in current 5.4 ralink ethernet driver [i am using same version myself]) and just apply commits you...
not actual 5.4 kernel, it's just in x-wrt tree the driver for mtk_eth_soc is in ralink folder (https://github.com/x-wrt/x-wrt/tree/master/target/linux/ramips/files/drivers/net/ethernet/ralink) i'm using 4.14
to interested readers, the commits @ptpt52 is referring to are provided below: pick 61db8e5ffe ramips: ralink driver hwnat compat with natflow: https://github.com/x-wrt/x-wrt/commit/61db8e5ffe0b6371ef3205a5c13311eec73e7e0e pick 2fe8c98b89 ramips: ralink hwnat skip all entries...
i just saw you added them within past two hours. i will check and update code accordingly and let you know. thanks pal
getting late here, i must sleep, but here is some output. it seems the changes made to natflow for DSA on linux 5.x are not compatible with the DSA driver...
hi friend, so i managed to get module with dsa support by using small change to openwrt, but regardless (with or without dsa), it is not working for some reason....
``` root@DD-WRT:~# echo debug=8 > /dev/natflow_ctl root@DD-WRT:~# cat /dev/natflow_ctl # Usage: # disabled=Number -- set disable/enable # debug= -- set debug # # Info: # ... # hwnat=1 # #...