Wykres commitów

20 Commity

Autor SHA1 Wiadomość Data
Pavan Kumar M
70b84dc05e dataipa: Remove clang usage from make files
Remove usage of clang in make files as it is
deprecated in soong builds.

Change-Id: I2da10dc6f0f49c58ecda18eca95369656e69b6c8
Signed-off-by: Pavan Kumar M <quic_rpavan@quicinc.com>
2023-09-25 22:12:34 +05:30
Ilia Lin
b37958da46 ipa: Remove IPA framework
1. Move the kernel and UAPI header files from the kernel project t the dataipa
2. Add python script which sanitizes and copies UAPI headers
3. Add kernel and UAPI header libraries export to Android makefiles
4. Refactor the driver code to use the internal headers
5. Refactor the driver code export symbols without the IPA framework
6. Merge ipa_clients and rndis modules into the main IPA module

Change-Id: Ie633f291aefe559ff2c39b26a5a9765371399edc
Signed-off-by: Ilia Lin <quic_ilial@quicinc.com>
2022-11-06 13:05:28 +02:00
Michael Adisumarta
6dfbf84ead dataipa: making the ipanat and ipa-kernel-test module compatible
Making cflags of ipanat and ipa-kernel-test modules compatible with the
android variant.

Change-Id: I5509317638a85432c37b76675a5c8aeb5862ec15
Signed-off-by: Michael Adisumarta <quic_madisuma@quicinc.com>
2022-11-02 21:14:06 -07:00
Eliad Ben Yishay
ebe9383206 dataipa: network-traffic: typo fix
* Typo in variable name

Change-Id: I08c7d6b04972c148f200bedd6538b532645ce718
Signed-off-by: Eliad Ben Yishay <quic_ebenyish@quicinc.com>
2022-10-31 02:36:07 -07:00
Dor Deri
efb13fad03 ipa-kernel-tests: fixed IPAHeaderInsertionTest004
Add Header with len value of 0 is valid.
Removed the part in the test which expect to fail with value of 0.

Signed-off-by: Dor Deri <quic_dderi@quicinc.com>
2022-06-09 17:21:31 +03:00
Michael Adisumarta
11eaa09da2 ipa: Support ipanat and kernel-tests compilation in LA
Change-Id: I36ec8c36f88dbe4cd67bb3c340fa5187c22f7d13
Signed-off-by: Ilia Lin <quic_ilial@quicinc.com>
2022-05-31 10:32:39 +03:00
Michael Adisumarta
49c10e18c6 msm: ipa: Add TTL update test cases
Add basic IPv4 and Ipv6 test cases for TTL update in HW
based on filtering and routing rules. Also, consists of
several minor fixes during bring up.

Change-Id: Ib363434b20ad2fc8cf29c78bb5db667959f2dbfd
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2022-03-09 19:49:51 -08:00
Michael Adisumarta
a986957002 dataipa: ipa-kernel-tests: ulso test, network-traffic fix
* Early stage target does not support every std library operations
* changed vector insert before begin to push_back to eliminate illegal
memory access
* Added virtual destructor PacketModifier

Change-Id: I34041e8b81547d474c050425beac8ae8a78a4799
Signed-off-by: Eliad Ben Yishay <quic_ebenyish@quicinc.com>
2022-03-07 16:39:53 -08:00
Chaitanya Pratapa
1fb4520d43 msm: ipa: Add NAT and IPv6 CT suppression tests
Add kernel tests to validate NAT and IPv6 CT suppression
tests.

Change-Id: If69b651330846b92c85184c5afdeba73bafa1592
Signed-off-by: Chaitanya Pratapa <quic_cpratapa@quicinc.com>
2022-02-25 18:04:34 -08:00
Chaitanya Pratapa
7ae30f4367 msm: ipa: IPA_5.5 kernel tests update
Add support for IPA_5.5 in kernel tests.

