From patchwork Wed Aug 3 18:15:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 114561 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3F835A00C5; Wed, 3 Aug 2022 12:14:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3840140A7E; Wed, 3 Aug 2022 12:14:57 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 08E1340141 for ; Wed, 3 Aug 2022 12:14:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659521696; x=1691057696; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=eLOmivaKkd38fRdoeq6+rN/qkFWcxIw4pRBBLZT/o2Y=; b=EZ2KAPdJTg0yQGycGX7jxNvTXonDeZOsZUs9CEXbssiNpn9y1Z1LaMT2 QekiXJL/0lHWCBeekoAqf60wnCfRbxSUM/nKxnH/tJ2rFWrYSR1EeBub9 9ppR8sj/op4OHc5fdPBMQoJ/TYel4BhNTlB4xQJ/se+PHhfSblZjnf4iZ Fz1HaqT7gK4/+pf1pZwvggGkB5sHvbp7fS4y7R2vrgx89lPzLHwkqW+xy IgJcyi6iqPmdY0op0CzF2KOdUI0RWnsK3DuNQk35ZEsj6G//B3ypN9akn wgrTOvQwTnYNrgtauens1vqMFfw6nTbcF+gAjeqQNFGPkX1GIFUnjKsnH w==; X-IronPort-AV: E=McAfee;i="6400,9594,10427"; a="287196760" X-IronPort-AV: E=Sophos;i="5.93,213,1654585200"; d="scan'208";a="287196760" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Aug 2022 03:14:54 -0700 X-IronPort-AV: E=Sophos;i="5.93,213,1654585200"; d="scan'208";a="599594776" Received: from unknown (HELO localhost.localdomain) ([10.239.252.20]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Aug 2022 03:14:53 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1] tests/kni: enable ipv6 Date: Wed, 3 Aug 2022 18:15:12 +0000 Message-Id: <20220803181512.13078-1-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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 the case need ipv6 support, so need make sure that IPv6 is enabled. Signed-off-by: Jiale Song Acked-by: Lijuan Tu --- tests/TestSuite_kni.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/TestSuite_kni.py b/tests/TestSuite_kni.py index e04a0cbc..0a8c3009 100644 --- a/tests/TestSuite_kni.py +++ b/tests/TestSuite_kni.py @@ -485,6 +485,8 @@ class TestKni(TestCase): self.output_path = os.sep.join([cur_path, self.logger.log_path]) # create an instance to set stream field setting self.pktgen_helper = PacketGeneratorHelper() + # enable dut ipv6 + self.dut.enable_ipv6("all") def set_up(self): """ @@ -1562,3 +1564,5 @@ class TestKni(TestCase): """ self.dut.kill_all() self.dut.send_expect("rmmod rte_kni", "# ", 10) + # disable dut ipv6 + self.dut.disable_ipv6("all")