summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* kernel: align the skb padding to power of twoFelix Fietkau2013-09-115-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The skb is usually started by a padding which allows the protocols in the network stack to add their headers in front of the payload. The skb can be reallocated in case the preallocated padding is not large enough. This can for example happen in the function __skb_cow which will check the requested extra headroom and allocate more buffer when the requested headroom is bigger than the available one. The extra buffer is aligned again to the multiple of the NET_SKB_PAD of the target architecture. The macro used to create the multiple of the NET_SKB_PAD is written in a way which allows only values power two as alignment parameter. The currently used value of 48 bytes can not be written as n ** 2 but as 2 ** 4 + 2 ** 5. The extra buffer is therefore not always the multiple of 48 but can be 16, 64, 80, 128, 144 and so on. The generated values are also not monotonic (48 requested bytes are mapped to 80 allocated bytes and 49 requested bytes are mapped to 64 allocated bytes). These unexpected small values result in more reallocations of the buffer. This was noticed prominently during tests between two QCA9558 720 MHz devices which were connected via ethernet to PCs and had a HT40 802.11n 3x3 link between each other. The throughput PC-to-PC during iperf TCP runs increased reliable from 186 Mibit/s to 214 Mibit/s in one direction and from 195 Mibit/s to 220 Mibit/s in the other direction. This is a performance increase of ~14% just by reducing the amount of reallocations. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 37948
* toolchain/gcc: upgrade linaro gcc 4.6 to 4.6-2013.05Felix Fietkau2013-09-111-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37947
* toolchain/gcc: fix up breakage introduced in r37945Felix Fietkau2013-09-111-1/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37946
* upgrade Linaro gcc 4.8 to 4.8-2013.08Imre Kaloz2013-09-116-18/+18
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 37945
* add support for Linaro binutils 2.23.2-2013.06Imre Kaloz2013-09-118-12/+153
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 37944
* upgrade to 7.6-2013.05Imre Kaloz2013-09-114-35/+13
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 37943
* kernel: fix broken depends syntax introduced in r37933Florian Fainelli2013-09-111-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37942
* rpcd: update to git headJo-Philipp Wich2013-09-112-2/+17
| | | | | | | - introduces persistent null session to allow access to procedures without login - implements session.login procedure to support user logins via json-rpc SVN-Revision: 37941
* kernel: Fix FIQ code on VIVT CPUs (#14145)Florian Fainelli2013-09-111-0/+55
| | | | | | | | Backport an upstream patch to fix FIQ code on VIVT CPUs Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37940
* toolchain: refresh uClibc patchesFlorian Fainelli2013-09-116-78/+23
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37939
* toolchain: define MUSL dynamic linker for SPARCFlorian Fainelli2013-09-113-0/+38
| | | | | | | | | SPARC builds are currently broken because we do not define the MUSL dynamic linker name, fix that. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37938
* kernel: add imx sata moduleLuka Perkov2013-09-101-0/+18
| | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 37937
* imx6: backport ahci supportLuka Perkov2013-09-104-0/+545
| | | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37936
* imx6: add i2c retry on NAKLuka Perkov2013-09-101-0/+40
| | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 37935
* imx6: add gpio sysfs supportLuka Perkov2013-09-101-1/+2
| | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 37934
* kernel: allow hwmon GSC driver for all targetsLuka Perkov2013-09-106-5/+20
| | | | | | | | | - enable using hwmon GSC driver on all targets - add a kmod package for it Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 37933
* build: enable MIPS16 again, but make it depend on !gcc-4.6Felix Fietkau2013-09-101-0/+2
| | | | | | | | gcc 4.6 miscompiles hostapd with mips16, on gcc 4.8 it works Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37932
* kernel: fix arch-dependent bug in hso moduleFelix Fietkau2013-09-1010-0/+490
| | | | | | | | | | Currently, the module causes an oops at least on rt5350. These patches have been accepted upstream at: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> SVN-Revision: 37931
* Revert "build: enable MIPS16 by default if available"Felix Fietkau2013-09-101-1/+0
| | | | | | | | This reverts commit r37926. It seems to trigger some weird issues in hostapd that should be investigated first SVN-Revision: 37928
* openssl: add parallel build supportFelix Fietkau2013-09-102-4/+340
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37927
* build: enable MIPS16 by default if availableFelix Fietkau2013-09-101-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37926
* procd: update to latest version, adds udevtrigger improvements by juhosgFelix Fietkau2013-09-101-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37925
* toolchain/gcc: remove 4.6.3, it is unused and unmaintainedFelix Fietkau2013-09-1021-1032/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37924
* rt2x00: merge an rt2800 initialization order fixFelix Fietkau2013-09-097-36/+62
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37922
* rpcd: update to git headJo-Philipp Wich2013-09-092-3/+11
| | | | | | | | | | - adds support for service triggering on config commit - adds uci transaction support - adds daemon reload support without loosing session data - exports headers for use by external plugins - drops LuCI2 in favor to an out of tree plugin SVN-Revision: 37921
* ath9k: clean up some patchesFelix Fietkau2013-09-085-29/+27
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37919
* mac80211: merge a big batch of upstream changes/improvementsFelix Fietkau2013-09-0826-203/+5091
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37918
* tools/cmake: disable qt related checks to fix build issuesFelix Fietkau2013-09-071-0/+28
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37917
* brcm47xx: add me as maintainerHauke Mehrtens2013-09-071-0/+1
| | | | SVN-Revision: 37916
* ar71xx: use the lzma loader for the WRT160NLGabor Juhos2013-09-071-2/+2
| | | | | | | | | | | | | | | | | | | | Partition layout before: 0x000000040000-0x0000001a0000 : "kernel" 0x0000001a0000-0x0000007e0000 : "rootfs" mtd: partition "rootfs" set to be root filesystem mtd: partition "rootfs_data" created automatically, ofs=0x350000, len=0x490000 0x000000350000-0x0000007e0000 : "rootfs_data" after: 0x000000040000-0x000000140000 : "kernel" 0x000000140000-0x0000007e0000 : "rootfs" mtd: partition "rootfs" set to be root filesystem mtd: partition "rootfs_data" created automatically, ofs=0x2f0000, len=0x4f0000 0x0000002f0000-0x0000007e0000 : "rootfs_data" Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37915
* ppc40x: remove 3.8 supportGabor Juhos2013-09-078-2043/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37914
* ppc40x: switch to 3.10Gabor Juhos2013-09-071-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37913
* ppc40x: add support for 3.10Gabor Juhos2013-09-078-0/+2046
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37912
* brcm63xx: drop linux 3.9 supportJonas Gorski2013-09-06151-17416/+0
| | | | | | | | It is EOL since quite a while, so no need to keep it around. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 37911
* brcm63xx: switch to linux 3.10Jonas Gorski2013-09-061-1/+1
| | | | | | | | 3.10 is stable enough, and 3.9 is EOL since a while. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 37910
* odhcp6c: more compatibility fixesSteven Barth2013-09-051-2/+2
| | | | SVN-Revision: 37907
* kernel: b53: support phy ids for BCM5365Jonas Gorski2013-09-052-2/+28
| | | | | | | | | | | | BCM5365 (and probably other older variants) use a different phy id, so the phy driver never attached for them. Fix this by adding the appropriate phy id to the fixup and the phy driver. Reported-by: Russell Senior <russell@personaltelco.net> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 37906
* mac80211: kmod-rtl_pci: fix dependenciesHauke Mehrtens2013-09-051-7/+66
| | | | | | | | | | | | | | | | This fixes the following error: rtl_pci: Unknown symbol rtl_lps_leave (err 0) rtl_pci: Unknown symbol rtl_lps_enter (err 0) rtl8192ce: Unknown symbol rtl_pci_disconnect (err 0) rtl8192ce: Unknown symbol rtl_pci_probe (err 0) rtl8192de: Unknown symbol rtl_pci_disconnect (err 0) rtl8192de: Unknown symbol rtl_pci_probe (err 0) rtl8192se: Unknown symbol rtl_pci_disconnect (err 0) rtl8192se: Unknown symbol rtl_pci_probe (err 0) Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37905
* kernel: kmod-libphy, kmod-tg3: fix load orderHauke Mehrtens2013-09-051-1/+1
| | | | | | | | | | | | | | | | | | | | This fixes the following error: tg3: Unknown symbol mdiobus_alloc_size (err 0) tg3: Unknown symbol phy_ethtool_sset (err 0) tg3: Unknown symbol phy_mii_ioctl (err 0) tg3: Unknown symbol phy_connect (err 0) tg3: Unknown symbol mdiobus_register (err 0) tg3: Unknown symbol mdiobus_free (err 0) tg3: Unknown symbol phy_start (err 0) tg3: Unknown symbol phy_start_aneg (err 0) tg3: Unknown symbol mdiobus_unregister (err 0) tg3: Unknown symbol phy_ethtool_gset (err 0) tg3: Unknown symbol phy_stop (err 0) tg3: Unknown symbol phy_disconnect (err 0) Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37904
* kernel: kmod-ssb, kmod-b44: fix load orderHauke Mehrtens2013-09-051-1/+1
| | | | | | | | | | | | | | | | | | | | This fixes the following error: b44: Unknown symbol ssb_device_is_enabled (err 0) b44: Unknown symbol ssb_pcicore_dev_irqvecs_enable (err 0) b44: Unknown symbol ssb_bus_may_powerdown (err 0) b44: Unknown symbol ssb_pcihost_register (err 0) b44: Unknown symbol ssb_device_disable (err 0) b44: Unknown symbol ssb_device_enable (err 0) b44: Unknown symbol ssb_driver_unregister (err 0) b44: Unknown symbol __ssb_driver_register (err 0) b44: Unknown symbol ssb_bus_powerup (err 0) b44: Unknown symbol ssb_clockspeed (err 0) b44: Unknown symbol ssb_dma_translation (err 0) Reported-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37903
* kernel: kmod-firewire: fix dependenciesHauke Mehrtens2013-09-051-1/+1
| | | | | | | | | This fixes the following error: firewire_core: Unknown symbol crc_itu_t (err 0) Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37902
* mac80211: do not download carl9170 firmware separately, but use the one from ↵Hauke Mehrtens2013-09-051-15/+5
| | | | | | | | | | linux-firemware linux-firemware contains the same version we loaded without this patch. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37901
* kernel: kmod-fs-xfs: fix dependenciesHauke Mehrtens2013-09-051-1/+1
| | | | | | | | | This fixes the following error: xfs: Unknown symbol exportfs_decode_fh (err 0) Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37900
* kernel: kmod-usb-serial-keyspan: fix dependenciesHauke Mehrtens2013-09-051-1/+1
| | | | | | | | | This fixes the following error: keyspan: Unknown symbol ezusb_fx1_ihex_firmware_download (err 0) Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37899
* ath10k: enable Atheros 802.11ac driverHauke Mehrtens2013-09-051-2/+50
| | | | | | | | | | | | | | | | | | | | | | This enables usage of the ath10k driver on OpenWrt. Only 2.0 PCI hardware is supported. The ath10k firmware is currently only available through github so use that as its source for now. This goes build tested, not run time tested. [Hauke: I did some minor changes] Cc: ath10k@lists.infradead.org Cc: Kalle Valo <kvalo@qca.qualcomm.com> Cc: Kathy Giori <kgiori@qca.qualcomm.com> Cc: Mathieu Olivari <mathieu@qca.qualcomm.com> Cc: Jerome Proffit <jproffit@qca.qualcomm.com> Cc: Sujith Manoharan <c_manoha@qca.qualcomm.com> Cc: Matthew McClintock <mmcclint@qca.qualcomm.com> Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37898
* Add missing symbolImre Kaloz2013-09-051-0/+1
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 37897
* kernel: b53: allow access the MIB counters on BCM5365Hauke Mehrtens2013-09-041-1/+1
| | | | | | | | | | b53_no_ops has no elements and b53_port_ops has one element, this makes the code access some random memory when trying to access the mib counter functions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37895
* kobs-ng: add new packageLuka Perkov2013-09-032-0/+121
| | | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37894
* usbreset: rewrite to not rely on /proc/bus/usb anymoreJo-Philipp Wich2013-09-032-70/+52
| | | | SVN-Revision: 37893
* ar71xx: fix NetGear initramfs image namesGabor Juhos2013-09-031-1/+1
| | | | | | | | | The '-initramfs' string is duplicated in the image names, fix it. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37892