Change-Id: I448936055c84d6e38f886becfba372627fb37147
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
2022-02-01 15:32:33 -08:00
Ilia Lin
07c34f663c ipa-kernel-tests: Add Feature parent class
Add a new "Feature" class as parent to Filtering, HeaderInsertion,
RoutingDriverWrapper and future feature classes.
This class is implementing duplicated prototypes,
constructor and destructor methods.

Change-Id: I65b44b163393472eb60f1ca653520a8c8d3cb710
Signed-off-by: Ilia Lin <quic_ilial@quicinc.com>
2022-01-03 10:41:03 +02:00
Ilia Lin
e1eceb1b3f dataipa: network-traffic: unit test compile-time fixes
1. Use size static member instead of method
2. Add missing arguments in a call inside default constructor

Change-Id: Ib1b508e7d67742957551012c73f40d399651bb15
Acked-by: Eliad Ben Yishay <ebenyish@qti.qualcomm.com>
Signed-off-by: Ilia Lin <quic_ilial@quicinc.com>
2021-11-21 04:03:43 -08:00
Ilia Lin
15ae40cd76 ipa-kernel-tests: ULSO tests, HPC based header insertion tests
Unit tests for the IPv5 ULSO feature and for HPC based
header insertion feature.

Change-Id: I312b135f33486c1171a355a69e6631764d021947
Acked-by: Eliad Ben Yishay <ebenyish@qti.qualcomm.com>
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
2021-08-11 14:51:51 +03:00
Ilia Lin
bedfbae7e6 ip_accelerator: Adding network_traffic
Network traffic generation and handling.

Change-Id: Ia1de9cf235d732f721f93d12cb11a69739683a72
Acked-by: Eliad Ben Yishay <ebenyish@qti.qualcomm.com>
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
2021-08-11 04:20:13 -07:00
Ilia Lin
b9215fe424 ipa-kernel-tests: Add HDR insertion for distributed table
The header table is now distributed dynamically between
SRAM and DDR. Adding new tests validating this feature.

Change-Id: Id5312c6f5d36659b0232310674bda3947647a4fc
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
2021-05-24 10:21:11 +03:00
qctecmdr
95ca49f517 Merge "ipa-kernel-tests: Pull latest changes" 2021-05-18 11:35:56 -07:00
Sivan Reinstein
aad6531b8d ip-accelerator: Add kernel-test to verify dynamic FLT table move
Verify dynamic move of FLT table between SRAM and DDR

Change-Id: Ib4d3248697dc7c9d484163cbf827e809697b8c84
Acked-by: Nadav Levintov <nadavl@qti.qualcomm.com>
Signed-off-by: Sivan Reinstein <sivanr@codeaurora.org>
2021-05-12 12:15:04 +03:00
Ilia Lin
253428ee49 ipa-kernel-tests: Pull latest changes
Updating the kernel tests to the latest sha1 form the old project:
367590c22ab9d77f22290f0b11bd55b8c9e050cd

Specifically porting the changes:
1. I93a09b45ac1e04107ddf0f5af0782251e45dfaaf
2. Ic816ed3da12cb82a23a745467d6ed818ce569492

Change-Id: I71fe69ba02f3134d3ab9d2a8d5cf6b95ef7694ef
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
2021-05-06 11:38:16 +03:00
Ilia Lin
809e12ad09 ipa-kernel-tests: Add ULSO to EP config
Change-Id: Id8f5e0db58b1ec3e72dbe6457b7338f19eaa29ea
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
2021-05-05 23:51:06 -07:00
Ilia Lin
f1c1fb3a16 ipa: Move kernel-tests from ip_accelerator to techpack.
Move ip_accelerator which is a part of kernel-tests-internal
from kernel to techpack. Updated up to SHA1:
b8790774643dbfea5b312ed422ef86b54e4c8d7f

The kernel-test-module was moved into the driver,
and will be compiled as part of debug build.

Change-Id: I427b9ea061401c74845d2bd0d505da747d5fe89f
Acked-by: Eliad Ben Yishay <ebenyish@qti.qualcomm.com>
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
2021-05-04 20:50:23 -07:00