From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:57912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtJjp-0001i2-6n for qemu-devel@nongnu.org; Thu, 10 Jan 2013 10:08:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TtJjj-0002hA-Hz for qemu-devel@nongnu.org; Thu, 10 Jan 2013 10:08:13 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57458) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtJjj-0002gs-B3 for qemu-devel@nongnu.org; Thu, 10 Jan 2013 10:08:07 -0500 Date: Thu, 10 Jan 2013 23:08:09 +0800 From: Amos Kong Message-ID: <20130110150809.GA19497@t430s.redhat.com> References: <1357829141-25455-1-git-send-email-akong@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1357829141-25455-1-git-send-email-akong@redhat.com> Subject: Re: [Qemu-devel] [RFC PATCH 0/2] make mac programming for virtio net more robust List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: kvm@vger.kernel.org, rusty@rustcorp.com.au Cc: virtualization@lists.linux-foundation.org, qemu-devel@nongnu.org, mst@redhat.com On Thu, Jan 10, 2013 at 10:45:39PM +0800, akong@redhat.com wrote: > From: Amos Kong > > Currenly mac is programmed byte by byte. This means that we > have an intermediate step where mac is wrong. > > Second patch introduced a new vq control command to set mac > address in one time. I just posted RFC patches (kernel & qemu) out, specifiction update will be sent when the solution is accepted. MST has another solution: 1. add a feature to disable mac address in pci space 2. introduce a new vq control cmd to add new mac address to mac filter table. (no long check n->mac in receiver_filter()) Welcome to give comments, thanks! Amos