From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id A74385906 for ; Mon, 27 Oct 2014 04:45:53 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 26 Oct 2014 20:54:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,792,1406617200"; d="scan'208";a="611846672" Received: from pgsmsx103.gar.corp.intel.com ([10.221.44.82]) by fmsmga001.fm.intel.com with ESMTP; 26 Oct 2014 20:54:32 -0700 Received: from pgsmsx105.gar.corp.intel.com (10.221.44.96) by PGSMSX103.gar.corp.intel.com (10.221.44.82) with Microsoft SMTP Server (TLS) id 14.3.195.1; Mon, 27 Oct 2014 11:51:38 +0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by pgsmsx105.gar.corp.intel.com (10.221.44.96) with Microsoft SMTP Server (TLS) id 14.3.195.1; Mon, 27 Oct 2014 11:51:38 +0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.156]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.174]) with mapi id 14.03.0195.001; Mon, 27 Oct 2014 11:51:37 +0800 From: "Ouyang, Changchun" To: "dev@dpdk.org" Thread-Topic: [PATCH v2 0/5] Support virtio multicast feature Thread-Index: AQHP8ZeQYre1IGtvrUWwmlPFBTI3NpxDT0aw Date: Mon, 27 Oct 2014 03:51:36 +0000 Message-ID: References: <1414381136-21962-1-git-send-email-changchun.ouyang@intel.com> In-Reply-To: <1414381136-21962-1-git-send-email-changchun.ouyang@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 0/5] Support virtio multicast feature X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 03:45:54 -0000 Pls ignore this duplicated one, The mail server should has some issue, I cancel the sending out in first 2 = times but it still sent it out. :-( Sorry for that. =20 Changchun > -----Original Message----- > From: Ouyang, Changchun > Sent: Monday, October 27, 2014 11:39 AM > To: dev@dpdk.org > Cc: Cao, Waterman; Ouyang, Changchun > Subject: [PATCH v2 0/5] Support virtio multicast feature >=20 > - V1 change: > This patch series support multicast feature in virtio and vhost. > The vhost backend enables the promiscuous mode and config > ETH_VMDQ_ACCEPT_BROADCAST and ETH_VMDQ_ACCEPT_MULTICAST in > VMDQ offload register to receive the multicast and broadcast packets. > The virtio frontend provides the functionality of enabling and disabling = the > multicast and promiscuous mode. >=20 > -V2 change: > Rework the patch basing on new vhost library and new vhost application. >=20 > Changchun Ouyang (5): > Add RX mode in VMDQ config and set the register PFVML2FLT for IXGBE > PMD; this makes VMDQ accept broadcast and multicast packets. > Set VM offload register according to VMDQ config for IGB PMD to > support broadcast and multicast packets. > To let US-vHOST accept and forward broadcast and multicast packets: > Add promiscuous option into command line; set VMDQ RX mode into: > ETH_VMDQ_ACCEPT_BROADCAST|ETH_VMDQ_ACCEPT_MULTICAST. > Add new API in virtio for supporting promiscuous and allmulticast > enable and disable. > Specify rx_mode as 0 for 2 other samples: vmdq and vhost-xen. >=20 > examples/vhost/main.c | 25 +++++++-- > examples/vhost_xen/main.c | 1 + > examples/vmdq/main.c | 1 + > lib/librte_ether/rte_ethdev.h | 1 + > lib/librte_pmd_e1000/igb_rxtx.c | 20 +++++++ > lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 16 ++++++ > lib/librte_pmd_virtio/virtio_ethdev.c | 98 > ++++++++++++++++++++++++++++++++++- > lib/librte_vhost/virtio-net.c | 4 +- > 8 files changed, 161 insertions(+), 5 deletions(-) >=20 > -- > 1.8.4.2