Re: [OpenWrt-Devel] netifd: per-interface MTU settings vs per-route MTU settings?

2020-06-01 Thread Reuben Dowle
When changing an interface MTU direct through ip command, netifd will get be out of sync. The netifd internally tracked MTU (discoverable through ubus call network.device status '{"name":"xxx"}' call will always show 1500 (or whatever the value was when netifd discovered/created the interface).

Re: [OpenWrt-Devel] [PATCH] build: improve ccache support

2020-06-01 Thread Felix Fietkau
On 2020-06-01 19:11, Michael Jones wrote: > > > On Mon, Jun 1, 2020 at 10:33 AM Roman Yeryomin > wrote: > > Set CCACHE_DIR to $(TOPDIR)/.ccache and CCACHE_BASEDIR to $(TOPDIR). > This allows to do clean and dirclean. Cache hit rate for test build > after

Re: [OpenWrt-Devel] [PATCH] build: improve ccache support

2020-06-01 Thread Petr Štetiar
Roman Yeryomin [2020-06-01 18:32:26]: Hi, > Set CCACHE_DIR to $(TOPDIR)/.ccache and CCACHE_BASEDIR to $(TOPDIR). this changes location of ccache directory (people would need to move it, symlink back or override it) and with CCACHE_BASEDIR it probably also invalidates the current cache/hashes,

Re: [OpenWrt-Devel] [PATCH] build: improve ccache support

2020-06-01 Thread Michael Jones
On Mon, Jun 1, 2020 at 1:22 PM Felix Fietkau wrote: > On 2020-06-01 19:11, Michael Jones wrote: > > > > > > On Mon, Jun 1, 2020 at 10:33 AM Roman Yeryomin > > wrote: > > > > Set CCACHE_DIR to $(TOPDIR)/.ccache and CCACHE_BASEDIR to $(TOPDIR). > > This allows to do

[OpenWrt-Devel] [PATCH] build: improve ccache support

2020-06-01 Thread Roman Yeryomin
Set CCACHE_DIR to $(TOPDIR)/.ccache and CCACHE_BASEDIR to $(TOPDIR). This allows to do clean and dirclean. Cache hit rate for test build after dirclean is ~65%. If CCACHE is enabled stats are printed out at the end of building process. Signed-off-by: Roman Yeryomin --- .gitignore| 1

[OpenWrt-Devel] [PATCH] octeontx: enable Cavium CPT and ZIP drivers

2020-06-01 Thread Tim Harvey
The CPT module requires firmware which we add here as well. Signed-off-by: Tim Harvey --- target/linux/octeontx/config-5.4 | 11 +++ target/linux/octeontx/files/firmware/cpt8x-mc-ae.out | Bin 0 -> 9760 bytes target/linux/octeontx/files/firmware/cpt8x-mc-se.out |

Re: [OpenWrt-Devel] [PATCH] octeontx: enable Cavium CPT and ZIP drivers

2020-06-01 Thread Hauke Mehrtens
On 6/1/20 6:00 PM, Tim Harvey wrote: > The CPT module requires firmware which we add here as well. > > Signed-off-by: Tim Harvey > --- > target/linux/octeontx/config-5.4 | 11 +++ > target/linux/octeontx/files/firmware/cpt8x-mc-ae.out | Bin 0 -> 9760 bytes >

Re: [OpenWrt-Devel] [PATCH] build: improve ccache support

2020-06-01 Thread Michael Jones
On Mon, Jun 1, 2020 at 10:33 AM Roman Yeryomin wrote: > Set CCACHE_DIR to $(TOPDIR)/.ccache and CCACHE_BASEDIR to $(TOPDIR). > This allows to do clean and dirclean. Cache hit rate for test build > after dirclean is ~65%. > If CCACHE is enabled stats are printed out at the end of building

Re: [OpenWrt-Devel] [PATCH v2 4/4] build: use zstd for SDK and ImageBuilder tarballs

2020-06-01 Thread Petr Štetiar
Matthias Schiffer [2020-05-31 11:08:47]: Hi, > For patch 4, I'd like to have an ACK from someone familiar with the buildbot > setup. Disclaimer: I'm Buildbot setup noob, just helping occasionally with the maintenance burden, but from my limited understanding it's not just about ACK, some

Re: [OpenWrt-Devel] [PATCH v2 4/4] build: use zstd for SDK and ImageBuilder tarballs

2020-06-01 Thread Etienne Champetier
Hi Petr and Matthias Le lun. 1 juin 2020 à 06:21, Petr Štetiar a écrit : > Matthias Schiffer [2020-05-31 11:08:47]: > > Hi, > > > For patch 4, I'd like to have an ACK from someone familiar with the > buildbot > > setup. > > Disclaimer: I'm Buildbot setup noob, just helping occasionally with

Re: [OpenWrt-Devel] [PATCH v2 4/4] build: use zstd for SDK and ImageBuilder tarballs

2020-06-01 Thread Matthias Schiffer
On 6/1/20 12:21 PM, Petr Štetiar wrote: > Matthias Schiffer [2020-05-31 11:08:47]: > > Hi, > >> For patch 4, I'd like to have an ACK from someone familiar with the buildbot >> setup. > > Disclaimer: I'm Buildbot setup noob, just helping occasionally with the > maintenance burden, but from my

Re: [OpenWrt-Devel] [PATCH v2 4/4] build: use zstd for SDK and ImageBuilder tarballs

2020-06-01 Thread Petr Štetiar
Matthias Schiffer [2020-06-01 14:38:16]: Hi, > On 6/1/20 12:21 PM, Petr Štetiar wrote: > > > > 1. Someone has to provide patches against Buildbot[1] repo with the zstd > > naming changes > > I can write the patch, but it seems this is only a default value, and the > config file defines