1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-20 14:38:20 +02:00
openwrt/package/network/utils
Tony Ambardar 72885e9608 iproute2: separate tc into tiny and full variants
This change was investigated previously [1] but not deemed necessary. With
the recent addition [2] of modern BPF loader support, however, tc gained
dependencies on libelf and libbpf, with a larger installation footprint.

Similar to ip-tiny/ip-full, split tc into tc-full and tc-tiny variants,
where the latter excludes the eBPF loader, uses a smaller executable, and
avoids libelf and libbpf package dependencies. Both variants provide the
'tc' virtual package, with tc-tiny as the default.

The previous tc package included a loadable module for iptables actions.
Separate this out into a common package, tc-mod-iptables, which both
variants depend on. Some package sizes on mips_24kc:

Before:
  148343  tc_5.11.0-1_mips_24kc.ipk

After:
  144833  tc-full_5.11.0-2_mips_24kc.ipk
  138430  tc-tiny_5.11.0-2_mips_24kc.ipk  (and no libelf or libbpf)
    4115  tc-mod-iptables_5.11.0-2_mips_24kc.ipk

Also fix up some Makefile indentation.

[1] https://github.com/openwrt/openwrt/pull/1627#issuecomment-447619962
[2] b048a305a3d3 ("iproute2: update to 5.11.0")

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2021-03-19 15:30:01 +01:00
..
adb-enablemodem
arptables
bpftools bpftools: fix param order for install on macOS 2021-03-07 21:09:01 +00:00
comgt
dante
ebtables
ethtool
iproute2 iproute2: separate tc into tiny and full variants 2021-03-19 15:30:01 +01:00
ipset build: reorder more BuildPackages lines to deal with ABI_VERSION 2021-02-16 11:29:38 +01:00
iptables build: reorder more BuildPackages lines to deal with ABI_VERSION 2021-02-16 11:29:38 +01:00
iw mac80211: backport upstream patches for driver disconnect 2021-03-15 14:05:43 +01:00
iwcap
iwinfo
layerscape/restool
linux-atm
ltq-dsl-base
nftables
resolveip
rssileds rssileds: use new application led trigger backend 2021-03-05 00:10:06 -10:00
tcpdump
umbim
uqmi
wireguard-tools wireguard-tools: depend on kmod-wireguard 2021-02-26 20:41:01 +01:00
wireless-tools build: reorder more BuildPackages lines to deal with ABI_VERSION 2021-02-16 11:29:38 +01:00
wpan-tools
wwan