diff options
author | Sunil Paidimarri <hisunil@codeaurora.org> | 2018-10-02 12:09:37 -0700 |
---|---|---|
committer | Sunil Paidimarri <hisunil@codeaurora.org> | 2018-10-02 12:21:21 -0700 |
commit | 7ec0a5449e4009796ba1f687c616b196283ffb51 (patch) | |
tree | 5e2ca86f7ab413309bd682015ed45ae418fee4a2 /drivers/emac-dwc-eqos | |
parent | 65d902ec3cc5262d5bfc2a3c16a8e42ccb5d6c27 (diff) | |
download | data-kernel-7ec0a5449e4009796ba1f687c616b196283ffb51.tar.gz |
data-kernel: EMAC: Default TX channel is 0 with IPA disabled
Change-Id: I01bf9823e697079e749b00c4cf1e006abb19ef11
CRs-Fixed: 2326314
Acked-by: Nisha Menon <nmenon@qti.qualcomm.com>
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
Diffstat (limited to 'drivers/emac-dwc-eqos')
-rw-r--r-- | drivers/emac-dwc-eqos/DWC_ETH_QOS_yheader.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/emac-dwc-eqos/DWC_ETH_QOS_yheader.h b/drivers/emac-dwc-eqos/DWC_ETH_QOS_yheader.h index e5b89a9..d84f380 100644 --- a/drivers/emac-dwc-eqos/DWC_ETH_QOS_yheader.h +++ b/drivers/emac-dwc-eqos/DWC_ETH_QOS_yheader.h @@ -612,7 +612,13 @@ #define CLASS_B_TRAFFIC_TX_CHANNEL 2 #define NON_TAGGED_IP_TRAFFIC_TX_CHANNEL 1 +#ifdef DWC_ETH_QOS_ENABLE_IPA +/* TX channel assigned to IPA is 0 hence all other traffic is + assigned to 1 */ #define ALL_OTHER_TRAFFIC_TX_CHANNEL 1 +#else +#define ALL_OTHER_TRAFFIC_TX_CHANNEL 0 +#endif #define TX_IOC_MODEATION_IP_TRAFFIC 16 #define DEFAULT_INT_MOD 1 |