Free the correct rx buffer size with the configured
page order.
Change-Id: I0e9d3412a1104042b843df2031b1bf7f41e8dfce
Signed-off-by: Michael Adisumarta <madisuma@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>
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>
Fixing updating of hw_type_index and max_num_smmu_cb
in ipa pre-init
Change-Id: I5de017dbe07dae85ec1ec74f5589a150a663216c
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Change includes updating non-napi rx_buff size configured
from netmngr through ext_ioctl_v2.
Change-Id: I76656ff898b69872bdb62806f45bf6ee23f0627f
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Call internal IPA API instead of external API that are
stubbed as not used externally.
Change-Id: I9ad9c8c3dc5139ca3236371aeb59fb6712cb2dee
Signed-off-by: Amir Levy <alevy@codeaurora.org>
We observe the IPA RX stall due to the DEAGGR_ERR_IRQ
of PACKET_SIZE > FRAME_SIZE on rndis.
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 rndis as well based
on recommendations.
Change-Id: I4bbbfed62802cb0244013a402f99456f2573181a
During usb client disconnect, ep suspend bit was
set on usb consumer pipe which was not removing
during usb client reconnect and causing stall
on the pipe. Now Removing ep suspend during
client disconnect.
Change-Id: I5fbb646ab9eed8cc7d7def7f318a8eab144ad2ac
Signed-off-by: Piyush Dhyani <pdhyani@codeaurora.org>
Fix the ep config low lat pipes for IPA_5_1
Change-Id: Iba17b8b74e4e3b2c6a7b6bf3d8957e7ca94a5ae6
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>