From patchwork Mon Nov 11 04:49:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Venkateswara Naralasetty X-Patchwork-Id: 11236547 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BCC1E14E5 for ; Mon, 11 Nov 2019 04:49:57 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 99F422084F for ; Mon, 11 Nov 2019 04:49:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="AsXv5yuW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 99F422084F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=Yw1uIbMQIiIQqK/NdMqlXmJILc3+6oOMQ/hDFZjZdyQ=; b=AsX v5yuW1pGHU/l9gHch0/CbauCuCXbFYel0fOpErdsIIzhl0ewSyXQP84giOljiSMj3/JyfNlW0tBsJ tiAp8+StHsnnMlZRILjzKQdRLbrAh9gpqM4MGtNj90mT+lbaDlPEJYF4CeccYWD8HJ9m8wgFKs/ua Gu01mt+4FfMQNk7DUy3Pd9oKlNbR64ZXBfxEO8pinuvmvnBAvKRbwSe8ft6bvyg/54yet57Wlj1UZ e4bTCGT/Oy6NnIkauA5Lhz5PGhmzBH9pgjGQYgKYj+hRE8ZAGX9+5VUkwihIUn6euU1v9M604NbvS Kst0IGXln/US2urTfHpWhR+FsHR33Pg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iU1eG-0005fd-8C; Mon, 11 Nov 2019 04:49:56 +0000 Received: from alexa-out-blr-01.qualcomm.com ([103.229.18.197]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iU1eD-0005fI-AL for ath11k@lists.infradead.org; Mon, 11 Nov 2019 04:49:55 +0000 Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by alexa-out-blr-01.qualcomm.com with ESMTP/TLS/AES256-SHA; 11 Nov 2019 10:19:51 +0530 IronPort-SDR: 4Traaien5x+4d/kFODrTsEBEMXoXMdlhjFmyq9LFj1C8uNT+4mGxIPY4n+bNGaeodswZ6fsoxr onKgfXpfXreXJXAmWx2uk5aA87RXelKbo1V0EYEbqOA5KoyPcNI8PgvFtFFAWniTefVc7q+pva bRQxymmDq3TovXNoLEsTxlvQUILGYhNLeSKwkh7oXmgVD5M01eFM3CQlYAMaww7q2Tvsx0Cr/1 qklhO8QmBXzIqA12NKVve18MoovPSc5zTXycvThlEXg4xPWxEUseQWjrI0MZitE0krn1yceE56 N28IMj+ZNenIA5vsEscViGxH Received: from vnaralas-linux.qualcomm.com ([10.201.26.231]) by ironmsg02-blr.qualcomm.com with ESMTP; 11 Nov 2019 10:19:49 +0530 Received: by vnaralas-linux.qualcomm.com (Postfix, from userid 443942) id B895E2F34; Mon, 11 Nov 2019 10:19:48 +0530 (IST) From: Venkateswara Naralasetty To: ath11k@lists.infradead.org Subject: [PATCH] ath11k: change failed to find peer id log level Date: Mon, 11 Nov 2019 10:19:47 +0530 Message-Id: <1573447787-30517-1-git-send-email-vnaralas@codeaurora.org> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191110_204953_871115_2CC23229 X-CRM114-Status: UNSURE ( 6.83 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Venkateswara Naralasetty MIME-Version: 1.0 Sender: "ath11k" Errors-To: ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org Peer deletion and NAPI processing are from two different paths, failed to find peer id is expected when NAPI scheduled for mon stats processing after peer deletion. This patch change the log level from warn to debug. Signed-off-by: Venkateswara Naralasetty --- drivers/net/wireless/ath/ath11k/dp_rx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath11k/dp_rx.c b/drivers/net/wireless/ath/ath11k/dp_rx.c index 8c0298d..d68a37e 100644 --- a/drivers/net/wireless/ath/ath11k/dp_rx.c +++ b/drivers/net/wireless/ath/ath11k/dp_rx.c @@ -2618,7 +2618,8 @@ int ath11k_dp_rx_process_mon_status(struct ath11k_base *ab, int mac_id, peer = ath11k_peer_find_by_id(ab, ppdu_info.peer_id); if (!peer || !peer->sta) { - ath11k_warn(ab, "failed to find the peer with peer_id %d\n", + ath11k_dbg(ab, ATH11K_DBG_DATA, + "failed to find the peer with peer_id %d to update peer stats\n", ppdu_info.peer_id); spin_unlock_bh(&ab->base_lock); rcu_read_unlock();