Commit Graph

87 Commits

Author SHA1 Message Date
bitthief
639e24f6c7 qca-ssdk-shell: update to QSDK 12.3r2
Bump QCA SSDK Shell to NHSS.QSDK.12.3.r2 tag.

Massive thanks to @AgustinLorenzo.

Reference:
d6b0b67391
2023-05-08 15:04:13 +03:00
bitthief
8b673c1c51 qca-nss-ecm: rework/sync patches
qca-nss-ecm: remove noload build variant

qca-nss-ecm: backport bridge flow fixes
2023-04-04 07:50:52 +03:00
bitthief
956cdf1f2a nss-firmware: moved to package tree 2023-03-13 22:37:05 +02:00
bitthief
e12d587afc qca-nss-crypto: moved to package tree 2023-03-13 22:37:05 +02:00
bitthief
8216f98cf7 qca-nss-dp: moved to package tree 2023-03-13 22:37:05 +02:00
bitthief
c74e45a748 qca-ssdk: moved to package tree 2023-03-13 22:37:05 +02:00
bitthief
33548c7e31 qca-nss-ecm: init fix, bump nf_conntrack_max to 32768 2023-03-13 22:37:05 +02:00
bitthief
622f3130b5 qca-nss-ecm: introduce bridge filtering config option
Issues have been reported with NAT loopback and ECM,
caused by the ECM init script enabling bridge filtering
too early. Introduce a config option to enable bridge
filtering (on by default).
2023-02-24 02:46:44 +02:00
bitthief
bffc154981 qca-nss-drv: update to 12.3.r2 2023-02-24 02:46:44 +02:00
bitthief
779523dcc6 qca-nss-clients: add more drivers and mgrs 2023-02-11 07:16:27 +02:00
bitthief
2f41c0773e nss-ifb, mcs, nss-clients, nss-ecm: misc build fixes 2023-02-11 05:21:49 +02:00
Bit Thief
73580be317 qca-nss-clients: update to QSDK 12.1.5 2023-02-11 05:21:49 +02:00
Ansuel Smith
2a9e76182d qca-nss-ecm: bump to QSDK 12.0.5
qca-nss-ecm: avoid a memcpy overflow in ecm_db

Reference:
https://github.com/robimarko/nss-packages/pull/10/files

qca-nss-ecm: fix nf_ct_net null pointer reference

Fixed by xsm1997, massive thanks!
It fixes a null pointer access which is introduced in previous qca-nss-ecm patches.

Reference:
https://github.com/bitthief/openwrt/issues/9
2023-02-11 05:21:49 +02:00
bitthief
487f8d1df0 qca: add nss-userspace-oss 2023-02-11 03:52:46 +02:00
bitthief
d5ffa68b18 qca: add nss-ifb 2023-02-11 03:52:46 +02:00
bitthief
26cbc20e4f qca: add mcs 2023-02-11 03:52:46 +02:00
bitthief
5d9ea1171b qca-ssdk: sync patches
Thanks @AgostinLorenzo for sync-ing / fixing up the patches.

Reference:
095fa8333e
2023-02-11 03:52:46 +02:00
bitthief
ff6a6dda0c qca-ssdk: fix build with PIE and SSP 2023-02-11 03:52:46 +02:00
bitthief
5a7d766c33 nss-dp: bump to QSDK 12.0.5 2023-02-11 02:51:20 +02:00
bitthief
a9516543a6 nss-firmware: update to 12.1-022 bin
Update nss-firmware to 12.1-022 bin
2023-02-11 02:51:20 +02:00
bitthief
468ddce589 firmware: add EIP197 firmware binaries 2023-02-11 02:51:20 +02:00
bitthief
aa970461ff qrtr: fix src url date typo 2023-02-11 02:51:20 +02:00
bitthief
d1cfb458e1 Revert "treewide: mark 5.10 only kmods"
This reverts commit cb73d6682b.
2022-12-22 06:12:32 +02:00
Robert Marko
b76391b39b utils: add mhz
Package tool that allow mathematically calculating the current CPU
frequency to validate the values read by kernel.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2022-12-04 13:11:55 +01:00
Robert Marko
8e37e79806 qca: add QRTR tools
Package QCA-s QRTR tools that come in handy when debugging.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2022-12-04 13:08:17 +01:00
XiaoliChan
9fbdee3f62 [qca-nss-dp] Rename dependencies
Rename dependencies of [qca-nss-dp], from [kmod-qca-ssdk-nohat] to [kmod-qca-ssdk].

Signed-off-by: Xiaoli Chan <2209553467@qq.com>
2022-09-29 16:26:19 +02:00
Robert Marko
d3a3989058 qca-ssdk-shell: update to 12.1.5.r3
Sync with SSDK.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2022-09-28 12:15:54 +02:00
Alexandru Gagniuc
43f19d8112 qca-ssdk: update to QSDK 12.1.5.r3
This "newer" version allows using 3rd party PHYs that are already
supported in the upstream kernel. Some devices use non-QCA PHYs, and
thus must rely on the kernel PHY drivers instead.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Signed-off-by: Robert Marko <robimarko@gmail.com>
2022-09-28 12:15:25 +02:00
Robert Marko
2ce7693715 Revert "nss-dp: edma-v1: try to improve driver performance"
This reverts commit abdc8ff534, reversing
changes made to 76602b9c18.

