mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
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 <quic_ebenyish@quicinc.com>
This commit is contained in:
parent
f51d920c7f
commit
29d7ace1da
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue