From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail2.tohojo.dk (mail2.tohojo.dk [77.235.48.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 35A2A3B260 for ; Thu, 22 Sep 2016 13:04:42 -0400 (EDT) X-Virus-Scanned: amavisd-new at mail2.tohojo.dk DKIM-Filter: OpenDKIM Filter v2.10.3 mail2.tohojo.dk BFBC740D5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=201310; t=1474563879; bh=FQfL/wtkv5SSlpDPz5fe+RjQdMUjFacVS+pIVkKfbxE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hIC/DsiHncqHaKS+8Y7fwnB5/ji/aZ0WLCitLf7RpZSeKYrbOmXApRFTZ7UAh91rh mMb9mWXFlWPAVZQtrGgsSq7BmuoMv810Y4o8DOENzEpbH2TauTeDnrUPkPOYnLYxmB Pn4SI8Gnacwh5Ovf3XTUHNwrB5wdF435vIuW6is0= Sender: toke@toke.dk Received: by alrua-karlstad.karlstad.toke.dk (Postfix, from userid 1000) id 005AF862866; Thu, 22 Sep 2016 19:04:38 +0200 (CEST) From: =?UTF-8?q?Toke=20H=C3=B8iland-J=C3=B8rgensen?= To: make-wifi-fast@lists.bufferbloat.net, linux-wireless@vger.kernel.org Date: Thu, 22 Sep 2016 19:04:18 +0200 Message-Id: <20160922170420.5193-1-toke@toke.dk> In-Reply-To: <20160906114426.25520-1-toke@toke.dk> References: <20160906114426.25520-1-toke@toke.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Make-wifi-fast] [PATCH v9 0/2] mac80211: TXQ dequeue path rework X-BeenThere: make-wifi-fast@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2016 17:04:42 -0000 This is the ninth iteration of my attempts to reorder the TXQ dequeue path to avoid issues with reorder-sensitive operations. This version is split into two patches; the first one moves ieee80211_tx_dequeue() to avoid adding function stubs at the top of tx.c. Changes since v8: - Don't add function stubs to the beginning of tx.c - Don't use control.hw_key from the dequeued packet, since that can go away while the packet is queued. Instead, run the select_key handler on dequeue and use the key from that. - Change places that check tin.backlog_packets as an indication of whether the TXQ has anything queued to also look at the 'frags' queue. - Don't change the order of the select_key handler with respect to the other handlers. - Rebase on current mac80211-next tree. Toke H=C3=B8iland-J=C3=B8rgensen (2): mac80211: Move ieee802111_tx_dequeue() to later in tx.c mac80211: Move reorder-sensitive TX handlers to after TXQ dequeue include/net/mac80211.h | 2 + net/mac80211/ieee80211_i.h | 8 ++ net/mac80211/rx.c | 4 +- net/mac80211/sta_info.c | 10 +- net/mac80211/tx.c | 335 +++++++++++++++++++++++++++++++--------= ------ net/mac80211/util.c | 11 +- 6 files changed, 256 insertions(+), 114 deletions(-) --=20 2.9.3 base-commit: c13ed534b8db543e4d8ead3885f4b06585a5771c