Adding NTN3 ethernet client type support for spearhead stats.
Change-Id: Iec7ba1fff0a403066c41008965feaac26aa2dcc4
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Add support for 2 new seperate MSI interrupts
to pin rmnet_ll and rmnet_ctl processing to seperate
CPUs.
Change-Id: I83977081a72d734622525732a97f8563fb530ade
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Add ep configuration for DL_NLO q6 on IPA HW-5.0 MHI targets
which is enabled by default on Q6 driver. This will keep IPA LNX
flt table index bitmask consistent with IPA Q6 when committing
the rules.
Change-Id: Iec628bd1033c2041a8d53c7bd9af5576637ab379
Buffer size provided from AP side is increased from 64 to 128.
Change-Id: I794dbf9d02bbadfd6a324b5d78bdb2f04b8ea8e9
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Increased the timeout value of ipa3_uc_send_cmd
from 10 to 20 in ipa3_uc_debug_stats_alloc function.
Change-Id: I5be5839c60b84226872a22e8a05bb712e395e62d
Signed-off-by: Jagadeesh Ponduru <jponduru@codeaurora.org>
Add ep configuration for DL_NLO q6 on IPA HW-5.0 targets
which is enabled by default on Q6 driver. This will keep IPA LNX
flt table index bitmask consistent with IPA Q6 when committing
the rules.
Change-Id: I123ed19e0071430e04ff1414f2a5a2d74cd62771
For Q6 endpoints add change to not reset the HOLB timer
value to zero instead of default value. Add change to
enable HOLB twice for IPA 4.x targets.
Change-Id: Ic9596e711b037d24ae25835cb6dd193ec040d723
Signed-off-by: Praveen Kurapati <pkurapat@codeaurora.org>
Signed-off-by: Jagadeesh Ponduru <jponduru@codeaurora.org>
Adding debug and register prints for flow control enable or disable.
Change-Id: Id6a79880340cc3e7503da6add3ce9aaf9d0a991d
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
In some cases GP_INT1 interrupt not receiving even GSI FW send the
interrupt. In those cases cases reading the flow control command return
code to check completion.
Change-Id: I329550ab94af9caac870c6050761d3701f0517cd
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
Removing drops stats support for ADPL pipe from Apps
on both LA and LE as now it is taken care by Q6.
Change-Id: If997204145eaa9b4c15133bd238e59ad3e0dfd98
Signed-off-by: Michael Adisumarta <madisuma@codeauroa.org>
Overwrite ep flow control setting workaround for waipio APQ.
Change-Id: I004ab924bd5ae9797f93589fb98982ba1929714d
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
IPA client filtering table can reside in SRAM in case there is enough
space. Since SRAM is a limited resource it might also reside in slower
memory (DDR). This new API enables setting an IPA client's filtering
table SRAM priority to high. It also includes an IOCTL that enables
to use the API from user-space.
Moving an IPA client filtering table to SRAM greatly
improves access time to the filtering rules in it and therefore
the entire data path of this client.
Current limitation is this API needs to be called before filter
rules are installed.
Change-Id: I80986a4c5f570c93e656f745664e275037a32c2c
Acked-by: Eliad Ben Yishay <ebenyish@qti.qualcomm.com>
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
Distribute the non-hashable tables between SRAM and DDR
instead of relocating them completely to the DDR.
The tables priority is set in first come - first served order.
A more sophisticated priority management may be introduced later.
Change-Id: I77e5983914d86705c1ec13ab215b4c9416476d0f
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
Use macros instead of magic strings for interfaces names.
Change-Id: I908f35725c72d425334beebd55bc0f0532e183ce
Acked-by: Eliad Ben Yishay <ebenyish@qti.qualcomm.com>
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
Make changes to free up all pending EOB pages when SKB allocation
used to handle EOT is failed as we could end up in a frag
overflow.
Change-Id: I80ae84d00d1bbf2cf89e97261d2fe8c3742eda04
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
Due to excessive logs from ipa it blocks other tasks execution.
Ratelimit added inorder to reduce the logs.
Change-Id: I00ae9b1e62dd14d82e22d3c788b68d0474a8de87
Signed-off-by: Praveen Kurapati <pkurapat@codeaurora.org>
Removed stats ioctls which are not relevant when pipes are not
connected yet.
Change-Id: I59891e07d4fb116e7a1fb8475e2aefae1cb799c6
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Dual NIC IPA offload feature support including vlan.
APIs refactor:
1. move the ipa_eth_conn/disconn_evt API inside ipa_eth_reg/unreg_intf.
2. deprecate the ipa_eth_conn/disconn_evt APIs.
3. add multiple eth vlan support
Change-Id: Icb769df9a3f8a650bc47914e86150d75abfb479d
Acked-by: Eliad Ben Yishay <ebenyish@qti.qualcomm.com>
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
IPA header API changed and broke HPC header insertion feature
clean up.
Change-Id: I30c20040fe4b85592155546fbd00016795f92c13
Acked-by: Eliad Ben Yishay <ebenyish@qti.qualcomm.com>
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
Remove Initializing rx_pkt link if dma mapping fails.
Change-Id: I49d08555c875fc9039805ef8775be3b676f51d08
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Add ep details corresponding to
RMNET_CV2X tethering over eth.
Change-Id: I0285887470c950a73e61dd51bf673bbc650d40bb
Signed-off-by: Pooja Kumari <kumarip@codeaurora.org>
Fix init_drop_stats to have it only enable 4 pipes max.
Enable different pipes depending on kernel version.
Use more descriptive names for WLAN2_CONS pipes drop stats.
Add a temp variable to not enable drop stats bitmask when # of
pipes is more than allocated.
Change-Id: I3d678569eb94bfd43d90d2d4f84f5b1148b8ec42
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Fix max number of pipes check for getting ep index
for adding filtering rules.
Change-Id: Ifcb92c3f5dacbe1fbafe615ec36e5dd74fd10540
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Update the keep_awake script to call into IPA PM and
add/remove dummy clients to change the clk vote dynamically
based on the loaded device's power thresholds.
Change-Id: Ifaa4ef1e312428245605008998ac59afddf09d99
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Add infrastructure to configure the following registers:
IPA_RSRC_GRP_CFG
IPA_RSRC_GRP_CFG_EXT
Add global hardcoded configuration matrix.
Add configuration at init.
Change-Id: I9ec78e2aef69f1bccafe620addc00e600687fa17
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>