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 2E649A0C43; Wed, 20 Oct 2021 17:31:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1A464411FA; Wed, 20 Oct 2021 17:31:10 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 9AF6C41196 for ; Wed, 20 Oct 2021 17:31:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634743868; 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=JOQ3cn+0a6DsOq8aYQMOhben7aUvQWfUGpR2IL+lqX0=; b=AwFlnHheMrCvAuPfTScAxLvlIPbkxO4NkkCP45qG+Rm9HpNuu1srlErQA6JbQNhr7f/DP5 UIRyAeXO/4nOPFI88GYtH8+tS/jeoo3jBKfVZ+ZHuuP2FmZhhjWeZqE5z1g9Z4XR81xfbr S1/VVPxuk9zV9uZ4LrLNKdN6jOs1Frw= Received: from mail-lj1-f200.google.com (mail-lj1-f200.google.com [209.85.208.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-27-gnk9vuV1MrmcX3FLb_mN9w-1; Wed, 20 Oct 2021 11:31:04 -0400 X-MC-Unique: gnk9vuV1MrmcX3FLb_mN9w-1 Received: by mail-lj1-f200.google.com with SMTP id j8-20020a2e3c08000000b00210e2890d61so2028675lja.9 for ; Wed, 20 Oct 2021 08:31:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JOQ3cn+0a6DsOq8aYQMOhben7aUvQWfUGpR2IL+lqX0=; b=6CMV9xL2iRC9IsdkCooyY0PKjD7pFRe01KCzm3kaOB5fBwkZVYkDpHM9SOQasUZ9gE kUOw7OLW082k8kyFaLHB+1pb0ECKYzuBSJ34jKUecYavlbalfEQWz5dZMaB8ghDeQ0gW 88ayRD4nH7ZKrTCgu2tGfOZc2W4RwY3RVinUV6z/sQLSSdG4sA+tY+YDBv73ioULKdcW IY4mKjIeXNFSKzfvHLJVOAyHjzWQHKcB8UuL0VScucEyu59j+E42ltf23rEnlhpj75So wE356HnLdKq6dx2Z1jLX4W6u9sLztbCtdiMbc/cH2gPciswUfwOuRrte7S4hROrP80JB rsdw== X-Gm-Message-State: AOAM532dsP9NB/RsvxkfJTiy4A7uVHn2bQiNGyqWjGmN9was7Wow6a+H NLXq3cEMRol6omZFTl5ctIIi0O7J08jP9T/CpSpp+DMnAWRG42peRTk4ry8K07naoT0WZGXLoRk We9auX5ooGC8+WqGZtOc= X-Received: by 2002:a2e:b6cc:: with SMTP id m12mr56505ljo.297.1634743862868; Wed, 20 Oct 2021 08:31:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyaeGgGzLQmwMneLURIXE1ZKVG2r900LuYTnAsUEHrcS9PLh3xHr0VnBTOqt/jtZGa2nEfda25XVldTDeTYK1M= X-Received: by 2002:a2e:b6cc:: with SMTP id m12mr56478ljo.297.1634743862629; Wed, 20 Oct 2021 08:31:02 -0700 (PDT) MIME-Version: 1.0 References: <20211019102845.213815-1-yanx.xia@intel.com> In-Reply-To: <20211019102845.213815-1-yanx.xia@intel.com> From: David Marchand Date: Wed, 20 Oct 2021 17:30:51 +0200 Message-ID: To: Yan Xia Cc: dts@dpdk.org, Honnappa Nagarahalli 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 V1] tests/vf_daemon: modify dts to adapt dpdk changes 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 Tue, Oct 19, 2021 at 4:29 AM Yan Xia wrote: > > dpdk commit-id: 04d43857 > dpdk rename `s_addr` to `src_addr` > > Signed-off-by: Yan Xia > --- > tests/TestSuite_vf_daemon.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/TestSuite_vf_daemon.py b/tests/TestSuite_vf_daemon.py > index a08ae7b5..2c23e760 100644 > --- a/tests/TestSuite_vf_daemon.py > +++ b/tests/TestSuite_vf_daemon.py > @@ -528,7 +528,7 @@ class TestVfDaemon(TestCase): > "\ struct rte_ether_addr fake_mac = {.addr_bytes = {0x00, 0x11, 0x22, 0x33, 0x44, 0x55},};'" +\ > " app/test-pmd/macswap_sse.h", "# ", 30) > line_num = self.vm0_dut.send_expect("sed -n '/_mm_storeu_si128/=' app/test-pmd/macswap_sse.h |sed -n 5p", "# ",30) > - self.vm0_dut.send_expect("sed -i -e '%sa\\rte_ether_addr_copy(&fake_mac, ð_hdr[0]->s_addr);'" % str(line_num)+\ > + self.vm0_dut.send_expect("sed -i -e '%sa\\rte_ether_addr_copy(&fake_mac, ð_hdr[0]->src_addr);'" % str(line_num)+\ Please drop those hacks where DTS changes DPDK source code. > " app/test-pmd/macswap_sse.h", "# ", 30) > time.sleep(3) > > -- > 2.32.0 > -- David Marchand