From ab366edb3e7627326da81b65a7d43d08f52839c4 Mon Sep 17 00:00:00 2001 From: Skylar Chang Date: Tue, 14 Jun 2016 14:33:51 -0700 Subject: [PATCH] msm: ipa3: fix qmap deaggregation issue With GRO enable, ipa3 still use default aggr_byte_limit to calculates the rx_buff_sz and configures wrong channel righ size in GSI. The fix is to use the right aggr_byte_limit which netmgrd configured. Change-Id: I9f804a122090ea4340f7873a5aa276dff00cbcb7 Signed-off-by: Skylar Chang --- drivers/platform/msm/ipa/ipa_v3/ipa_dp.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/platform/msm/ipa/ipa_v3/ipa_dp.c b/drivers/platform/msm/ipa/ipa_v3/ipa_dp.c index f480cba044eb..c4222f7cef7c 100644 --- a/drivers/platform/msm/ipa/ipa_v3/ipa_dp.c +++ b/drivers/platform/msm/ipa/ipa_v3/ipa_dp.c @@ -3157,12 +3157,8 @@ static int ipa3_assign_policy(struct ipa_sys_connect_params *in, sys->free_skb = ipa3_free_skb_rx; in->ipa_ep_cfg.aggr.aggr_en = IPA_ENABLE_AGGR; in->ipa_ep_cfg.aggr.aggr = IPA_GENERIC; - in->ipa_ep_cfg.aggr.aggr_byte_limit = - IPA_GENERIC_AGGR_BYTE_LIMIT; in->ipa_ep_cfg.aggr.aggr_time_limit = IPA_GENERIC_AGGR_TIME_LIMIT; - in->ipa_ep_cfg.aggr.aggr_pkt_limit = - IPA_GENERIC_AGGR_PKT_LIMIT; if (in->client == IPA_CLIENT_APPS_LAN_CONS) { sys->pyld_hdlr = ipa3_lan_rx_pyld_hdlr; sys->repl_hdlr =