From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lino Sanfilippo Subject: Re: [PATCH 1/1] qlcnic: add wmb() call in transmit data path. Date: Thu, 30 Jun 2016 17:41:47 +0200 Message-ID: <57753DBB.9010608@marvell.com> References: <1467237094-23088-1-git-send-email-sony.chacko@qlogic.com> <1467237094-23088-2-git-send-email-sony.chacko@qlogic.com> <57753B8F.9020302@marvell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Cc: , To: Sony Chacko , Return-path: Received: from mx0a-0016f401.pphosted.com ([67.231.148.174]:11625 "EHLO mx0a-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932590AbcF3Plx (ORCPT ); Thu, 30 Jun 2016 11:41:53 -0400 In-Reply-To: <57753B8F.9020302@marvell.com> Sender: netdev-owner@vger.kernel.org List-ID: On 30.06.2016 17:32, Lino Sanfilippo wrote: > Hi, > > On 29.06.2016 23:51, Sony Chacko wrote: > >> + /* Ensure writes are complete before HW fetches Tx descriptors */ >> + wmb(); >> qlcnic_update_cmd_producer(tx_ring); >> >> return NETDEV_TX_OK; >> > > Would not an mmiowb be more appropriate in this case? > > Regards, > Lino Sorry, this was nonsense. This should be "dma_wmb" not "mmiowb". Regards, Lino