From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 603551BE0 for ; Wed, 7 Nov 2018 07:45:56 +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 orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Nov 2018 22:45:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,474,1534834800"; d="scan'208";a="105960870" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 06 Nov 2018 22:45:54 -0800 From: zhuwenhui To: dts@dpdk.org Cc: zhuwenhui Date: Wed, 7 Nov 2018 14:48:55 +0800 Message-Id: <1541573335-29570-1-git-send-email-wenhuix.zhu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] kni/ethtool delete ethtool -a during the running process 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: , X-List-Received-Date: Wed, 07 Nov 2018 06:45:56 -0000 KNI, when ethtool support enabled ("CONFIG_RTE_KNI_KMOD_ETHTOOL=y") ethtool commands "ETHTOOL_GSET & ETHTOOL_SSET" are no more supported for the kernels that has "ETHTOOL_GLINKSETTINGS & ETHTOOL_SLINKSETTINGS" support. This means ``ethtool "-a|--show-pause", "-s|--change"`` won't work, and ``ethtool `` output will have less information. Signed-off-by: zhuwenhui --- tests/TestSuite_kni.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/TestSuite_kni.py b/tests/TestSuite_kni.py index 23d6d04..46928a7 100644 --- a/tests/TestSuite_kni.py +++ b/tests/TestSuite_kni.py @@ -676,14 +676,6 @@ class TestKni(TestCase): self.verify("Operation not supported" not in out, "'ethtool -i' not supported") - # Request pause parameters - out = self.dut.send_expect("ethtool -a %s" % virtual_interface, - "# ") - self.verify("Pause parameters for %s" % virtual_interface in out, - "'ethtool -a' not supported") - self.verify("Operation not supported" not in out, - "ethtool '-a' not supported") - # Request statistics out = self.dut.send_expect("ethtool -S %s" % virtual_interface, "# ") -- 2.17.2