|
From: | Axel Lin |
Subject: | [lwip-devel] [patch #9578] lowpan6: Rework to speed up dequeue datagram process |
Date: | Sat, 3 Mar 2018 10:52:01 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36 |
URL: <http://savannah.nongnu.org/patch/?9578> Summary: lowpan6: Rework to speed up dequeue datagram process Project: lwIP - A Lightweight TCP/IP stack Submitted by: axellin Submitted on: Sat 03 Mar 2018 03:52:00 PM UTC Category: None Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: None _______________________________________________________ Details: Current implementation iterates the lowpan6_data.reass_list every time dequeue_datagram() is called. We can get previous lrh in all the context calling dequeue_datagram(). By adding a prev arguemnt to dequeue_datagram(), we can speed up the dequeue datagram process. All the callers never check return value of dequeue_datagram() as it always return ERR_OR, thus make it return void instead. PS. I cannot test this patch so post it here for review. Appreciate if someone can test it. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Sat 03 Mar 2018 03:52:00 PM UTC Name: 0001-lowpan6-Rework-to-speed-up-dequeue-datagram-process.patch Size: 6KiB By: axellin <http://savannah.nongnu.org/patch/download.php?file_id=43445> _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?9578> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |