QCA NSS Packages
Go to file
Sean Khan 1891a290e0 nss-ecm: switch to using named sections in uci
The way ECM uci config is handled is pretty ugly due to it not specifying a
named section for 'general'.

Current:
```
➤ uci show ecm
ecm.global=ecm
ecm.global.acceleration_engine='nss'
ecm.@general[0]=general
ecm.@general[0].enable_bridge_filtering='0'
ecm.@general[0].disable_offloads='0'
ecm.@general[0].disable_flow_control='0'
ecm.@general[0].disable_interrupt_moderation='0'
ecm.@general[0].disable_gro='0'
```

None of the options require the use of unnamed sections
(like /etc/config/dhcp does when defining configs for multiple hosts)

With this change the config would produce:
```
ecm.global=ecm
ecm.global.acceleration_engine='nss'
ecm.general=ecm
ecm.general.enable_bridge_filtering='0'
ecm.general.disable_offloads='0'
ecm.general.disable_flow_control='0'
ecm.general.disable_interrupt_moderation='0'
ecm.general.disable_gro='0'
```

Which is a lot easier to read, and access programmatically.

We can also merge `global` and `general` into a single section as it
doesn't really make sense why we need global/general when it's
technically "ALL" globally applied.

For now, to ease users on the change, let's just stick to 2 sections.

**PLEASE NOTE: For users building their own images, and storing their**
**configs in 'files/etc/config/ecm' you will need to manually update the**
**config before compiling.**

For users using **sysupgrade** or installing without custom config at build
time 'files/etc/config/ecm' should be OK.

The following can be run manually on the config file 'ecm'

```sh
conf=/etc/config/ecm
uci -q show ecm.general || {
  echo "Converting 'ECM' config to new format."
  sed -i "s/config.*general.*/config ecm 'general'/g" "$conf"
}
```

Signed-off-by: Sean Khan <datapronix@protonmail.com>
2024-04-28 13:10:58 -04:00
firmware nss-packages: update hashes for 'zst' 2024-04-09 00:25:58 -04:00
nss-ifb Move non-upstream NSS packages back into repo 2024-02-19 01:35:04 -05:00
nss-userspace-oss nss-packages: disable broken and abandoned modules 2024-03-26 22:41:03 -04:00
qca-mcs nss-packages: update hashes for 'zst' 2024-04-09 00:25:58 -04:00
qca-nss-cfi nss-packages: update hashes for 'zst' 2024-04-09 00:25:58 -04:00
qca-nss-clients nss-packages: update hashes for 'zst' 2024-04-09 00:25:58 -04:00
qca-nss-crypto nss-packages: update hashes for 'zst' 2024-04-09 00:25:58 -04:00
qca-nss-drv nss-packages: update hashes for 'zst' 2024-04-09 00:25:58 -04:00
qca-nss-ecm nss-ecm: switch to using named sections in uci 2024-04-28 13:10:58 -04:00
qca-nss-macsec Move non-upstream NSS packages back into repo 2024-02-19 01:35:04 -05:00
qca-ssdk-shell ssdk-shell: add qca-ssdk dependency 2024-04-14 05:46:47 -04:00
LICENSE Initial commit 2021-05-30 17:58:24 +02:00
README.md README: Update 2021-05-30 18:10:46 +02:00

nss-packages

Qualcomm networking packages feed for OpenWrt

These packages provide drivers for wired networking and offloading features for the following SoC-s:

  • IPQ807x
  • IPQ60xx (Untested)
  • IPQ50xx (Untested)

Note that these require kernel patches which are part of the main OpenWrt tree, this is only the package feed.