test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Liu, Yong" <yong.liu@intel.com>
To: "Xu, HuilongX" <huilongx.xu@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Xu, HuilongX" <huilongx.xu@intel.com>
Subject: Re: [dts] [PATCH V1][dts 1/2] add allmutlicast and broadcast test plan
Date: Wed, 4 May 2016 17:10:45 +0000	[thread overview]
Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E14F1B151@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <1461304956-20509-1-git-send-email-huilongx.xu@intel.com>

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
> 
> Signed-off-by: xu,huilong <huilongx.xu@intel.com>
> ---
>  test_plans/dynamic_config_test_plan.rst | 57
> ++++++++++++++++++++++++++++++++-
>  1 file changed, 56 insertions(+), 1 deletion(-)
> 
> 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.
> 
>     Redistribution and use in source and binary forms, with or without
> @@ -194,6 +194,61 @@ Send a packet with with destination MAC address equal
> with the port 8 address.::
> 
>  Verify that the packet was received (RX-packets incremented).
> 
> +Test Case: Disable Promiscuous Mode boardcast
> +===================================
> +
> +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).
> 
> +Test Case: Disable Promiscuous Mode mutlicast
> +===================================
> +
> +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
> +
> ##########################################################################
> ##
> 
> +Verify that the packet was received and fwd(TX-packets is 1).
> 
> --
> 1.9.3

      parent reply	other threads:[~2016-05-04 17:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-22  6:02 xu,huilong
2016-04-22  6:02 ` [dts] [PATCH V2][dts 2/2] add allmutlicast and broadcast test case xu,huilong
2016-04-29 17:48   ` Liu, Yong
2016-05-03  1:49     ` Xu, HuilongX
2016-05-04 17:13       ` Liu, Yong
2016-05-04 17:10 ` Liu, Yong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86228AFD5BCD8E4EBFD2B90117B5E81E14F1B151@SHSMSX103.ccr.corp.intel.com \
    --to=yong.liu@intel.com \
    --cc=dts@dpdk.org \
    --cc=huilongx.xu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).