From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id A6833374C for ; Wed, 4 May 2016 19:10:49 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP; 04 May 2016 10:10:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,578,1455004800"; d="scan'208";a="97220153" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga004.fm.intel.com with ESMTP; 04 May 2016 10:10:48 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 4 May 2016 10:10:48 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 4 May 2016 10:10:47 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.58]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.175]) with mapi id 14.03.0248.002; Thu, 5 May 2016 01:10:46 +0800 From: "Liu, Yong" To: "Xu, HuilongX" , "dts@dpdk.org" CC: "Xu, HuilongX" Thread-Topic: [dts] [PATCH V1][dts 1/2] add allmutlicast and broadcast test plan Thread-Index: AQHRnF1J7hcAf6bwBUaLeSqKxG+/1p+pFwRQ Date: Wed, 4 May 2016 17:10:45 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E14F1B151@SHSMSX103.ccr.corp.intel.com> References: <1461304956-20509-1-git-send-email-huilongx.xu@intel.com> In-Reply-To: <1461304956-20509-1-git-send-email-huilongx.xu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZDc0ODAzYTMtNWUyZS00YjU1LWFhMGYtYWUxZWM2ODE1NDViIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6InBBbUFPc29KK2N6cmpaSzRLQ0duNXplOFlGZjNVeHE0VkE0U1J5U0RpcDA9In0= x-ctpclassification: CTP_IC 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: [dts] [PATCH V1][dts 1/2] add allmutlicast and broadcast test plan 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: , X-List-Received-Date: Wed, 04 May 2016 17:10:50 -0000 Thanks, applied. > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xu,huilong > Sent: Thursday, April 21, 2016 11:03 PM > To: dts@dpdk.org > Cc: Xu, HuilongX > Subject: [dts] [PATCH V1][dts 1/2] add allmutlicast and broadcast test > plan >=20 > Signed-off-by: xu,huilong > --- > test_plans/dynamic_config_test_plan.rst | 57 > ++++++++++++++++++++++++++++++++- > 1 file changed, 56 insertions(+), 1 deletion(-) >=20 > diff --git a/test_plans/dynamic_config_test_plan.rst > b/test_plans/dynamic_config_test_plan.rst > index f1dbd1b..93a0434 100644 > --- a/test_plans/dynamic_config_test_plan.rst > +++ b/test_plans/dynamic_config_test_plan.rst > @@ -1,4 +1,4 @@ > -.. Copyright (c) <2010, 2011>, Intel Corporation > +.. Copyright (c) <2010, 2016>, Intel Corporation > All rights reserved. >=20 > Redistribution and use in source and binary forms, with or without > @@ -194,6 +194,61 @@ Send a packet with with destination MAC address equa= l > with the port 8 address.:: >=20 > Verify that the packet was received (RX-packets incremented). >=20 > +Test Case: Disable Promiscuous Mode boardcast > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +Disable promiscuous mode and verify that the packets are received > boardcast packet.:: > + > + testpmd> set promisc all off > + testpmd> set fwd io > + testpmd> clear port stats all > +Send a packet with destination MAC address different than the port 0 > address.:: > + > + testpmd> show port stats 1 > + > + ######################## NIC statistics for port 1 > ######################## > + RX-packets: 0 RX-errors: 0 RX-bytes: 0 > + TX-packets: 0 TX-errors: 0 TX-bytes: 0 > + > #########################################################################= # > ## > + > +Verify that no packet was fwd (port 1 TX-packets is 0). > + testpmd> clear port stats all > +Send a boardcast packet .:: > + > + ######################## NIC statistics for port 1 > ######################## > + RX-packets: 0 RX-errors: 0 RX-bytes: 0 > + TX-packets: 1 TX-errors: 0 TX-bytes: 80 > + > #########################################################################= # > ## > + > +Verify that the packet was received and fwd(TX-packets is 1). >=20 > +Test Case: Disable Promiscuous Mode mutlicast > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +Disable promiscuous mode and verify that the packets are received > mutlicast packet.:: > + > + testpmd> set promisc all off > + testpmd> set fwd io > + testpmd> clear port stats all > + testpmd> set allmulti all off > +Send a packet with destination MAC is mutlicast mac eg: > 01:00:00:33:00:01.:: > + > + testpmd> show port stats 1 > + > + ######################## NIC statistics for port 1 > ######################## > + RX-packets: 0 RX-errors: 0 RX-bytes: 0 > + TX-packets: 0 TX-errors: 0 TX-bytes: 0 > + > #########################################################################= # > ## > + > +Verify that no packet was fwd (port 1 TX-packets is 0). > + testpmd> clear port stats all > + testpmd> set allmulti all on > +Send a packet with destination MAC is mutlicast mac eg: > 01:00:00:33:00:01.:: > + > + ######################## NIC statistics for port 1 > ######################## > + RX-packets: 0 RX-errors: 0 RX-bytes: 0 > + TX-packets: 1 TX-errors: 0 TX-bytes: 80 > + > #########################################################################= # > ## >=20 > +Verify that the packet was received and fwd(TX-packets is 1). >=20 > -- > 1.9.3