test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Lin, Xueqin" <xueqin.lin@intel.com>
To: "Xia, YanX" <yanx.xia@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Xia, YanX" <yanx.xia@intel.com>
Subject: Re: [dts] [PATCH V2 1/2] test_plans/vf_daemon: delete test_mac_antispoof
Date: Tue, 26 Oct 2021 06:48:05 +0000	[thread overview]
Message-ID: <SJ0PR11MB5599E534FBCCF24E03E884F094849@SJ0PR11MB5599.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20211026132801.74272-2-yanx.xia@intel.com>

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Yan Xia
> Sent: Tuesday, October 26, 2021 9:28 PM
> To: dts@dpdk.org
> Cc: Xia, YanX <yanx.xia@intel.com>
> Subject: [dts] [PATCH V2 1/2] test_plans/vf_daemon: delete
> test_mac_antispoof
> 
> comfirm with Tu,Lijuan and Lin,Xueqin, delete the case
> 
> Signed-off-by: Yan Xia <yanx.xia@intel.com>
Acked-by: Xueqin Lin <Xueqin.lin@intel.com>
> ---
>  test_plans/vf_daemon_test_plan.rst | 39 ------------------------------
>  1 file changed, 39 deletions(-)
> 
> diff --git a/test_plans/vf_daemon_test_plan.rst
> b/test_plans/vf_daemon_test_plan.rst
> index 2c131f58..07543c9d 100644
> --- a/test_plans/vf_daemon_test_plan.rst
> +++ b/test_plans/vf_daemon_test_plan.rst
> @@ -182,45 +182,6 @@ Test Case 3: Set VLAN antispoof for VF from PF
>      packet with matching vlan id
> 
> 
> -Test Case 4: Set mac antispoof for VF from PF -
> ===============================================
> -1. Add fake mac and use fake mac instead of transmitted mac in the
> -   macswap mode, so default is non-matching SA::
> -
> -      .addr_bytes = {0x00, 0x11, 0x22, 0x33, 0x44, 0x55}
> -
> -      On VF0, add below two line code in file app/test-pmd/macswap_sse.h:
> -      struct rte_ether_addr fake_mac = {.addr_bytes = {0x00, 0x11, 0x22, 0x33,
> 0x44, 0x55},};
> -      rte_ether_addr_copy(&fake_mac, &eth_hdr[0]->s_addr);
> -
> -2. Disable VF0 mac antispoof from PF::
> -
> -      testpmd> set vf mac antispoof 0 0 off
> -
> -3. Start testpmd on VF0, set it in macswap forwarding mode and enable
> -   verbose output::
> -
> -      testpmd> set fwd macswap
> -
> -4. Send packet from tester to VF0 with correct SA, but code has changed
> -   to use fake SA
> -
> -5. Stop VF0 testpmd and check VF0 can receive then transmit packet
> -
> -6. Enable VF0 mac antispoof from PF::
> -
> -      testpmd> set vf mac antispoof 0 0 on
> -
> -7. Start VF0 testpmd
> -
> -8. Send packet from tester to VF0 with correct SA, but code has changed
> -   to use fake SA
> -
> -9. Stop VF0 testpmd and check VF0 can receive packet but can't transmit
> packet
> -
> -10. Recover original code
> -
> -
>  Test Case 5: Set the MAC address for VF from PF
> ===============================================
> 
> --
> 2.33.1


  reply	other threads:[~2021-10-26  6:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-26 13:27 [dts] [PATCH V2 0/2] *** delete test_mac_antispoof *** Yan Xia
2021-10-26 13:28 ` [dts] [PATCH V2 1/2] test_plans/vf_daemon: delete test_mac_antispoof Yan Xia
2021-10-26  6:48   ` Lin, Xueqin [this message]
2021-10-26 13:28 ` [dts] [PATCH V2 2/2] tests/vf_daemon: " Yan Xia
2021-10-26  6:48   ` Lin, Xueqin
2021-10-26  7:51     ` Tu, Lijuan

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=SJ0PR11MB5599E534FBCCF24E03E884F094849@SJ0PR11MB5599.namprd11.prod.outlook.com \
    --to=xueqin.lin@intel.com \
    --cc=dts@dpdk.org \
    --cc=yanx.xia@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).