From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 808A5A0C47; Tue, 26 Oct 2021 08:48:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 703F740A4B; Tue, 26 Oct 2021 08:48:10 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 641794003E for ; Tue, 26 Oct 2021 08:48:08 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10148"; a="216746511" X-IronPort-AV: E=Sophos;i="5.87,182,1631602800"; d="scan'208";a="216746511" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2021 23:48:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,182,1631602800"; d="scan'208";a="486014164" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga007.jf.intel.com with ESMTP; 25 Oct 2021 23:48:07 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 25 Oct 2021 23:48:07 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Mon, 25 Oct 2021 23:48:07 -0700 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (104.47.73.48) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Mon, 25 Oct 2021 23:48:06 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HIX+slXp8+UVRMzvcsTF4wgjGR8KbAtkgmBytAMB1ksmn0EawLZLe9+EChJSWwEJiGPBnXWgD2c3QXj0mWRUxO0sJJ2BBf/nQLJBdVDLIgD0TYcW9OOjzUp5ic/B3GV1XZ9OP/NdIdN+f91LLwvTAQ/2HS75/6HhXVM64tyBfcnSJ/tYIQPtVEznR4SGqY/TLvW5J3onOpkKopXUW8IIbew3ouUtFej8KpUnQfhciDUWg8Ot6fGbAfEG5W2sxgSOiHct2H0JoginmWtKBP320tCRouvAG3Y1JrAUphAei1sj0xmzcjdHNOJc01qtW9d1qZl+XgECLKK59LkCz1YmjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=R9nqwiExRbbjX1aclctVaPL57Jn9GiJKthzhnIbB2ZU=; b=V9CN4luyv6AgU39QtQyHchyOuWAnyMuu8BL1F2sFCSjG6DoeJTBrXSObhIqZWozx7RMkl9BT5RyoGW+FU8wlzakE1bComOth86SJYgNeYwqEfUDbFRWH7F536fLI/4W0nCzj1htnK17VTgSJMNMPRSYONHEaSeFFMXnkkmraYCOh4JJLSa0L1VYeCL3sSXi02K9pjnpUQgC0usPPkZBo37T5N/PGMAWpqUdzzuIARCW8/h9/cukVYWEiIRKfpzm945abNOJGnlLhbXufOwj2bPKrEmv0X8AW7VdDaOPyEfQCF7EYhN3LOEYB01l4ET92eMwzVd/hT5JBCXZeC5uwvA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=R9nqwiExRbbjX1aclctVaPL57Jn9GiJKthzhnIbB2ZU=; b=piVZ3A2eq83RqAZdOK/Xnyg+Vd4nS6zOxBDmOXQCmCZ8bqXjLY0w/w7Y1h9Q+R0VxveS9o39NpieY+pRA8hQ8dkup6/YtnvI8eOj4OnPA0GSWABI7Keq9xUSGur+yNydl0b25d0+XM30vzi/ZHgJDQrhEuCqN6ZuM+O2Ti72vZ8= Received: from SJ0PR11MB5599.namprd11.prod.outlook.com (2603:10b6:a03:3af::21) by SJ0PR11MB5584.namprd11.prod.outlook.com (2603:10b6:a03:3ba::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.16; Tue, 26 Oct 2021 06:48:05 +0000 Received: from SJ0PR11MB5599.namprd11.prod.outlook.com ([fe80::10d:e8b2:6de3:942c]) by SJ0PR11MB5599.namprd11.prod.outlook.com ([fe80::10d:e8b2:6de3:942c%9]) with mapi id 15.20.4628.020; Tue, 26 Oct 2021 06:48:05 +0000 From: "Lin, Xueqin" To: "Xia, YanX" , "dts@dpdk.org" CC: "Xia, YanX" Thread-Topic: [dts] [PATCH V2 1/2] test_plans/vf_daemon: delete test_mac_antispoof Thread-Index: AQHXyin8MaL3Ijj6R0y1Q6rRvloNnqvk1ljg Date: Tue, 26 Oct 2021 06:48:05 +0000 Message-ID: References: <20211026132801.74272-1-yanx.xia@intel.com> <20211026132801.74272-2-yanx.xia@intel.com> In-Reply-To: <20211026132801.74272-2-yanx.xia@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 00122a61-24c8-47a6-5fb0-08d9984c906e x-ms-traffictypediagnostic: SJ0PR11MB5584: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4502; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: VqYNrtWMMak3REynNE5moRPb1+bYVjFu8LniYZD9aaYAj9q9SInvZ83bkFgDlqDqVzFppK5qg2tUuCwGqo9Ha2XgV4KkqAV2gJi5+xA1n8BdyOvgNSED3w9IZcm54YzvdOMpJjYWXgrbcBqpZ+dcfwFREwiqlpJs79h9PeDdLsj+EHoB5nI+G61r5s2spU7e38fmpJ1S1MVVAlptM7aJ7C6gBBm4ZjCSgK18Un0m5y3D/Ww9D1fLZONTTASIBFCCSmqItl++k8eBlY91kYC6K8UV9fhbyHqlW38VCXcmRdTDfT83bIIVS7Y7BPvdJ9HgbzKyJJTPeqTYx3d9S09fYXFrM0Ip3/f7PwrmqYkCfpSGdB6K/iAVzzV43yRRWEAf0soQ3Z2364Qz2aYOHnJEAyC/3mY27vDwapNPOdLwEGA/ONiC9ngk7jeBdeNSSj2iGh95Tvgz2qdGsoHQ1eaHNkQ8li8w4KoE5MwIUiIKEtdGS6S9JZwaoZYHryD6vF2z0JxcVOTKMT5IlasYKMvJvUJLuCoB4ancnhAd/ZM5mrQD3T7+1LbSj3gdCyFuAOvGicoWrOOlx9vlE1QE9jpt0VPErWPdrDelvaMBlBFMPC5SA7tDHfCGNZwMKhUEYj/8FJKF0Qz9Q/hAbLAIvjEIMsi/Y5yEwtriXCxYKH3P5YCYDRwglYUWGsfi+rGfY3ZGgJl7HIr6zheebfHwyJaMXw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR11MB5599.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(55016002)(52536014)(5660300002)(86362001)(122000001)(4326008)(53546011)(66556008)(83380400001)(64756008)(66446008)(110136005)(8936002)(6506007)(316002)(9686003)(82960400001)(107886003)(76116006)(186003)(2906002)(66946007)(66476007)(8676002)(38100700002)(508600001)(33656002)(38070700005)(26005)(7696005)(71200400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?i5lHvE1peXKfKxbe3YL0FVjl0sygwpBDKKcyCvxL63RngDWpaHbjctqldnbG?= =?us-ascii?Q?a+rpwHkFtgFbkS5azjqFWmQzTsTS8TkaEX62L0TPu7XOMeVGzJ4fjXA2aLIx?= =?us-ascii?Q?5FgA/bKtd+HpCkgb2yqmNMwr6hvLf+6B0aNJxKmqwzv4bW88x9FxXx+gCDFI?= =?us-ascii?Q?Y3ViGGciHAA8tuNTe4S80kEHf8mAJ3bPUMnRMeoQqUJrpeiZ3flW65F0lF4k?= =?us-ascii?Q?YplzY42ya4zEiN1wEr4gLoA113igAZE2PokcoIKqZVsmOZJLRkvNnsSfAscz?= =?us-ascii?Q?IzQxZVztNRr7Xof0TC6Ikb2+h6O1AaUg9g/sjhA88yk4jlMnAcOK927eH7/j?= =?us-ascii?Q?xrO+vnLODNY8rL2K2zcd82xuDPXs6iQEZDnaCLV9ArimFKm9YYPPUu5QyASO?= =?us-ascii?Q?C/vxSxI60ACezs9INYfmwJ/giLho8+8b/m7ZPVo3HdVknYo8yHQxMsxBXAGT?= =?us-ascii?Q?QtEDU9mh/xDoqm58natciklX20HAKC0PpiL3FFugCGyHuVPB3a4jrhuUMRhv?= =?us-ascii?Q?IBU5UU+gpOagzMn57hF6E8VymuV7CI/lVGfz+X8P30vNttkHj0TbfhnCYbmv?= =?us-ascii?Q?5zakroJjyvhtnVIJo6CF6QKjw3rmwcWBjOVG5rROLj1/AlXjYuJBdW9qi4D/?= =?us-ascii?Q?0E9s/7TWYlGftku13vrfyl5Y/sp+XnIe/7w/nX7O1rbBMQSgMP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fKXKyXiArNYuvjLLcD/dQaFCDq6X5SQo6s0osZYB/P3k2A?= =?us-ascii?Q?dA=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5599.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 00122a61-24c8-47a6-5fb0-08d9984c906e X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Oct 2021 06:48:05.6540 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Lf+fdgOG0QkQvpx0BiHgM3UZpXlPyKHxQoGpBsd72IYTlG63V+H66ditizHlmPCD8HKA83xzerhXlI6oDLYx0A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5584 X-OriginatorOrg: intel.com Subject: Re: [dts] [PATCH V2 1/2] test_plans/vf_daemon: delete test_mac_antispoof X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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" > -----Original Message----- > From: dts On Behalf Of Yan Xia > Sent: Tuesday, October 26, 2021 9:28 PM > To: dts@dpdk.org > Cc: Xia, YanX > Subject: [dts] [PATCH V2 1/2] test_plans/vf_daemon: delete > test_mac_antispoof >=20 > comfirm with Tu,Lijuan and Lin,Xueqin, delete the case >=20 > Signed-off-by: Yan Xia Acked-by: Xueqin Lin > --- > test_plans/vf_daemon_test_plan.rst | 39 ------------------------------ > 1 file changed, 39 deletions(-) >=20 > 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 >=20 >=20 > -Test Case 4: Set mac antispoof for VF from PF - > =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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > -1. Add fake mac and use fake mac instead of transmitted mac in the > - macswap mode, so default is non-matching SA:: > - > - .addr_bytes =3D {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 =3D {.addr_bytes =3D {0x00, 0x11, 0= x22, 0x33, > 0x44, 0x55},}; > - rte_ether_addr_copy(&fake_mac, ð_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 > =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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > -- > 2.33.1