Bläddra i källkod

qcacld-3.0: Reduce log level for some LRO related prints

LRO mgr can have maximum of 10 LRO descriptors which means
that it can support maximum of 10 different flows. So, if more
than 10 flows are in progress simulataneously, LRO descriptor
could not be allocated for some of the flows and prints are
coming in kmsg to indicate this for every packet of those flows.
This is causing watchdog bark.

Reducing log level from error to debug to avoid watchdog bite.

Change-Id: I21c79be25035a5359b2390adbeb73a55f09db073
CRs-Fixed: 2034235
Himanshu Agarwal 8 år sedan
förälder
incheckning
871f5793ff
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      core/hdd/src/wlan_hdd_lro.c

+ 2 - 2
core/hdd/src/wlan_hdd_lro.c

@@ -305,7 +305,7 @@ static int hdd_lro_desc_find(struct hdd_lro_s *lro_info,
 		 &free_pool->lro_free_list_head,
 		 struct hdd_lro_desc_entry, lro_node);
 	if (NULL == entry) {
-		hdd_err("Could not allocate LRO desc!");
+		hdd_debug("Could not allocate LRO desc!");
 		return -ENOMEM;
 	}
 
@@ -381,7 +381,7 @@ static bool hdd_lro_eligible(struct hdd_lro_s *lro_info, struct sk_buff *skb,
 		return false;
 
 	if (0 != hdd_lro_desc_find(lro_info, skb, iph, tcph, desc)) {
-		hdd_err("finding the LRO desc failed");
+		hdd_debug("finding the LRO desc failed");
 		return false;
 	}