qcacmn: Implement new INI to switch-on/off excessive logging in DP
In datapath, some of the messages get printed everytime when packet is received or sent. This situation ends up in excessive logging which leads to stability issue. In order to fix the situation, provide knob through INI to control excessive logging and create new macro for logging the message which comes under per packet path. Change-Id: I2af5f9bf39540f952138aa8308401a387fe62bf1 CRs-Fixed: 2376998
Cette révision appartient à :
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* * Copyright (c) 2013-2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2013-2019 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
|
||||
@@ -203,6 +203,7 @@ struct wlan_cfg_dp_soc_ctxt {
|
||||
int reo_status_ring;
|
||||
int rxdma_refill_ring;
|
||||
int rxdma_err_dst_ring;
|
||||
uint32_t per_pkt_trace;
|
||||
bool raw_mode_war;
|
||||
bool enable_data_stall_detection;
|
||||
bool disable_intra_bss_fwd;
|
||||
@@ -982,7 +983,6 @@ wlan_cfg_get_dp_soc_rxdma_err_dst_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg);
|
||||
bool
|
||||
wlan_cfg_get_dp_caps(struct wlan_cfg_dp_soc_ctxt *cfg,
|
||||
enum cdp_capabilities dp_caps);
|
||||
|
||||
#ifdef QCA_LL_TX_FLOW_CONTROL_V2
|
||||
int wlan_cfg_get_tx_flow_stop_queue_th(struct wlan_cfg_dp_soc_ctxt *cfg);
|
||||
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur