qcacmn: Add verbose log for RX frame dropping

Now only error counter is present in normal
datapath RX frame dropping. This change add
verbose log for easy debug.

CRs-Fixed: 3706290
Change-Id: Iae2fb9f6100109173921c4f1d43258a0722dc0de
This commit is contained in:
Yu Tian
2024-01-17 20:52:24 -08:00
committed by Ravindra Konda
parent 0d945daa64
commit 60d9ef02ec
4 changed files with 23 additions and 8 deletions

View File

@@ -1468,10 +1468,12 @@ void DP_PRINT_STATS(const char *fmt, ...);
#define DP_TX_HIST_STATS_PER_PDEV()
#endif /* DISABLE_DP_STATS */
#define FRAME_MASK_IPV4_ARP 1
#define FRAME_MASK_IPV4_DHCP 2
#define FRAME_MASK_IPV4_EAPOL 4
#define FRAME_MASK_IPV6_DHCP 8
#define FRAME_MASK_IPV4_ARP 0x1
#define FRAME_MASK_IPV4_DHCP 0x2
#define FRAME_MASK_IPV4_EAPOL 0x4
#define FRAME_MASK_IPV6_DHCP 0x8
#define FRAME_MASK_DNS_QUERY 0x10
#define FRAME_MASK_DNS_RESP 0x20
static inline int dp_log2_ceil(unsigned int value)
{