Re: [LEDE-DEV] [PATCH 4/5] ag71xx: Reorder ag71xx struct members for better cache performance

2017-12-04 Thread Felix Fietkau
On 2017-12-04 20:40, Rosen Penev wrote: > Qualcomm claims this improves the D-cache footprint. Origina commit message > below: > > From: Ben Menchaca > Date: Fri, 7 Jun 2013 10:57:28 -0500 > Subject: [ag71xx] cluster/align structs for cache perf > > Cluster the frequently used, per-packet struc

Re: [LEDE-DEV] [PATCH 1/5] ar71xx: Add QCA cache blasting patch

2017-12-04 Thread Felix Fietkau
On 2017-12-04 20:40, Rosen Penev wrote: > Qualcomm claims this improves cache efficiency for MIPS. Original commit > message below: > > From: Ben Menchaca > Date: Fri, 7 Jun 2013 18:35:22 -0500 > Subject: [r4k_mips] efficient cache blast > > Optimize the compiler output for larger cache blast c

Re: [LEDE-DEV] [PATCH 5/5] ag71xx: remove dma_unmap_single as it is no-op.

2017-12-04 Thread Felix Fietkau
On 2017-12-04 20:40, Rosen Penev wrote: > Qualcomm claims this is no-op for MIPS. Original commit message below: > > From: Ben Menchaca > Date: Fri, 7 Jun 2013 11:19:08 -0500 > Subject: [ag71xx] DMA unmap FROM_DEVICE no-op for our arch > > The invalidate for FROM_DEVICE map/unmap pairs is done i

[LEDE-DEV] [PATCH 2/5] Revert "ag71xx: Switch from driver to kernel macro for NAPI_WEIGHT."

2017-12-04 Thread Rosen Penev
The motivation for this was misguided. It turns out tuning the NAPI weight could be useful for testing purposes. Therefore reverting. Signed-off-by: Rosen Penev --- .../linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h | 5 +++-- .../files/drivers/net/ethernet/atheros/ag71xx/ag71x

[LEDE-DEV] [PATCH 5/5] ag71xx: remove dma_unmap_single as it is no-op.

2017-12-04 Thread Rosen Penev
Qualcomm claims this is no-op for MIPS. Original commit message below: From: Ben Menchaca Date: Fri, 7 Jun 2013 11:19:08 -0500 Subject: [ag71xx] DMA unmap FROM_DEVICE no-op for our arch The invalidate for FROM_DEVICE map/unmap pairs is done in the map. The unmap is a no-op, but there is a cost f

[LEDE-DEV] [PATCH 4/5] ag71xx: Reorder ag71xx struct members for better cache performance

2017-12-04 Thread Rosen Penev
Qualcomm claims this improves the D-cache footprint. Origina commit message below: From: Ben Menchaca Date: Fri, 7 Jun 2013 10:57:28 -0500 Subject: [ag71xx] cluster/align structs for cache perf Cluster the frequently used, per-packet structures in ag71xx near to each other, and cacheline-align

[LEDE-DEV] [PATCH 3/5] ag71xx: Reduce NAPI weight to 32.

2017-12-04 Thread Rosen Penev
Qualcomm claims this reduces cache misses. Original commit message below: From: Ben Menchaca Date: Tue, 11 Jun 2013 12:18:46 -0500 Subject: [ag71xx] reduce NAPI weight In an attempt to increase our cache warmth, we are decreasing NAPI. This increases the warmth of the reused SKBs. Signed-off-by

[LEDE-DEV] [PATCH 1/5] ar71xx: Add QCA cache blasting patch

2017-12-04 Thread Rosen Penev
Qualcomm claims this improves cache efficiency for MIPS. Original commit message below: From: Ben Menchaca Date: Fri, 7 Jun 2013 18:35:22 -0500 Subject: [r4k_mips] efficient cache blast Optimize the compiler output for larger cache blast cases that are common for DMA-based networking. Signed-o

[LEDE-DEV] [PATCH][opkg] add opkg option http_timeout

2017-12-04 Thread Alexander Couzens
http_timeout will append `--timeout xy` to the resulting wget call. This is useful when using opkg update in a automatic way and prevent long timeouts --- libopkg/opkg_conf.c | 1 + libopkg/opkg_conf.h | 1 + libopkg/opkg_download.c | 6 +- 3 files changed, 7 insertions(+), 1 deletion(

[LEDE-DEV] [PATCH] ramips: add support for Asus RT-N11P / RT-N12+ / RT-N12E b1

2017-12-04 Thread Zoltan HERPAI
This is a variant of the MT7620N-based Asus routers. Specifications: - MT7620N (580 MHz) - 32 MB RAM - 8 MB Flash - 5x 10/100Mbps Ethernet (built-in switch) - 2.4 GHz WLAN - 2x external, non-detachable antennas - UART (J2) header on PCB (115200 8n1) Flash instructions: 1. Configure PC with stat

[LEDE-DEV] [PATCH] sdk: restrict base feed repo to public git for CONFIG_BUILDBOT only

2017-12-04 Thread Rafał Miłecki
From: Rafał Miłecki This allows people to build SDK from custom repository (git access using ssh) and keep original URL in SDK's feeds.conf.default. Signed-off-by: Rafał Miłecki --- target/sdk/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/sdk/Makefile b/