From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from s3.sipsolutions.net ([144.76.43.152]:33554 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754502Ab3JHNp7 (ORCPT ); Tue, 8 Oct 2013 09:45:59 -0400 Message-ID: <1381239951.13359.13.camel@jlt4.sipsolutions.net> (sfid-20131008_154608_666446_7DC5ACE9) Subject: Re: [PATCH] mac80211: port CCMP to cryptoapi's CCM driver From: Johannes Berg To: Ard Biesheuvel Cc: David Laight , "" , "" , "" , "" Date: Tue, 08 Oct 2013 15:45:51 +0200 In-Reply-To: <1381239908.13359.12.camel@jlt4.sipsolutions.net> (sfid-20131008_154529_677169_EE69B46B) References: <1381231915-24232-1-git-send-email-ard.biesheuvel@linaro.org> <1381233152.13359.10.camel@jlt4.sipsolutions.net> <23D74823-0DE3-4A87-9E89-310F437A328D@linaro.org> (sfid-20131008_154139_954283_CE737C83) <1381239908.13359.12.camel@jlt4.sipsolutions.net> (sfid-20131008_154529_677169_EE69B46B) Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, 2013-10-08 at 15:45 +0200, Johannes Berg wrote: > On Tue, 2013-10-08 at 15:41 +0200, Ard Biesheuvel wrote: > > > Actually, as the size is always the same, it should be feasible to > > alloc a couple of request structs at init time. would one for rx and > > one for tx be sufficient? or is this code more reentrant than that? > > TX can run concurrently on multiple (four) queues using the same key. And maybe even more with injection ... I wouldn't go there. johannes