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 DC423A034F; Mon, 7 Jun 2021 11:00:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9C79440692; Mon, 7 Jun 2021 11:00:34 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id 695C34067E for ; Mon, 7 Jun 2021 11:00:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623056432; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=wjbXQPnS2An85gVODwPtjOTL28DTjHt7bbD3dGq0RZo=; b=h4fp6O6Qjji31iWBiiiRN1XpZzluQZIabIn3+RjZtho+ZjJ/C6/5sKHb93/5C8tmKFphWS Th7ygfjSZJq+fJHlTJDBsgsp7fffS3octIA6PMMIfDtGU9CdAYTt07gRmyi5GOndeQxX6Z GLH8NMy2PIj7NkUmh96ODXMWouJd+ao= Received: from mail-vs1-f70.google.com (mail-vs1-f70.google.com [209.85.217.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-311-H1NepImvNWWvU_8CR8QVfQ-1; Mon, 07 Jun 2021 05:00:31 -0400 X-MC-Unique: H1NepImvNWWvU_8CR8QVfQ-1 Received: by mail-vs1-f70.google.com with SMTP id a11-20020a056102024bb029025d866a613cso2651614vsq.11 for ; Mon, 07 Jun 2021 02:00:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wjbXQPnS2An85gVODwPtjOTL28DTjHt7bbD3dGq0RZo=; b=tc8SGHSCoRo7cnPeJYq56eGbmwH/lL44wbhattE1Qs+GIVpBQeFOkbrLgL24MLp/kf zo1UbX93q2I44zSJWMDnAUe2QGyabzKBQKFf469nxGk1nAICwZo/tKnkwL0bhCdVKtch jATfHDajZIMITZ9z5j6nubzGOqqRmV2C8aT2kJj7ZUI7Alq2Ud5UuDoZ4KMefTOfr3RJ voAj7Vv3x53yM73m/e3eoJP2+JtIYxUZL7nMy+F7cY99FP/c53HhJp8JhdKI1rbret5E t3kAjJNVnnZEL7cqpUmEhHIQVJZ6ZBL3sObtJFchZK2C8czer8ClJVPjCfi/aNvGWuEk uBCw== X-Gm-Message-State: AOAM531ZR9o5OrZhywO49ANxugEpbOKIeo4XINNLsynf6O47rwt8wufU jvYCKwVnwnsstqzHIoOlyhNrR90bA8cVPEMs1t63QTqzDYoK1oFxM8E0Z0DQLL8I73p8hVtu6TW 3vPRz7hUtCXOlQPdGDHg= X-Received: by 2002:a67:e01b:: with SMTP id c27mr7820242vsl.27.1623056430980; Mon, 07 Jun 2021 02:00:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfEKq4vSIu5W116i/hweUYVkOs0uTdMCfPkUvlkSKKpaynzb8vOZp7MMEGnVtQlnvzLcMCZ3KD8xncod4ALdI= X-Received: by 2002:a67:e01b:: with SMTP id c27mr7820235vsl.27.1623056430781; Mon, 07 Jun 2021 02:00:30 -0700 (PDT) MIME-Version: 1.0 References: <1623036221-215538-1-git-send-email-xiangx.an@intel.com> <1623036221-215538-2-git-send-email-xiangx.an@intel.com> In-Reply-To: <1623036221-215538-2-git-send-email-xiangx.an@intel.com> From: David Marchand Date: Mon, 7 Jun 2021 11:00:19 +0200 Message-ID: To: Xiang An Cc: dts@dpdk.org, "Peng, Yuan" , techboard@dpdk.org, Honnappa Nagarahalli , =?UTF-8?Q?Juraj_Linke=C5=A1?= , Thomas Monjalon Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dts] [PATCH V4 1/2] tests/cvl_advanced_rss_gtpogre: add case parse_pfcp_over_gre_packet 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" On Mon, Jun 7, 2021 at 5:13 AM Xiang An wrote: > Empty commitlog... > Signed-off-by: Xiang An > --- > tests/TestSuite_cvl_advanced_rss_gtpogre.py | 55 +++++++++++++++++++++++++++++ > 1 file changed, 55 insertions(+) > > diff --git a/tests/TestSuite_cvl_advanced_rss_gtpogre.py b/tests/TestSuite_cvl_advanced_rss_gtpogre.py > index 4a889ea..17029a8 100755 > --- a/tests/TestSuite_cvl_advanced_rss_gtpogre.py > +++ b/tests/TestSuite_cvl_advanced_rss_gtpogre.py > @@ -3503,7 +3503,62 @@ class TestCVLAdvancedRSSGTPoGRE(TestCase): > self.switch_testpmd(enable_rss=True) > self.rssprocess.handle_rss_distribute_cases(cases_info=inner_l4_protocal_hash) > > + def change_dpdk_code(self): > + """ > + change dpdk's code to show the PFCP ptype > + """ > + file1 = "drivers/net/ice/ice_rxtx.c" > + file2 = "drivers/net/ice/ice_rxtx_vec_avx2.c" > + match1 = "rte_le_to_cpu_16(rxdp\[j\].wb.ptype_flex_flags0)\];" > + match2 = "const uint16_t ptype0 = _mm256_extract_epi16(ptypes0_1, 1);" > + insert1 = "printf(\"ptype: %d\\\\n\", ICE_RX_FLEX_DESC_PTYPE_M & rte_le_to_cpu_16(rxdp\[j\].wb.ptype_flex_flags0));" > + insert2 = "printf(\"ptype: %d\\\\n\", ptype0);" > + > + self.dut.send_expect("rm -rf drivers/net/ice/ice_rxtx.c_bak", "# ") > + self.dut.send_expect("cp -rf drivers/net/ice/ice_rxtx.c drivers/net/ice/ice_rxtx.c_bak", "# ") > + self.dut.send_expect("rm -rf drivers/net/ice/ice_rxtx_vec_avx2.c_bak", "# ") > + self.dut.send_expect("cp -rf drivers/net/ice/ice_rxtx_vec_avx2.c drivers/net/ice/ice_rxtx_vec_avx2.c_bak", "# ") > + self.dut.send_expect("sed -i '/%s/a\%s' %s"%(match1,insert1,file1), "# ") > + self.dut.send_expect("sed -i '/%s/a\%s' %s"%(match2,insert2,file2), "# ") And changing driver code. NAK. -- David Marchand