Ver Fonte

msm: ipa: Fix lan polling to use max budget

Make changes to use the max budget of 64 for the LAN polling.
Otherwise we will switch between Polling and Interrupt mode
even when there is continuous data.

Change-Id: I6bbf49b77d258e88044c03a33fe20bb015a55019
Signed-off-by: Chaitanya Pratapa <[email protected]>
Chaitanya Pratapa há 4 anos atrás
pai
commit
37f6ed3720
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      drivers/platform/msm/ipa/ipa_v3/ipa_dp.c

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

@@ -21,7 +21,7 @@
 #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
+#define IPA_LAN_AGGR_PKT_CNT 1
 #define IPA_LAN_NAPI_MAX_FRAMES (NAPI_WEIGHT / IPA_LAN_AGGR_PKT_CNT)
 #define IPA_LAST_DESC_CNT 0xFFFF
 #define POLLING_INACTIVITY_RX 40