From 3e9f7d89aba77aebe4afbdc33bb353fe1c18a3d0 Mon Sep 17 00:00:00 2001 From: Ilia Lin Date: Sat, 4 Sep 2021 18:39:40 +0300 Subject: [PATCH] msm: ipa: Add ability to set client SRAM filtering rules priority as high Add IOCTL for setting a client's SRAM filtering rules priority as high. This enables to enhance a specific client's performance. Change-Id: I47b10334209da70aa401aad578199b68eddc6c87 Acked-by: Eliad Ben Yishay Signed-off-by: Ilia Lin --- include/uapi/linux/msm_ipa.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/msm_ipa.h b/include/uapi/linux/msm_ipa.h index 63c58a984d8c..48eddd4292c9 100644 --- a/include/uapi/linux/msm_ipa.h +++ b/include/uapi/linux/msm_ipa.h @@ -141,6 +141,7 @@ #define IPA_IOCTL_ADD_EoGRE_MAPPING 88 #define IPA_IOCTL_DEL_EoGRE_MAPPING 89 #define IPA_IOCTL_SET_IPPT_SW_FLT 90 +#define IPA_IOCTL_FLT_MEM_PERIPHERAL_SET_PRIO_HIGH 91 /** * max size of the header to be inserted @@ -3622,6 +3623,9 @@ struct ipa_ioc_sw_flt_list_type { #define IPA_IOC_SET_IPPT_SW_FLT _IOWR(IPA_IOC_MAGIC, \ IPA_IOCTL_SET_IPPT_SW_FLT, \ struct ipa_ioc_sw_flt_list_type) +#define IPA_IOC_FLT_MEM_PERIPHERAL_SET_PRIO_HIGH _IOWR(IPA_IOC_MAGIC, \ + IPA_IOCTL_FLT_MEM_PERIPHERAL_SET_PRIO_HIGH, \ + enum ipa_client_type) /* * unique magic number of the Tethering bridge ioctls */