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:
@@ -28,6 +28,7 @@
|
||||
#include "qdf_nbuf.h"
|
||||
#include "qdf_net_types.h"
|
||||
#include <wlan_cfg.h>
|
||||
#include "dp_ipa.h"
|
||||
#if defined(MESH_MODE_SUPPORT) || defined(FEATURE_PERPKT_INFO)
|
||||
#include "if_meta_hdr.h"
|
||||
#endif
|
||||
@@ -4327,6 +4328,9 @@ QDF_STATUS dp_tx_soc_attach(struct dp_soc *soc)
|
||||
hal_tx_init_data_ring(soc->hal_soc,
|
||||
soc->tcl_data_ring[i].hal_srng);
|
||||
}
|
||||
if (wlan_cfg_is_ipa_enabled(soc->wlan_cfg_ctx))
|
||||
hal_tx_init_data_ring(soc->hal_soc,
|
||||
soc->tcl_data_ring[IPA_TCL_DATA_RING_IDX].hal_srng);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user