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 D9F257FD1 for ; Mon, 27 Oct 2014 04:36:57 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 26 Oct 2014 20:45:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,792,1406617200"; d="scan'208";a="621124265" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by fmsmga002.fm.intel.com with ESMTP; 26 Oct 2014 20:45:37 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id s9R3jZnw010694; Mon, 27 Oct 2014 11:45:35 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id s9R3jXCV030747; Mon, 27 Oct 2014 11:45:35 +0800 Received: (from couyang@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id s9R3jXbX030743; Mon, 27 Oct 2014 11:45:33 +0800 From: Ouyang Changchun To: dev@dpdk.org Date: Mon, 27 Oct 2014 11:45:28 +0800 Message-Id: <1414381533-30370-1-git-send-email-changchun.ouyang@intel.com> X-Mailer: git-send-email 1.7.12.2 In-Reply-To: <1408932572-10343-1-git-send-email-changchun.ouyang@intel.com> References: <1408932572-10343-1-git-send-email-changchun.ouyang@intel.com> Subject: [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:36:58 -0000 - 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. -V2 change: Rework the patch basing on new vhost library and new vhost application. 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. 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(-) -- 1.8.4.2