The IP_PACKET_INIT_EX IMM is not supported on older targets.
To avoid runtime errors, adding HW version check
for this feature.
Change-Id: Ide6d38eceffa7e34d2b90a7b5caf6f5bb3b1fcca
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
Free the correct rx buffer size with the configured
page order.
Change-Id: I0e9d3412a1104042b843df2031b1bf7f41e8dfce
Signed-off-by: Michael Adisumarta <madisuma@codeaurora,org>
LAN RX optimization, processing N packets in the
LAN polling function instead of one each time.
Moved notify array to global to save memory on
the stack.
Change-Id: I0297b5cc3982ddb44a958c3dd92a98ee88432947
Acked-by: Nadav Levintov <nadavl@qti.qualcomm.com>
Acked-by: Tal Gelbard <tgelbard@qti.qualcomm.com>
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Signed-off-by: Sivan Reinstein <sivanr@codeaurora.org>
Masked interrupts, moved the producer apps
event ring and channel ring polling from
GSI IRQ to napi context, and disabled NOP
descriptors, since interrupt mitigation
is now coming from napi usage.
Change-Id: Id69ba519103255567654d5a11fcd3387900cb27d
Acked-by: Nadav Levintov <nadavl@qti.qualcomm.com>
Acked-by: Tal Gelbard <tgelbard@qti.qualcomm.com>
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Signed-off-by: Sivan Reinstein <sivanr@codeaurora.org>
In order to reduce ICMP packets latency,
use aggregation force close flag.
Since those packets are sent with the packet init IMM,
port the relevant code to use the extended packet init IMM.
Change-Id: Idba27352c0b6ce1b2b11b9c15a5ed4a847442df6
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
Updating SRAM locations according to excel sheet for holi target.
Change-Id: I2fc011d4980f25f74f7c96448b033f61fdea9639
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
Update the subsys_local_modem name to mpss to handle
modem SSR.
Change-Id: I5e5627144748ee6fd33883c2d65acb11b31bf16d
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
We observe the IPA RX stall due to the DEAGGR_ERR_IRQ
of PACKET_SIZE > FRAME_SIZE on WAN PROD pipe.
In IPA, some of de-aggregation error handling checks
are dependent on the syspipe_err_detection config bit.
Adding IGNORE_MIN_PKT_ERR bit for WAN PROD as well based
on recommendations.
Change-Id: Ie0fe8f52a1e63750e3db7f2b3fcf42790505fa88
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
Adding support for new IMM: IP_PACKET_INIT_EX
The new IMM enables different fields configuration,
extending the older IP_PACKET_INIT.
Change-Id: Icac62d09d4694ab5634fda41579c9de8e4c3afc3
Signed-off-by: Ilia Lin <ilialin@codeaurora.org>
Adding changes to remove the frequent crash during USB disconnect
scenario USB stop channel was failure.
Change-Id: Iec0159a44f109fc9fa585e59f81ea30722511f79
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
Update metadata register to pick up metadata value with vlan id
from header of packets.
Change-Id: I04fb0ae5a348c316220cb4667252892397560859
Signed-off-by: Akshay Pandit <pandit@codeaurora.org>
Includes agg_byt_limit update for ioctl_v2
Change-Id: I21121b10857f0742297694cc2230cdb782b14360
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Add a new IOCTL that will allow userspace modules to
get and set the v4/v6 mtu for a specific rmnet interface
for IPA driver and IPACM to use.
Change-Id: Iaf0685ef7095960ddd1cd3fff803956a18e0a942
Signed-off-by: Chaitanya Pratapa <cpratapa@codeaurora.org>
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Add support for sharing page tables between IPA ETH
context bank and ETH context bank. In case of shared
CB no need to map ETH buffers.
Fix double mapping in case of two buffers lay on the same
page (non shared CB mode).
Change-Id: Ic52479da3c26a2db4075c260044428a0ef93bb6a
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Add assert on all gsi stop channel cases to capture the issue
ahead of time.
Change-Id: I044f192c63a724e00a9559bcb44260f0763ff824
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>