It looks like this needs to be further refined as users are reporting
reduced performance and we also see spurious NAPI over-budget warnings.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2022-07-24 23:30:46 +02:00
Christian Marangi
abdc8ff534
nss-dp: edma-v1: try to improve driver performance
2e82c51 nss-dp: edma-v1: improve napi and irq handling for rx/tx
92aa9ba nss-dp: edma-v1: add support for threaded napi
75129b9 nss-dp: edma-v1: split tx/rx path to specific napi and irq
2c27cb4 nss-dp: edma-v1: convert rx/tx store to idr implementation
2022-06-27 16:33:44 +02:00
Christian Marangi
2e82c51069
nss-dp: edma-v1: improve napi and irq handling for rx/tx
Various improvement on how napi and irq are handled for rx/tx.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2022-06-27 16:29:01 +02:00
Christian Marangi
92aa9ba865
nss-dp: edma-v1: add support for threaded napi
Add support for threaded napi.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2022-06-27 16:28:49 +02:00
Christian Marangi
75129b9dbc
nss-dp: edma-v1: split tx/rx path to specific napi and irq
Split tx and rx path to specific napi and irq handler.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2022-06-24 20:08:17 +02:00
Christian Marangi
2c27cb4ce1
nss-dp: edma-v1: convert rx/tx store to idr implementation
Add patch to convert rx/tx store to idr implementation

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2022-06-24 17:02:10 +02:00
Robert Marko
76602b9c18 nss-dp: edma-v1: switch to napi_gro_receive
Utilize napi_gro_receive instead of plain netif_receive_skb on EDMA v1.
It provides significant performance improvements when testing with iperf3.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2022-06-23 14:28:10 +02:00
Alexandru Gagniuc
3395afd07a nss-dp: Support "phy-handle" properties for PHY connection
A phy-handle is a more intuitive way to declare the PHY connection
when compared to the abomination that qualcomm implemented. In the
interest of maintaing the sanity of developers porting hardware,
shield them from the abomination wth the use of 'phy-handle.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2022-06-13 19:25:10 +02:00
Ansuel Smith
e344c6492d
nss-dp: silence debug log on xgmac probe
A debug log is wrongly print as info on xgmac probe.
Silence it as user could get confused.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2022-05-19 23:43:13 +02:00
Ansuel Smith
d442d1328e
qca-nss-drv: disable additional module not used
Add patch to permit more modularization and disable
additional module not used. PPPOE is disabled by default.
Will be enabled later if PPPOE offload will be reintroduced.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2022-05-17 21:40:05 +02:00
Ansuel Smith
882ea0ee5a
nss-dp: fix confusing printing on driver probe
Net core changed implementation upstream. This results in nss-dp
printing confusing info log to the user as it does print
the netdev name before netdev is registered. Move the old log to dbg
and add an additional info log after netdev_register to give the user
feedback of correct driver probe.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2022-05-17 16:06:37 +02:00
Ansuel Smith
76d8866ea2
nss-dp: refresh patches from QSDK 12.0 update
Refresh patches from QSDK 12.0 update using
make package/qca-nss-dp/refresh

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2022-05-17 16:06:36 +02:00
Robert Marko
649daa06c7 qca-ssdk-shell: update to 12.0
Update the SSDK shell 12.0 release to match SSDK.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2022-05-16 21:27:49 +02:00
Ansuel Smith
9324002719 qca-nss-drv: fix use of custom skb_skip_tc_classify
Use standard skb_skip_tc_classify instead of using custom api
and bit.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2022-05-15 21:44:46 +02:00
Ansuel Smith
8d6d7b6fe1 qca-nss-drv: fix use of dmac_{inv/clean}_range with standard api
Drop use of dmac_{inv/clean}_range and use generic dma sync api.
This should permit us to compile nss-drv without adding additional
patch to the upstream kernel.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2022-05-15 21:44:46 +02:00
Ansuel Smith
f04e4036c0 nss-drv: update to QSDK 12.0
Update nss-drv to QSDK 12.0

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2022-05-15 21:44:46 +02:00
Ansuel Smith
27071d79d8 qca-nss-dp: update to QSDK 12.0
Update qca-nss-dp to QSDK 12.0

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2022-05-15 21:44:46 +02:00
Ansuel Smith
275fe3a0b0 qca-ssdk: update to QSDK 12.0
Update qca-ssdk to QSDK 12.0.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2022-05-15 21:44:46 +02:00
Ansuel Smith
ddce3f6da1 nss-firmware: update to 12.0r1-002 bin
Update nss-firmware to 12.0r1-002 bin

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2022-05-15 21:44:46 +02:00
Ansuel Smith
ea5a395dc2 nss-drv: add support for kernel 5.15
Add support for kernel 5.15 for nss-drv

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2022-05-15 21:44:46 +02:00
XiaoliChan
edf4a0edcb [qca-ecm init] Add if condition in start function
Without this, the "net.bridge.bridge" will append into /etc/sysctl.d/qca-nss-ecm.conf in every system reboot/startup.

Signed-off-by: Xiaoli Chan <2209553467@qq.com>
2022-04-05 13:53:33 +02:00
Robert Marko
1f3addc3a2 treewide: update GIT source URL-s
Codeaurora is now in archive-only mode as everything has been moved to the
Gitlab based git.codelinaro.org

So, update all of the source URL-s as well as update to the latest 11.4
commit if there is a newer one.

Refresh patches as well if any have offsets or fuzzes.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2022-04-04 13:11:12 +02:00