aboutsummaryrefslogtreecommitdiff
path: root/package/kernel/qca-nss-dp
Commit message (Collapse)AuthorAge
* qca-nss-dp: add patch fixing rmmod and insmodChristian Marangi2024-04-18
| | | | | | | | | | | Add patch fixing rmmod and insmod. Lots of flawed logic fixed that permits the module to correctly rmmod and insmod later. Just to quote some change, use phy_detach instead of phy_disconnect, fix exclusive reset_control that could only be used once, fix kernel panic on second edma_cleanup, stop traffic before module exit... Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* treewide: update PKG_MIRROR_HASH to zstPaul Spooren2024-04-06
| | | | | | | When using zst instead of xz, the hash changes. This commit fixes the hash for packages and tools in core. Signed-off-by: Paul Spooren <mail@aparcar.org>
* qca-nss-dp: cp instead of symlink for `nss_dp_arch.h`Sean Khan2024-04-01
| | | | | | | | | | | Build files shouldn't be symlinked into the staging directory, as doing so would create a race condition if the build folder for 'qca-nss-dp' gets deleted for any reason. We should instead just copy over the required platform file to avoid breaking compilation for any dependent packages. Signed-off-by: Sean Khan <datapronix@protonmail.com>
* treewide: update PKG_MIRROR_HASH after APK version schemaPaul Spooren2024-03-25
| | | | | | | | | | With the change in version schema the downloaded files changed, too, mostly the hash is now prefixed with a tilde `~` instead of a dash `-`. Since each downloaded archive contains folder with the same name as the archive, the checksum changed. Signed-off-by: Paul Spooren <mail@aparcar.org>
* kernel: qca-nss-dp: enable compiling against 6.6Robert Marko2024-03-22
| | | | | | | Since 6.5 netdev_rx_queue was moved out of netdevice.h so include the new header since that is where it lives now. Signed-off-by: Robert Marko <robimarko@gmail.com>
* qca-nss-dp: fix typo in 0002-edma_tx_rx-support-neweKristian Skramstad2023-12-05
| | | | | | | | | | Might be a typo in drv->txtstamp function: + phy_rxtstamp(ndev->phydev, skb, 0); to + phy_txtstamp(ndev->phydev, skb, 0); Reviewed-by: Robert Marko <robimarko@gmail.com> Signed-off-by: Kristian Skramstad <kristian+github@83.no>
* kernel: qca-nss-dp: port FDB roaming fixRobert Marko2023-07-01
| | | | | | | | | | In the recent NSS-DP update FDB roaming fix we had was removed as in testing no issue were reported, but after it was merged the old duplicate MAC issue reappeared so lets port the previous FDB fix to work with newer NSS-DP. Fixes: 4ee444b5dae7 ("kernel: qca-nss-dp: update to 12.4.5.r1") Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: qca-nss-dp: simplify compile argumentsRobert Marko2023-06-26
| | | | | | | Instead of manually passing arguments, lets just switch to using $(KERNEL_MAKE). Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: qca-nss-dp: update to 12.4.5.r1Robert Marko2023-06-26
| | | | | | | | Qualcomm has finally started the preparatory work in order to support kernel 6.1, so lets make use of that and update NSS-DP 12.4.5.r1 which allows us to drop almost some of the patches. Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: move ipq807x support to subtargetRobert Marko2023-06-16
| | | | | | | | | | | | Now that qualcommax exists as a target and dependencies have been updated let move ipq807x support to subtarget of qualcommax. This is mostly copy/paste with the exception of having to update SSDK and NSS-DP to use CONFIG_TARGET_SUBTARGET. This is a preparation for later addition of IPQ60xx and IPQ50xx support. Signed-off-by: Robert Marko <robimarko@gmail.com>
* ipq807x: rename target to qualcommaxRobert Marko2023-06-16
| | | | | | | | | | | | | Currently, ipq807x only covers Qualcomm IPQ807x SoC-s. However, Qualcomm also has IPQ60xx and IPQ50xx SoC-s under the AX WiSoC-s and they share a lot of stuff with IPQ807x, especially IPQ60xx so to avoid duplicating kernel patches and everything lets make a common target with per SoC subtargets. Start doing that by renaming ipq807x to qualcommax so that dependencies on ipq807x target can be updated. Signed-off-by: Robert Marko <robimarko@gmail.com>
* qca-nss-dp: fix oops in nss_dp_probePetr Štetiar2023-06-05
| | | | | | | | | | | | | | | | | | | Currently kernel crashes when of_phy_connect has issues: Unable to handle kernel access to user memory outside uaccess routines at virtual address 0000000000000308 ... pc : phy_attached_print+0x28/0x1b0 lr : phy_attached_info+0x14/0x20 ... Call trace: phy_attached_print+0x28/0x1b0 phy_attached_info+0x14/0x20 nss_dp_adjust_link+0x544/0x6c4 [qca_nss_dp] of_phy_connect returns either pointer or NULL, so can't be checked with IS_ERR macro. Signed-off-by: Petr Štetiar <ynezz@true.cz>
* kernel: qca-nss-dp: add kernel 6.1 supportRobert Marko2023-05-28
| | | | | | Add the required changes for kernel 6.1 support. Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: add Qualcomm NSS dataplane ethernet driverRobert Marko2023-01-16
Qualcomm NSS-DP is as its name says Qualcomms ethernet driver for the NSS subsystem (Networking subsystem) built-into various Qualcomm SoCs. It has 2 modes of operation: * Without NSS FW and rest of code required for offloading This is the one that we will use as the amount of kernel patching required for NSS offloading and the fact that its not upstreamable at all makes it unusable for us. Driver in this mode is rather basic, it currently only offers NAPI GRO (Added by us as part of the fixup) and basically relies on the powerfull CPU to get good throughput. * With NSS FW and rest of code required for offloading In this mode, driver just registers the interfaces and hooks them into NSS-ECM to allow offloading. This mode is not viable for use in OpenWrt due to reasons already described above. This driver is required for ipq807x to have wired networking until a better one is available, so lets add the fixed-up version for 5.15 for now. Signed-off-by: Robert Marko <robimarko@gmail.com>