From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id C74CF38EB for ; Mon, 25 Aug 2014 04:05:50 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 24 Aug 2014 19:09:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,393,1406617200"; d="scan'208";a="562892687" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga001.jf.intel.com with ESMTP; 24 Aug 2014 19:09:38 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id s7P29ZBO024922; Mon, 25 Aug 2014 10:09: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 s7P29W6D010444; Mon, 25 Aug 2014 10:09:34 +0800 Received: (from couyang@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id s7P29W0a010440; Mon, 25 Aug 2014 10:09:32 +0800 From: Ouyang Changchun To: dev@dpdk.org Date: Mon, 25 Aug 2014 10:09:27 +0800 Message-Id: <1408932572-10343-1-git-send-email-changchun.ouyang@intel.com> X-Mailer: git-send-email 1.7.0.7 Subject: [dpdk-dev] [PATCH 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, 25 Aug 2014 02:05:51 -0000 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. Changchun Ouyang (2): Set VM offload register according to VMDQ config for IGB PMD to support broadcast and multicast packets. Add new API in virtio for supporting promiscuous and allmulticast enable and disable. Ouyang Changchun (3): Add RX mode in VMDQ config and set the register PFVML2FLT for IXGBE PMD; this makes VMDQ accept broadcast and multicast packets. To let US-vHOST accept and forward broadcast and multicast packets: Add promiscurous option into command line; set VMDQ RX mode into: ETH_VMDQ_ACCEPT_BROADCAST|ETH_VMDQ_ACCEPT_MULTICAST. Specify rx_mode as 0 for 2 other samples: vmdq and vhost-xen. examples/vhost/main.c | 27 ++++++++-- 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 ++++++++++++++++++++++++++++++++++- 7 files changed, 159 insertions(+), 5 deletions(-) -- 1.8.4.2