From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v2] ixgbe: support multicast promiscuous mode on VF Date: Tue, 8 Mar 2016 13:37:52 +0000 Message-ID: <20160308133752.GD8716@bricha3-MOBL3> References: <6A0DE07E22DDAD4C9103DF62FEBC09090342A9EA@shsmsx102.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "dev@dpdk.org" To: "Wang, Xiao W" Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 9E0AB2906 for ; Tue, 8 Mar 2016 14:37:56 +0100 (CET) Content-Disposition: inline In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Mar 03, 2016 at 03:51:25AM +0000, Wang, Xiao W wrote: > Hi, > > > > > + > > > > + err = mbx->ops.write_posted(hw, msgbuf, 2, 0); > > > > + if (err) > > > > + return err; > > > > + > > > > + err = mbx->ops.read_posted(hw, msgbuf, 2, 0); > > > > > > Is it more reasonable to read a message of size 1 than 2? Pf side only > > > write 1 word into mbx. > > Thanks for the comment. But actually PF writes 16 words into the mbx, and 2 > > words have meaning. > > Word0 is used to check ack/nack. PF uses word1 to write the xcast_mode back. > > I don't check the word1 because I don't see the necessary:) > > > > > > > OK, I learned that kernel PF put 2 words into mbx for this message. > > Acked-by: Xiao Wang Applied to dpdk-next-net/rel_16_04 /Bruce