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 BF6104295F; Sun, 16 Apr 2023 17:25:25 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6A9AA42BD9; Sun, 16 Apr 2023 17:25:25 +0200 (CEST) Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mails.dpdk.org (Postfix) with ESMTP id 17E0240EDE for ; Sun, 16 Apr 2023 17:25:25 +0200 (CEST) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-63b620188aeso1012085b3a.0 for ; Sun, 16 Apr 2023 08:25:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20221208.gappssmtp.com; s=20221208; t=1681658724; x=1684250724; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rMhuXVcyXz8HOslDkBOyPi6d4ddQt6bFKe9clW3NBeQ=; b=zO+LoBvdqnoPuoyjv2nkwRZM1E5bJWqy7GNWJFi/5PwOgJ7fo5E+60dut9r8/b+c8i 1Xsk+StfR1oG9C2LenhUd4+kVzjCA2kQIlnqjtEG2ir6hyrWc2mJ8/OIoatTSc2fK43A Hyy4XbuEDCtFJ2yexhzhiYFv2nEEkx5ulKrNuDTpYnLuld2PyoT8vcb78tZR236TC2Ah MjxS1iPgY/jZ1wCDuTQ2GDzKVm1NdF7cqRAwv6Nzx7f3FzcAMFYQL3HeMAZHOqSLEUwT bzt92mXM4Y8ICPS0ILjpv+xJIyCJi7cd57equ/pZs9AhYeGbkcjRbOSc2Nn8X23N7wOG zB3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681658724; x=1684250724; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rMhuXVcyXz8HOslDkBOyPi6d4ddQt6bFKe9clW3NBeQ=; b=WHLChN7Lghd1Hd1PXQh29Bj+5ydjvGhWcZZ8LUPdIpWBXKdcoOwkauEzaNtruqsBsT ewmS3poeHbvkc4aDdOPQm+6B0+oIpO05/NNs640G/nOVie0lHOCJnmgUEuPjqhka/4x7 v3zmxVnUoz4j/f+lkvawIg/w9xRX1Dma/bQfl5PxWoP9ethBJAO/W4dPCCDHMfXaxIAJ 439LW5mt1Q4/c9hwAtUprSA8kda4v6qR6Z9b4XL5VIUsD72wMMrV8aCMoVlUVidXidOY 504MLO1WNwJKnwlk9qgNj0Y0fQObVzyltr9ZJFtqyDRxGjT9BINiQ4q2mQ1bV1CFx4Hr 819Q== X-Gm-Message-State: AAQBX9co2larpWjDbnb4/2k+LI1CPsZ28aOBdcJO0xXRPXCUmL7ksiji Cq/h9dE1EAorDHF6jBpZKSrVoI8NYqRLSkGGX2Q= X-Google-Smtp-Source: AKy350beR/a0lYg8f4ThpQZozd21AsHyPDLtAWoA2bqt+k5cHN9BFn7Rx8SZI1DZcU5eUEX1j/O3og== X-Received: by 2002:a05:6a00:1a87:b0:63b:2348:e91e with SMTP id e7-20020a056a001a8700b0063b2348e91emr18777713pfv.4.1681658724196; Sun, 16 Apr 2023 08:25:24 -0700 (PDT) Received: from alarm.flets-east.jp ([2400:4050:a840:1e00:4457:c267:5e09:481b]) by smtp.gmail.com with ESMTPSA id g19-20020a62e313000000b0063b89300347sm1217414pfh.142.2023.04.16.08.25.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Apr 2023 08:25:23 -0700 (PDT) From: Akihiko Odaki To: Cc: dts@dpdk.org, Akihiko Odaki Subject: [PATCH v2 2/3] tests/pmdrssreta: Add IGB_1G-82576 Date: Mon, 17 Apr 2023 00:25:15 +0900 Message-Id: <20230416152516.132890-3-akihiko.odaki@daynix.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230416152516.132890-1-akihiko.odaki@daynix.com> References: <20230416152516.132890-1-akihiko.odaki@daynix.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 IGB_1G-82576 has 40-entry RETA and 7 effective RSS hash bits. Signed-off-by: Akihiko Odaki --- tests/TestSuite_pmdrssreta.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.py index 1fd20f7a..0bc5ce01 100644 --- a/tests/TestSuite_pmdrssreta.py +++ b/tests/TestSuite_pmdrssreta.py @@ -155,6 +155,7 @@ class TestPmdrssreta(TestCase): "IGC-I226_LM", "IGC-I225_LM", "IXGBE_10G-X540T", + "IGB_1G-82576", ]: # compute the hash result of five tuple into the 7 LSBs value. hash_index = int(tmp_reta_line["RSS hash"], 16) % 128 @@ -263,7 +264,12 @@ class TestPmdrssreta(TestCase): "port config 0 rss reta (%d,%d)" % (i, reta_entries[i]), "testpmd> ", ) - elif self.nic in ["IXGBE_10G-82599_SFP", "IGC-I225_LM", "IGC-I226_LM"]: + elif self.nic in [ + "IXGBE_10G-82599_SFP", + "IGC-I225_LM", + "IGC-I226_LM", + "IGB_1G-82576", + ]: for i in range(128): reta_entries.insert(i, random.randint(0, queue - 1)) self.dut.send_expect( @@ -304,6 +310,7 @@ class TestPmdrssreta(TestCase): "IGC-I225_LM": 40, "IGC-I226_LM": 40, "IXGBE_10G-X540T": 40, + "IGB_1G-82576": 40, } self.verify( self.nic in list(nic_rss_key_size.keys()), -- 2.40.0