qcacmn: Change logs to appropriate log levels
Change logs to appropriate log levels. Change-Id: I5e0816105282fccad8d17440eee363803f31429e CRs-Fixed: 3494141
This commit is contained in:

committed by
Rahul Choudhary

parent
221a245242
commit
30a6417487
@@ -1770,13 +1770,13 @@ static QDF_STATUS dp_lro_hash_setup(struct dp_soc *soc, struct dp_pdev *pdev)
|
|||||||
lro_hash.tcp_flag_mask);
|
lro_hash.tcp_flag_mask);
|
||||||
|
|
||||||
dp_info("toeplitz_hash_ipv4:");
|
dp_info("toeplitz_hash_ipv4:");
|
||||||
qdf_trace_hex_dump(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_INFO,
|
qdf_trace_hex_dump(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_DEBUG,
|
||||||
lro_hash.toeplitz_hash_ipv4,
|
lro_hash.toeplitz_hash_ipv4,
|
||||||
(sizeof(lro_hash.toeplitz_hash_ipv4[0]) *
|
(sizeof(lro_hash.toeplitz_hash_ipv4[0]) *
|
||||||
LRO_IPV4_SEED_ARR_SZ));
|
LRO_IPV4_SEED_ARR_SZ));
|
||||||
|
|
||||||
dp_info("toeplitz_hash_ipv6:");
|
dp_info("toeplitz_hash_ipv6:");
|
||||||
qdf_trace_hex_dump(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_INFO,
|
qdf_trace_hex_dump(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_DEBUG,
|
||||||
lro_hash.toeplitz_hash_ipv6,
|
lro_hash.toeplitz_hash_ipv6,
|
||||||
(sizeof(lro_hash.toeplitz_hash_ipv6[0]) *
|
(sizeof(lro_hash.toeplitz_hash_ipv6[0]) *
|
||||||
LRO_IPV6_SEED_ARR_SZ));
|
LRO_IPV6_SEED_ARR_SZ));
|
||||||
@@ -3089,7 +3089,7 @@ static QDF_STATUS dp_rxdma_ring_config(struct dp_soc *soc)
|
|||||||
|
|
||||||
dp_update_num_mac_rings_for_dbs(soc, &max_mac_rings);
|
dp_update_num_mac_rings_for_dbs(soc, &max_mac_rings);
|
||||||
dp_lpc_tx_config(pdev);
|
dp_lpc_tx_config(pdev);
|
||||||
dp_err("pdev_id %d max_mac_rings %d",
|
dp_info("pdev_id %d max_mac_rings %d",
|
||||||
pdev->pdev_id, max_mac_rings);
|
pdev->pdev_id, max_mac_rings);
|
||||||
|
|
||||||
for (mac_id = 0; mac_id < max_mac_rings; mac_id++) {
|
for (mac_id = 0; mac_id < max_mac_rings; mac_id++) {
|
||||||
|
@@ -2482,7 +2482,7 @@ static inline struct dp_peer *dp_peer_find_add_id(struct dp_soc *soc,
|
|||||||
DP_PEER_INFO_PARAMS_INIT(&peer_info, vdev_id, peer_mac_addr,
|
DP_PEER_INFO_PARAMS_INIT(&peer_info, vdev_id, peer_mac_addr,
|
||||||
false, peer_type);
|
false, peer_type);
|
||||||
peer = dp_peer_hash_find_wrapper(soc, &peer_info, DP_MOD_ID_CONFIG);
|
peer = dp_peer_hash_find_wrapper(soc, &peer_info, DP_MOD_ID_CONFIG);
|
||||||
dp_peer_err("%pK: peer %pK ID %d vid %d mac " QDF_MAC_ADDR_FMT,
|
dp_peer_debug("%pK: peer %pK ID %d vid %d mac " QDF_MAC_ADDR_FMT,
|
||||||
soc, peer, peer_id, vdev_id,
|
soc, peer, peer_id, vdev_id,
|
||||||
QDF_MAC_ADDR_REF(peer_mac_addr));
|
QDF_MAC_ADDR_REF(peer_mac_addr));
|
||||||
|
|
||||||
@@ -3604,7 +3604,7 @@ void dp_local_peer_id_pool_init(struct dp_pdev *pdev)
|
|||||||
pdev->local_peer_ids.pool[i] = i;
|
pdev->local_peer_ids.pool[i] = i;
|
||||||
|
|
||||||
qdf_spinlock_create(&pdev->local_peer_ids.lock);
|
qdf_spinlock_create(&pdev->local_peer_ids.lock);
|
||||||
DP_TRACE(INFO, "Peer pool init");
|
dp_info("Peer pool init");
|
||||||
}
|
}
|
||||||
|
|
||||||
void dp_local_peer_id_alloc(struct dp_pdev *pdev, struct dp_peer *peer)
|
void dp_local_peer_id_alloc(struct dp_pdev *pdev, struct dp_peer *peer)
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2020-2021 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2020-2021 The Linux Foundation. All rights reserved.
|
||||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for
|
* Permission to use, copy, modify, and/or distribute this software for
|
||||||
* any purpose with or without fee is hereby granted, provided that the
|
* any purpose with or without fee is hereby granted, provided that the
|
||||||
@@ -343,7 +343,7 @@ void dp_rx_buffer_pool_init(struct dp_soc *soc, u8 mac_id)
|
|||||||
dp_rx_refill_buff_pool_init(soc, mac_id);
|
dp_rx_refill_buff_pool_init(soc, mac_id);
|
||||||
|
|
||||||
if (!wlan_cfg_is_rx_buffer_pool_enabled(soc->wlan_cfg_ctx)) {
|
if (!wlan_cfg_is_rx_buffer_pool_enabled(soc->wlan_cfg_ctx)) {
|
||||||
dp_err("RX buffer pool support is disabled");
|
dp_info("RX buffer pool support is disabled");
|
||||||
buff_pool->is_initialized = false;
|
buff_pool->is_initialized = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@@ -6512,9 +6512,7 @@ QDF_STATUS dp_soc_tx_desc_sw_pools_alloc(struct dp_soc *soc)
|
|||||||
num_desc = wlan_cfg_get_num_tx_desc(soc->wlan_cfg_ctx);
|
num_desc = wlan_cfg_get_num_tx_desc(soc->wlan_cfg_ctx);
|
||||||
num_ext_desc = wlan_cfg_get_num_tx_ext_desc(soc->wlan_cfg_ctx);
|
num_ext_desc = wlan_cfg_get_num_tx_ext_desc(soc->wlan_cfg_ctx);
|
||||||
|
|
||||||
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_INFO,
|
dp_info("Tx Desc Alloc num_pool: %d descs: %d", num_pool, num_desc);
|
||||||
"%s Tx Desc Alloc num_pool = %d, descs = %d",
|
|
||||||
__func__, num_pool, num_desc);
|
|
||||||
|
|
||||||
if ((num_pool > MAX_TXDESC_POOLS) ||
|
if ((num_pool > MAX_TXDESC_POOLS) ||
|
||||||
(num_desc > WLAN_CFG_NUM_TX_DESC_MAX))
|
(num_desc > WLAN_CFG_NUM_TX_DESC_MAX))
|
||||||
|
@@ -1436,7 +1436,7 @@ void hal_srng_dst_init_hp(struct hal_soc_handle *hal_soc,
|
|||||||
|
|
||||||
if (vaddr) {
|
if (vaddr) {
|
||||||
*srng->u.dst_ring.hp_addr = srng->u.dst_ring.cached_hp;
|
*srng->u.dst_ring.hp_addr = srng->u.dst_ring.cached_hp;
|
||||||
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
|
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_DEBUG,
|
||||||
"hp_addr=%pK, cached_hp=%d",
|
"hp_addr=%pK, cached_hp=%d",
|
||||||
(void *)srng->u.dst_ring.hp_addr,
|
(void *)srng->u.dst_ring.hp_addr,
|
||||||
srng->u.dst_ring.cached_hp);
|
srng->u.dst_ring.cached_hp);
|
||||||
|
Reference in New Issue
Block a user