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 130E9A0546; Wed, 26 May 2021 13:17:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C4C1A410D8; Wed, 26 May 2021 13:17:38 +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 CCC8A4067C for ; Wed, 26 May 2021 13:17:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1622027856; 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=Sg4s+PlfA7g7sFN4+BblElHUqRIpyKb4wVouOjuwTs4=; b=WGSPhAnBbUGvKsZeJmWsNZsQRLiMSmWjjc7EB9KfXwFMNNKjqIIsdHtAxSL2s9/Z9MCdIl bULFJ5sCuT40uMinH1BkWTAZTxhcGHSDgMOogXRQTFC+BNKQV+IptSEvyCzdQk8EPpWwc2 GwrOQXqpURU6jVM+j2D5tvxUjUjsCQk= Received: from mail-ua1-f69.google.com (mail-ua1-f69.google.com [209.85.222.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-21-vjLwymmJNni2_fHTXEDZ-Q-1; Wed, 26 May 2021 07:17:34 -0400 X-MC-Unique: vjLwymmJNni2_fHTXEDZ-Q-1 Received: by mail-ua1-f69.google.com with SMTP id k17-20020ab071510000b02902351d1972d8so550086uao.19 for ; Wed, 26 May 2021 04:17:34 -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=Sg4s+PlfA7g7sFN4+BblElHUqRIpyKb4wVouOjuwTs4=; b=SZGyWRHpPA1t2iXNjnEzqC9v5Ob0Oc9HdiiD/Y+4uZOoMe9CUge2MwgZyYTIaxhazz jDWfds4qpdZ5lYavNJoKTCIRwO6ySnF43LM8IocSEa8JXiwvejCWGop8TpSvuyLH42qc ap67iMtQu1dV9M+xoptb10oPlnMLFbSi/8N4Of8mDrKxsCW8HPqhMVlGmHS69B69iQFR OQp8bLvf2/Byssc9reIonquSXHMIEAIR+KCYhRETSAj42z1cJPpcSi0ROMwc+Qhgit5k OyPIw2DtpuAv5iRKUfsVtw/1t43KixQNVtUElLW8OOKwfIoj/vaJmAZSaa0R7FGYWbhW Oa5w== X-Gm-Message-State: AOAM531QU0e8kIJQmR8VhZP28GCaE5ri2fOyYFIFjGaLakCr3MlYsoF8 xTBnlf/+q6VM3KSnfb//0EAHGv516CQJA6BpWW8NiugOT36SYROnMsoaNztrQGE/txQtQ8CYpuz okb/wXG7sHlFriAwQePY= X-Received: by 2002:a67:e344:: with SMTP id s4mr30563458vsm.18.1622027854041; Wed, 26 May 2021 04:17:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1YVqevlka0MhNdknxwkN/m7OgRbvz7gzLPXs7Pl+DvMoAr467fQMlaQBSmNvuQHYNq4+rYxCpU9h0kkTdKtY= X-Received: by 2002:a67:e344:: with SMTP id s4mr30563435vsm.18.1622027853883; Wed, 26 May 2021 04:17:33 -0700 (PDT) MIME-Version: 1.0 References: <20210506151015.418101-1-BoX.C.Chen@intel.com> In-Reply-To: <20210506151015.418101-1-BoX.C.Chen@intel.com> From: David Marchand Date: Wed, 26 May 2021 13:17:22 +0200 Message-ID: To: Bo Chen Cc: dts@dpdk.org, techboard@dpdk.org, dev , Qi Zhang , =?UTF-8?Q?Juraj_Linke=C5=A1?= , Honnappa Nagarahalli , Aaron Conole 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/generic_filter: use flow api replace legancy 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 Thu, May 6, 2021 at 9:08 AM Bo Chen wrote: > > use flow api replace legancy filter command > > Signed-off-by: Bo Chen > --- > tests/TestSuite_generic_filter.py | 41 ++++++++++++++++++------------- > 1 file changed, 24 insertions(+), 17 deletions(-) > > diff --git a/tests/TestSuite_generic_filter.py b/tests/TestSuite_generic_filter.py > index d4ea8926..f3ea9774 100644 > --- a/tests/TestSuite_generic_filter.py > +++ b/tests/TestSuite_generic_filter.py > @@ -119,6 +119,12 @@ class TestGeneric_filter(TestCase): > """ > Run before each test case. > """ > + if self._suite_result.test_case == "test_128_queues": > + print('will rebuild dpdk') > + self.dut.send_expect( > + "sed -i -e 's/#define IXGBE_NONE_MODE_TX_NB_QUEUES 64$/#define IXGBE_NONE_MODE_TX_NB_QUEUES 128/' drivers/net/ixgbe/ixgbe_ethdev.h", Patching dpdk to pass a test means there is something wrong either in dpdk or in the test. -- David Marchand