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 C621D42941; Fri, 14 Apr 2023 14:49:57 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C13A642B8C; Fri, 14 Apr 2023 14:49:57 +0200 (CEST) Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by mails.dpdk.org (Postfix) with ESMTP id BCD5F42B8C for ; Fri, 14 Apr 2023 14:49:56 +0200 (CEST) Received: by mail-pj1-f48.google.com with SMTP id w11so18736568pjh.5 for ; Fri, 14 Apr 2023 05:49:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20221208.gappssmtp.com; s=20221208; t=1681476596; x=1684068596; 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=XTU+likrNsuPjkY+Dk1s8z3nPoa7XES2NjKB7W1LIk8=; b=Cmpawx+mBm3r3NzLE0noFECNPyWNTolPNF98QiLyi4uzdBBF9HVNk3DkKjqXjvxwqO gNx9RCuWg7GyQZFchLHgjV1wMNhjemeBC+urHC6L85mJJO2jTFKyXNXDM861XMyAwQJj +YZc5kmNMm6rr2FbtMzXxQOLENhly14NktVQJgjEJoh232p7zHIQ1EPThe4gGLWZvat2 +nKkiu2iFBOYdqz9b4N5LEJM18xOF4OYruy8W4Bd0iQ7bBLoIhNBMkqjhTuRVM35E3GF YQSHgPV5kiw43BEvP8McgCk2KMy+Su6mO2japIWua952UyuQk5VC4qnkbd3bOd+qmQYk SdDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681476596; x=1684068596; 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=XTU+likrNsuPjkY+Dk1s8z3nPoa7XES2NjKB7W1LIk8=; b=ATpHYfmaZzHmt2vTlTp2wwLjjFxls8RM1dVTmoiUAIUNku1s5dW53H1ecLXFz6YdM9 zbzxm2NkMczWLfAJtraRY0ZMi6l3BoIu4q41STF9NOfLY6J4uTQZeaKOSYg9Z/unMcDo 6idG9neI2wfp9CPObdXLYrZJVuYl3p4wtUeO0sioqFi3sAdEOMyTQL/4f86064VvSzF3 pEMJAcrxZBGOGbsRvreSLhCxPkesAEE6KIrMrAbC1pJor+jwR8TplISE5DRhm0UInsZT tz/LjXRSHVn8TTi1hTHDGQH/S5B5zqZPHa102xHMeKEhjIeLUZ/d0vrdhGE/Mxcf0kQa KAZQ== X-Gm-Message-State: AAQBX9cMRGkRpSyKd9yJNAXXW4Q4ZsSKrcmcfWb3AIummEiYwlgJzns3 gqhbChSGb2ZKYhylYSBbrUE6uVaKSpnnLt9FHpI= X-Google-Smtp-Source: AKy350ZE548UGaeVJJr2fcsSUxe9NW/oV3M8CUx/9idGtvYQbTMtq/sso3PqxD4Wmdo1tH2s04ANVg== X-Received: by 2002:a17:90b:3149:b0:23f:a674:dc0b with SMTP id ip9-20020a17090b314900b0023fa674dc0bmr5579735pjb.15.1681476595875; Fri, 14 Apr 2023 05:49:55 -0700 (PDT) Received: from alarm.flets-east.jp ([2400:4050:a840:1e00:4457:c267:5e09:481b]) by smtp.gmail.com with ESMTPSA id iw18-20020a170903045200b0019a91895cdfsm3036903plb.50.2023.04.14.05.49.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Apr 2023 05:49:55 -0700 (PDT) From: Akihiko Odaki To: Cc: dts@dpdk.org, Akihiko Odaki Subject: [PATCH 2/3] tests/pmdrssreta: Add IGB_1G-82576 Date: Fri, 14 Apr 2023 21:49:47 +0900 Message-Id: <20230414124948.67376-3-akihiko.odaki@daynix.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230414124948.67376-1-akihiko.odaki@daynix.com> References: <20230414124948.67376-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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.py index 1fd20f7a..08767670 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,7 @@ 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 +305,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