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 53455A04A2; Tue, 5 Nov 2019 04:09:16 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 11E772C27; Tue, 5 Nov 2019 04:09:16 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 2B9CF2C23 for ; Tue, 5 Nov 2019 04:09:14 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Nov 2019 19:09:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,269,1569308400"; d="scan'208";a="232308138" Received: from unknown (HELO dpdk-wenjielx-dtspatch135.sh.intel.com) ([10.240.176.135]) by fmsmga002.fm.intel.com with ESMTP; 04 Nov 2019 19:09:13 -0800 From: "zhu,shuai" To: dts@dpdk.org Cc: yinan.wang@intel.com, "zhu,shuai" Date: Tue, 5 Nov 2019 11:14:23 +0800 Message-Id: <1572923663-55973-1-git-send-email-shuaix.zhu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/vhost_virtio_user_interrupt:Disable RSS, Change mq_mode to ETH_MQ_RX_NONE 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_vhost_virtio_user_interrupt.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/TestSuite_vhost_virtio_user_interrupt.py b/tests/TestSuite_vhost_virtio_user_interrupt.py index 91edcce..002588d 100644 --- a/tests/TestSuite_vhost_virtio_user_interrupt.py +++ b/tests/TestSuite_vhost_virtio_user_interrupt.py @@ -85,9 +85,7 @@ class TestVirtioUserInterrupt(TestCase): self.dut.send_expect( "sed -i '/DEV_RX_OFFLOAD_CHECKSUM/d' ./examples/l3fwd-power/main.c", "#", 10) self.dut.send_expect( - "sed -i '/if (promiscuous_on/i\#if 0' ./examples/l3fwd-power/main.c", "#", 10) - self.dut.send_expect( - "sed -i '/rte_spinlock_init(&(locks/i\#endif' ./examples/l3fwd-power/main.c", "#", 10) + "sed -i 's/.mq_mode = ETH_MQ_RX_RSS,/.mq_mode = ETH_MQ_RX_NONE,/g' ./examples/l3fwd-power/main.c", "#", 10) out = self.dut.build_dpdk_apps("./examples/l3fwd-power") self.verify("Error" not in out, "compilation l3fwd-power error") -- 2.17.2