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