qcacmn: TX Optimization
Memory optimization of unused TX rings by not configuring rings that are not being used. Configure 2 rings for host in the case of IPA, instead of configuring 3. If IPA is disabled then configure only 1 set of TX rings for host. Change-Id: I251606c728f3020a13e45e8c8386970c8a641f0a CRs-Fixed: 2530572
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -17,10 +17,10 @@
|
||||
#ifndef _DP_IPA_H_
|
||||
#define _DP_IPA_H_
|
||||
|
||||
#define IPA_TCL_DATA_RING_IDX 2
|
||||
#ifdef IPA_OFFLOAD
|
||||
|
||||
#define DP_IPA_MAX_IFACE 3
|
||||
#define IPA_TCL_DATA_RING_IDX 2
|
||||
#define IPA_TX_COMP_RING_IDX 2
|
||||
#define IPA_REO_DEST_RING_IDX 3
|
||||
#define IPA_RX_REFILL_BUF_RING_IDX 2
|
||||
|
Reference in New Issue
Block a user