From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EB9EEA04A2; Tue, 5 Nov 2019 07:16:45 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BB3AD2C02; Tue, 5 Nov 2019 07:16:45 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 636402BC7 for ; Tue, 5 Nov 2019 07:16:44 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Nov 2019 22:16:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,270,1569308400"; d="scan'208";a="212472737" Received: from unknown (HELO dpdk-wenjielx-dtspatch135.sh.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 04 Nov 2019 22:16:42 -0800 From: "zhu,shuai" To: dts@dpdk.org Cc: yinan.wang@intel.com, "zhu,shuai" Date: Tue, 5 Nov 2019 14:21:53 +0800 Message-Id: <1572934913-57413-1-git-send-email-shuaix.zhu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/vdev_primary_secondary:disable RSS X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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" RSS is not support by virito device and will thus will return error configure device with RSS enabled. Need to disable RSS when configuring virtio device. Signed-off-by: zhu,shuai --- tests/TestSuite_vdev_primary_secondary.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/TestSuite_vdev_primary_secondary.py b/tests/TestSuite_vdev_primary_secondary.py index 8b7b899..102a9e0 100644 --- a/tests/TestSuite_vdev_primary_secondary.py +++ b/tests/TestSuite_vdev_primary_secondary.py @@ -119,6 +119,7 @@ class TestVdevPrimarySecondary(TestCase): final_cmd_first = example_cmd_auto % (self.mem_channels, self.queues) final_cmd_secondary = example_cmd_secondary % (self.mem_channels, self.queues) self.vhost_first.send_expect(final_cmd_first, " ", 120) + time.sleep(3) self.vhost_secondary.send_expect(final_cmd_secondary, " ", 120) @@ -126,6 +127,8 @@ class TestVdevPrimarySecondary(TestCase): self.vm_dut.send_expect("cp ./examples/multi_process/symmetric_mp/main.c .", "#") self.vm_dut.send_expect( "sed -i '/.offloads = DEV_RX_OFFLOAD_CHECKSUM,/d' ./examples/multi_process/symmetric_mp/main.c", "#") + self.vm_dut.send_expect( + "sed -i 's/.mq_mode = ETH_MQ_RX_RSS,/.mq_mode = ETH_MQ_RX_NONE,/g' ./examples/multi_process/symmetric_mp/main.c", "#") out = self.vm_dut.build_dpdk_apps('./examples/multi_process/symmetric_mp') self.verify("Error" not in out, "compilation symmetric_mp error") -- 2.17.2