Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 75e0fd1b authored by Amir Levy's avatar Amir Levy Committed by Gerrit - the friendly Code Review server
Browse files

msm: ipa: add NTN3 offload support



Add NTN3 setup info struct to enable NTN3
IPA offload.

Change-Id: Idb8399fa7574dc7ac3b4c119c40b441bfa28793d
Signed-off-by: default avatarAmir Levy <alevy@codeaurora.org>
parent c1c7f2ef
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -894,6 +894,18 @@ enum ipa_eth_pipe_direction {

#define IPA_ETH_INST_ID_MAX (2)

/**
 * struct ipa_eth_ntn_setup_info - parameters for ntn ethernet
 * offloading
 *
 * @bar_addr: bar PA to access NTN register
 * @tail_ptr_offs: tail ptr offset
 */
struct ipa_eth_ntn_setup_info {
	phys_addr_t bar_addr;
	phys_addr_t tail_ptr_offs;
};

/**
 * struct ipa_eth_aqc_setup_info - parameters for aqc ethernet
 * offloading
@@ -980,6 +992,7 @@ struct ipa_eth_pipe_setup_info {
	union {
		struct ipa_eth_aqc_setup_info aqc;
		struct ipa_eth_realtek_setup_info rtk;
		struct ipa_eth_ntn_setup_info ntn;
	} client_info;

	/* output params */
@@ -1013,6 +1026,7 @@ struct ipa_eth_client_pipe_info {
 * @traffic_type: traffic type
 * @pipe_list: list of pipes with same traffic type
 * @priv: private data for client
 * @test: is test client
 */
struct ipa_eth_client {
	/* vendor driver */
@@ -1025,6 +1039,7 @@ struct ipa_eth_client {

	/* client specific priv data*/
	void *priv;
	bool test;
};

/**