qcacmn: Fix and Clean up code under NAPI_YIELD_BUDGET_BASED
Enable interrupts after processing the available rx buffers on CE5 or complete napi after reaching the budget. NAPI_YIELD_BUDGET_BASED: This flag enables napi to return once the budget is exceeded, or after processing the available packets and re-enables interrupt and this feature doesn't honor the napi yeild time configured.Napi budget will be configured as 256 for this feature Change-Id: I75ac75ede46124bc773e3625173f33ca29da8142 CRs-fixed: 1094034
Šī revīzija ir iekļauta:

revīziju iesūtīja
qcabuildsw

vecāks
db5e8c34f9
revīzija
858a769d6b
@@ -157,6 +157,7 @@ struct CE_state;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef NAPI_YIELD_BUDGET_BASED
|
||||
#ifdef HIF_CONFIG_SLUB_DEBUG_ON
|
||||
#define QCA_NAPI_BUDGET 64
|
||||
#define QCA_NAPI_DEF_SCALE 2
|
||||
@@ -164,6 +165,11 @@ struct CE_state;
|
||||
#define QCA_NAPI_BUDGET 64
|
||||
#define QCA_NAPI_DEF_SCALE 16
|
||||
#endif /* SLUB_DEBUG_ON */
|
||||
#else /* NAPI_YIELD_BUDGET_BASED */
|
||||
#define QCA_NAPI_BUDGET 64
|
||||
#define QCA_NAPI_DEF_SCALE 4
|
||||
#endif
|
||||
|
||||
#define HIF_NAPI_MAX_RECEIVES (QCA_NAPI_BUDGET * QCA_NAPI_DEF_SCALE)
|
||||
|
||||
/* NOTE: "napi->scale" can be changed,
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user