From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIF8V-00050p-HC for qemu-devel@nongnu.org; Thu, 23 Jul 2015 07:58:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZIF8S-0004zL-SQ for qemu-devel@nongnu.org; Thu, 23 Jul 2015 07:58:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIF8S-0004zD-Mr for qemu-devel@nongnu.org; Thu, 23 Jul 2015 07:58:00 -0400 Date: Thu, 23 Jul 2015 12:57:58 +0100 From: Stefan Hajnoczi Message-ID: <20150723115758.GA16243@stefanha-thinkpad.redhat.com> References: <55AF75E6.6070909@cn.fujitsu.com> <1437562536-20414-1-git-send-email-yanghy@cn.fujitsu.com> <55AFAF4C.4060704@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J2SCkAp4GZ/dPZZf" Content-Disposition: inline In-Reply-To: <55AFAF4C.4060704@cn.fujitsu.com> Subject: Re: [Qemu-devel] [PATCH] RFC/net: Add a net filter List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Yang Hongyang Cc: Thomas Huth , Stefan Hajnoczi , Jason Wang , qemu-devel --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 22, 2015 at 10:57:16PM +0800, Yang Hongyang wrote: > Hi Stefan, >=20 > On 07/22/2015 09:26 PM, Stefan Hajnoczi wrote: > >On Wed, Jul 22, 2015 at 11:55 AM, Yang Hongyang = wrote: > >>This patch add a net filter between network backend and NIC devices. > >>All packets will pass by this filter. > >>TODO: > >> multiqueue support. > >> plugin support. > > > >What do you mean by plugin? > > >=20 > A filter without plugin supplied will do nothing except pass by all packe= ts, a > plugin like dump for example, will dump all packets into a file. Or other > plugins like a netbuffer plugin, will simply buffer the packets, release > the packets when needed. However, these are my thoughts about the usecase, > there might be more usecase about this. Thanks, I understand. --J2SCkAp4GZ/dPZZf Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVsNbGAAoJEJykq7OBq3PIvewH/2Xhf/yVdzCztjVsUuAkaS/w hED5ximzGe3kBhTmGxY07eG25rvS8MxXVOQYHJx0veixHNCUYeJWSFj4UL2XP07u ZZ0Lfr7rFlDRL/RPBhDK5vS2tb5jgKQTtvTib5cCstHgOMMdZbqJWo0JpQtq5Ugu WMQSIEoF/nzzyBmz9Pp5fRlTVdtRXLPpbkOry/DwVr4mtcrDF6/eFam7tU1NjLM2 sNTppG/vKGKA7P+elv/U3o9QLW9vHd4y5tT8++mblHBYaZ6IcaSoSPtq/hNEYiMg /1NvJi71JEyk74+VH3e0utaoWH9VmfUU/jaqOs62UFaIaBhVrlCj7t7Iw1Ts65A= =ACpM -----END PGP SIGNATURE----- --J2SCkAp4GZ/dPZZf--