[dpdk-dev] [PATCH v2] ixgbe: support multicast promiscuous mode on VF

Wang, Xiao W xiao.w.wang at intel.com
Thu Mar 3 04:51:25 CET 2016


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 <xiao.w.wang at intel.com>


More information about the dev mailing list