mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
qcacld-3.0: Only enable IRQ affinity if SBalance is not enabled
SBalance manages IRQ affinity automatically. However, if SBalance is not enabled, we restore HIF_IRQ_AFFINITY to maintain optimized IRQ distribution. Change-Id: I0f99803959fc7fe080184ea4dcea7d16ab70997a Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
parent
485a90ebf2
commit
65fbbc2a2d
@ -2425,6 +2425,9 @@ cppflags-$(CONFIG_FEATURE_PKTLOG) += -DFEATURE_PKTLOG
|
|||||||
|
|
||||||
ifeq ($(CONFIG_WLAN_NAPI), y)
|
ifeq ($(CONFIG_WLAN_NAPI), y)
|
||||||
cppflags-y += -DFEATURE_NAPI
|
cppflags-y += -DFEATURE_NAPI
|
||||||
|
ifneq ($(CONFIG_IRQ_SBALANCE), y)
|
||||||
|
cppflags-y += -DHIF_IRQ_AFFINITY
|
||||||
|
endif
|
||||||
ifeq ($(CONFIG_WLAN_NAPI_DEBUG), y)
|
ifeq ($(CONFIG_WLAN_NAPI_DEBUG), y)
|
||||||
cppflags-y += -DFEATURE_NAPI_DEBUG
|
cppflags-y += -DFEATURE_NAPI_DEBUG
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user