msm: ipa3: Rate limited the IPA error logging
Rate limit the excessive ipa error logging in a test scenario. Change-Id: I200d9b659895b0f68490acfad581c643964a3823 Signed-off-by: Srinivas Sai Mannam <quic_srinmann@quicinc.com>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
7c9aad4ac3
commit
2bccdf8791
@@ -1,6 +1,7 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-only
|
// SPDX-License-Identifier: GPL-2.0-only
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2012-2021, The Linux Foundation. All rights reserved.
|
* Copyright (c) 2012-2021, The Linux Foundation. All rights reserved.
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ipa.h"
|
#include "ipa.h"
|
||||||
@@ -1297,12 +1298,12 @@ static int ipa_flt_generate_eq(enum ipa_ip_type ipt,
|
|||||||
|
|
||||||
if (ipt == IPA_IP_v4) {
|
if (ipt == IPA_IP_v4) {
|
||||||
if (ipa_flt_generate_eq_ip4(ipt, attrib, eq_atrb)) {
|
if (ipa_flt_generate_eq_ip4(ipt, attrib, eq_atrb)) {
|
||||||
IPAHAL_ERR("failed to build ipv4 flt eq rule\n");
|
IPAHAL_ERR_RL("failed to build ipv4 flt eq rule\n");
|
||||||
return -EPERM;
|
return -EPERM;
|
||||||
}
|
}
|
||||||
} else if (ipt == IPA_IP_v6) {
|
} else if (ipt == IPA_IP_v6) {
|
||||||
if (ipa_flt_generate_eq_ip6(ipt, attrib, eq_atrb)) {
|
if (ipa_flt_generate_eq_ip6(ipt, attrib, eq_atrb)) {
|
||||||
IPAHAL_ERR("failed to build ipv6 flt eq rule\n");
|
IPAHAL_ERR_RL("failed to build ipv6 flt eq rule\n");
|
||||||
return -EPERM;
|
return -EPERM;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user