From patchwork Thu Sep 3 09:57:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xie, WeiX" X-Patchwork-Id: 76378 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6CBE7A04DB; Thu, 3 Sep 2020 11:59:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CF2091C0BF; Thu, 3 Sep 2020 11:59:01 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id E00561C0AF for ; Thu, 3 Sep 2020 11:58:59 +0200 (CEST) IronPort-SDR: 0JNt97vXKlaWN349sFpqq/9aO9eL/JLRcY8TNVSmMJLkXAhH6y06ddX0mUDdhjAElole9JE3/E uczhsOn7zEuQ== X-IronPort-AV: E=McAfee;i="6000,8403,9732"; a="137599690" X-IronPort-AV: E=Sophos;i="5.76,386,1592895600"; d="scan'208";a="137599690" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Sep 2020 02:58:58 -0700 IronPort-SDR: MBDXzhTr3RxsKQ6O1spAIVokWqL8ZOZvmL7nv1D+xNZy+Xh3ojP6vWsElQ8rxNa5I2IteVJQDA TsJ/jPX1vWjQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,386,1592895600"; d="scan'208";a="405434590" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by fmsmga001.fm.intel.com with ESMTP; 03 Sep 2020 02:58:57 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Thu, 3 Sep 2020 17:57:42 +0800 Message-Id: <20200903095746.32389-4-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200903095746.32389-1-weix.xie@intel.com> References: <20200903095746.32389-1-weix.xie@intel.com> Subject: [dts] [dts 3/7] test_plans/multicast_test_plan:update test plan to sync with testsuite X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Signed-off-by: Xie wei --- test_plans/multicast_test_plan.rst | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/test_plans/multicast_test_plan.rst b/test_plans/multicast_test_plan.rst index f52dd9c..a190170 100644 --- a/test_plans/multicast_test_plan.rst +++ b/test_plans/multicast_test_plan.rst @@ -195,6 +195,29 @@ P0 and P2 are used on testing machine): These flows do not change across the test cases. +6.Modify multicast route table:: + + sed -i '/mcast_group_table\[\].*{/,/^\}\;/c\\static struct mcast_group_params mcast_group_table[] = {\ + {RTE_IPV4(224,0,0,101),1},\ + {RTE_IPV4(224,0,0,102),2},\ + {RTE_IPV4(224,0,0,103),3},\ + {RTE_IPV4(224,0,0,104),4},\ + {RTE_IPV4(224,0,0,105),5},\ + {RTE_IPV4(224,0,0,106),6},\ + {RTE_IPV4(224,0,0,107),7},\ + {RTE_IPV4(224,0,0,108),8},\ + {RTE_IPV4(224,0,0,109),9},\ + {RTE_IPV4(224,0,0,110),10},\ + {RTE_IPV4(224,0,0,111),11},\ + {RTE_IPV4(224,0,0,112),12},\ + {RTE_IPV4(224,0,0,113),13},\ + {RTE_IPV4(224,0,0,114),14},\ + {RTE_IPV4(224,0,0,115),15},\ + };' examples/ipv4_multicast/main.c + +And re-compile examples/ipv4_multicast:: + + make -C examples/ipv4_multicast Test Case: IP4 Multicast Forwarding ===================================