From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 4A33F8005 for ; Mon, 27 Oct 2014 04:37:14 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 26 Oct 2014 20:45:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,792,1406617200"; d="scan'208";a="621124333" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by fmsmga002.fm.intel.com with ESMTP; 26 Oct 2014 20:45:53 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id s9R3joeH010812; Mon, 27 Oct 2014 11:45:50 +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 s9R3jmiF031129; Mon, 27 Oct 2014 11:45:50 +0800 Received: (from couyang@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id s9R3jl9O031125; Mon, 27 Oct 2014 11:45:47 +0800 From: Ouyang Changchun To: dev@dpdk.org Date: Mon, 27 Oct 2014 11:45:33 +0800 Message-Id: <1414381533-30370-6-git-send-email-changchun.ouyang@intel.com> X-Mailer: git-send-email 1.7.12.2 In-Reply-To: <1414381533-30370-1-git-send-email-changchun.ouyang@intel.com> References: <1408932572-10343-1-git-send-email-changchun.ouyang@intel.com> <1414381533-30370-1-git-send-email-changchun.ouyang@intel.com> Subject: [dpdk-dev] [PATCH v2 5/5] examples/vmdq: set default value to rx mode 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:37:15 -0000 This patch specifies rx_mode as 0 for 2 samples: vmdq and vhost-xen because the multicast feature is not available currently for both samples. Signed-off-by: Changchun Ouyang --- examples/vhost_xen/main.c | 1 + examples/vmdq/main.c | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/vhost_xen/main.c b/examples/vhost_xen/main.c index 0160492..3182733 100644 --- a/examples/vhost_xen/main.c +++ b/examples/vhost_xen/main.c @@ -166,6 +166,7 @@ static const struct rte_eth_conf vmdq_conf_default = { .enable_default_pool = 0, .default_pool = 0, .nb_pool_maps = 0, + .rx_mode = 0, .pool_map = {{0, 0},}, }, }, diff --git a/examples/vmdq/main.c b/examples/vmdq/main.c index c51e2fb..077a20e 100644 --- a/examples/vmdq/main.c +++ b/examples/vmdq/main.c @@ -122,6 +122,7 @@ static const struct rte_eth_conf vmdq_conf_default = { .enable_default_pool = 0, .default_pool = 0, .nb_pool_maps = 0, + .rx_mode = 0, .pool_map = {{0, 0},}, }, }, -- 1.8.4.2