Return-path: Received: from mail-ie0-f178.google.com ([209.85.223.178]:37120 "EHLO mail-ie0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967984Ab3DSLNe (ORCPT ); Fri, 19 Apr 2013 07:13:34 -0400 Received: by mail-ie0-f178.google.com with SMTP id aq17so3011007iec.37 for ; Fri, 19 Apr 2013 04:13:34 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1366201848-18009-1-git-send-email-stf_xl@wp.pl> <1366201848-18009-3-git-send-email-stf_xl@wp.pl> Date: Fri, 19 Apr 2013 13:13:34 +0200 Message-ID: (sfid-20130419_131341_865087_5B0AF999) Subject: Re: [rt2x00-users] [PATCH 2/2] rt2800: nulify all last words of TXWI From: Helmut Schaa To: Gertjan van Wingerde Cc: Stanislaw Gruszka , "John W. Linville" , "linux-wireless@vger.kernel.org" , rt2x00 Users List Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Gertjan, On Fri, Apr 19, 2013 at 11:49 AM, Gertjan van Wingerde wrote: > Wouldn't it be easier / better to simply clear the whole descriptor at > the start, instead of selective clearing parts of it after everything > has been written already? This would add a number of unneeded writes to DMA coherent memory. And since the descriptor is initialized word by word Stanislaw's approach looks reasonable to me. Helmut