From 29d7ace1da9fddb89d01e544602d68bf8a980c0c Mon Sep 17 00:00:00 2001 From: Eliad Ben Yishay Date: Sun, 29 May 2022 10:49:36 +0300 Subject: [PATCH] kernel-msm: ipa_eth: Dynamic IPA NTN3 ETH client moderation configuration * Giving flexibility in moderation configuration for clients Change-Id: Ic072d2682289e1ed0dfda62f67d5402a134a5d53 Signed-off-by: Eliad Ben Yishay --- include/linux/ipa_eth.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/linux/ipa_eth.h b/include/linux/ipa_eth.h index f746ce965777..e64fca58d1fe 100644 --- a/include/linux/ipa_eth.h +++ b/include/linux/ipa_eth.h @@ -1,6 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2019-2021, The Linux Foundation. All rights reserved. + * + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. */ #ifndef _IPA_ETH_H_ @@ -73,10 +75,13 @@ enum ipa_eth_pipe_direction { * * @bar_addr: bar PA to access NTN register * @tail_ptr_offs: tail ptr offset + * @ioc_mod_threshold: Descriptors # per interrupt request from + * NTN3 HW via descriptor bit as part of the protocol. */ struct ipa_eth_ntn_setup_info { phys_addr_t bar_addr; phys_addr_t tail_ptr_offs; + uint16_t ioc_mod_threshold; }; /** @@ -112,6 +117,7 @@ struct ipa_eth_realtek_setup_info { phys_addr_t dest_tail_ptr_offs; }; + /** * struct ipa_eth_buff_smmu_map - IPA iova->pa SMMU mapping * @iova: virtual address of the data buffer