* nssinfo:
- Fix warnings related string formatting
* qca-nss-ecm:
- Remove unnecessary dependency on `CONFIG_NSS_DRV_WIFIOFFLOAD_ENABLE`
* qca-nss-clients(netlink):
- Fix regression in enabling wifil. It was rename to 'CONFIG_NSS_DRV_WIFIOFFLOAD_ENABLE'
in qca-nss-drv vs 'CONFIG_NSS_DRV_WIFI_ENABLE'
- Modularize Makefile to only build nludp_st on platform ipq95xx/ipq50xx
* qca-nss-clients(qdisc/igs):
- fix build igs
* qca-nss-drv:
- Remove options to configure `CONFIG_NSS_DRV_DMA_ENABLE` and `CONFIG_NSS_DRV_EDMA_ENABLE`.
These are always built and required on ipq807x, ipq60xx
restore required Makefile option NSS_DRV_IPV6_ENABLE
fixes the following:
../qca-nss-drv-2024-01-04-89cc01b5/nss_rps.c:289:24: error: 'nss_rps_ipv4_hash_bitmap_cfg' defined but not used [-Werror=unused-function]
289 | static nss_tx_status_t nss_rps_ipv4_hash_bitmap_cfg(struct nss_ctx_instance *nss_ctx, int hash_bitmap)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Similar to how memory profile is assignable for ath11k, introduce a
config option to set NSS memory profile. Default was always set to
512MB in upstream for ipq807x even though the platform is available in
256MB/512MB/1GB.
This option primarily limits the default number of offloaded
connections, and for low memory profile, empty buffer pool size
Default number of connections for each IPv4 and IPv6
* NSS_MEM_PROFILE_HIGH 4096
* NSS_MEM_PROFILE_MEDIUM 2048
* NSS_MEM_PROFILE_LOW 512
MAX Connection shared between IPv4 and IPv6
* NSS_MEM_PROFILE_HIGH 8192
* NSS_MEM_PROFILE_MEDIUM 4096
* NSS_MEM_PROFILE_LOW 1024
Everytime a virtual interface is created/destroyed, nss driver
tries to create a debugfs entry, without checking if it exists.
Prevent creation if it already exists. This will also prevent the
annoying kernel warning.
'virt_if' in directory 'stats' already present!
The option for wifi offload is `NSS_DRV_WIFIOFFLOAD_ENABLE` but the
package Makefile was showing it as `NSS_DRV_WIFI_ENABLE` but then enabling the
flag as `NSS_DRV_WIFI_ENABLE`. Incorrectly assumed `NSS_DRV_WIFI_ENABLE`
was the global option. Reverted the change and updated the option to use
`NSS_DRV_WIFIOFFLOAD_ENABLE`.
menuconfig doesn't show the title of packages if they are over a certain
length. Rewrite the titles to better describe what the package is as
well as show them in menuconfig without having to view the `HELP`
section.
2024-01-02 - 89cc01b - Introduce new msg for pn error"
2024-01-02 - 8f31ae5 - Fix greredir stats partial copy issue
If the kernel passes smaller user buffer to copy stats
than required, copy the partial content from local buffer
and in the next call, copy the remaining content.
2023-12-27 - bd89094 - qca-nss-drv: Introduce new msg for pn error
Since NSS IRQs use the same name for each core, the current function
assigns all matching names to the same CPU core. Add function
'set_affinity_last' to specify that only the 'last' matching irq ID be set
to the specified CPU core.
NSS drivers were being built unconditionally for QVPN, LSO_RX, MAPT,
CAPWAP, and UDP_ST when it was not required. Include options to disable
them manually, as well as expose them to be built should any client
in 'qca-nss-clients' require them.
No longer required to build with the following kernel modules:
* ppp
* pptp
* pppoe
* bonding
* vxlan
Instead, the dependancies will only be required if one of the
nss-clients requireing it is needed. This reduces the number of modules
needed at build time thus, a smaller overall build.
Note: If any of the above are built as optional modules "<m>" then
qca-nss-ecm is switched from built-in "<y>" to "<m>".
it's really difficult to see where meshmgr is failing when the same generic
message is used by some 28 functions. include the function being called
as mart of the message.
Disabled the following broken packages.
* qca-nss-drv-mscs
* qca-nss-drv-ovpn-link
* qca-nss-drv-ovpn-mgr
* qca-nss-ipsec-klips (PLUGIN)
Moved everyting to 'SUBMENU:=Network Devices'