From patchwork Mon Aug 24 10:34:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Mei, JianweiX" X-Patchwork-Id: 75854 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 1BDF6A04AC; Mon, 24 Aug 2020 04:03:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 13C2F1C0AC; Mon, 24 Aug 2020 04:03:03 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 024911C07B for ; Mon, 24 Aug 2020 04:03:01 +0200 (CEST) IronPort-SDR: no1Ux42Yei8vZu9smb+91QoQvr/JGZMIYhyh5wkp5fP2Op88VcMLqRAJNantyCqUNfB5TmElnw vo+Io5ZT/qhA== X-IronPort-AV: E=McAfee;i="6000,8403,9722"; a="153238980" X-IronPort-AV: E=Sophos;i="5.76,347,1592895600"; d="scan'208";a="153238980" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2020 19:03:01 -0700 IronPort-SDR: rO86wV+ckvrHCHKTq8+q0Md2Y7yG+/Gw/DbjwCwpOjY0P4ospet4QoH2H9EMwQmBQKoa+HOlWe OdRGgTcu9W/w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,347,1592895600"; d="scan'208";a="312016981" Received: from unknown (HELO localhost.localdomain) ([10.240.183.106]) by orsmga002.jf.intel.com with ESMTP; 23 Aug 2020 19:03:00 -0700 From: Jianwei Mei To: dts@dpdk.org Cc: Jianwei Mei Date: Mon, 24 Aug 2020 10:34:56 +0000 Message-Id: <20200824103457.26447-3-jianweix.mei@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200824103457.26447-1-jianweix.mei@intel.com> References: <20200824103457.26447-1-jianweix.mei@intel.com> Subject: [dts] [PATCH V2 3/4] test_plans/vf_daemon:add modify dpdk code in 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" The test sutie change some dpdk code, but not mentioned it in the plan. Signed-off-by: Jianwei Mei --- test_plans/vf_daemon_test_plan.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test_plans/vf_daemon_test_plan.rst b/test_plans/vf_daemon_test_plan.rst index 9a790c1..2c131f5 100644 --- a/test_plans/vf_daemon_test_plan.rst +++ b/test_plans/vf_daemon_test_plan.rst @@ -189,6 +189,10 @@ Test Case 4: Set mac antispoof for VF from PF .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, ð_hdr[0]->s_addr); + 2. Disable VF0 mac antispoof from PF:: testpmd> set vf mac antispoof 0 0 off