Explorar el Código

msm: ipa3: Fix increase the NAPI budget to maximum

Because of less NAPI budget it's need to reschedule multiple
times in high tput scenario.To avoid multiple reschedule
configuring maximum NAPI budget value.

Change-Id: Id8745b54c3909d01df69376a823396ea4c94eebb
Signed-off-by: Ashok Vuyyuru <[email protected]>
Signed-off-by: Chaitanya Pratapa <[email protected]>
Ashok Vuyyuru hace 4 años
padre
commit
1346a26798

+ 1 - 1
drivers/platform/msm/ipa/ipa_v3/ipa_dp.c

@@ -17,7 +17,7 @@
 #include "ipahal/ipahal_fltrt.h"
 
 #define IPA_GSI_EVENT_RP_SIZE 8
-#define IPA_WAN_AGGR_PKT_CNT 5
+#define IPA_WAN_AGGR_PKT_CNT 1
 #define IPA_WAN_NAPI_MAX_FRAMES (NAPI_WEIGHT / IPA_WAN_AGGR_PKT_CNT)
 #define IPA_WAN_PAGE_ORDER 3
 #define IPA_LAN_AGGR_PKT_CNT 5

+ 1 - 1
drivers/platform/msm/ipa/ipa_v3/ipa_i.h

@@ -75,7 +75,7 @@
 
 #define IPA_MAX_NUM_REQ_CACHE 10
 
-#define NAPI_WEIGHT 60
+#define NAPI_WEIGHT 64
 
 #define NAPI_TX_WEIGHT 64