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 C4AE542C65; Fri, 9 Jun 2023 03:58:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C064640E01; Fri, 9 Jun 2023 03:58:07 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id DB39340A7D for ; Fri, 9 Jun 2023 03:58:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686275886; x=1717811886; h=from:to:cc:subject:date:message-id; bh=+4STrvBFRDWdrUArT4C8EDvU3BliptxpV1dz173cwuI=; b=AAQBLzpmMWkmpkXVriD66OHPAUPpZetkssYgPNUldxEedEyHFoUgsoDT pZIF3idVqT3dTCZQkiNKx5zvmVbygiZpr6uX4HSb85ouZYtkGW0LaeUhS 9XXq6K3vVcvzeRCKLRA8/fz9rqO/W+WJTNmFgryn0e0Jjl4IufNWeG0z7 fMmp785gucMV/HfJRf5ZsJEcSU1PgAcTerkstYHUaW4Xj86KHhnoVO9wT p/HLvVKNOycVDpGALz9ixHy/DVMz02NiNozHD1Wn0GHhmk2raN+vrGK1a CM4rf1vFj36Lih33lEb73/9Zt0JJ6usxNxReLF5SHBpHWX7jnpBFvhDrJ g==; X-IronPort-AV: E=McAfee;i="6600,9927,10735"; a="337843663" X-IronPort-AV: E=Sophos;i="6.00,228,1681196400"; d="scan'208";a="337843663" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jun 2023 18:58:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10735"; a="713332459" X-IronPort-AV: E=Sophos;i="6.00,228,1681196400"; d="scan'208";a="713332459" Received: from unknown (HELO cvl_100g_103.icx.intel.com) ([10.239.252.93]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jun 2023 18:58:03 -0700 From: Hongbo Li To: dts@dpdk.org Cc: Hongbo Li Subject: [dts][PATCH V1 1/2] tests/ice_iavf_fdir: support eal_param -a to avoid running containers conflict Date: Fri, 9 Jun 2023 18:10:19 +0800 Message-Id: <20230609101020.23747-1-hongbox.li@intel.com> X-Mailer: git-send-email 2.17.1 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 support eal_param -a to avoid running containers conflict Signed-off-by: Hongbo Li --- tests/TestSuite_ice_iavf_fdir.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_ice_iavf_fdir.py b/tests/TestSuite_ice_iavf_fdir.py index ba231915..a24355f5 100644 --- a/tests/TestSuite_ice_iavf_fdir.py +++ b/tests/TestSuite_ice_iavf_fdir.py @@ -8701,6 +8701,9 @@ class TestICEIAVFFdir(TestCase): vf_port.bind_driver(self.vf_driver) for vf_port in self.sriov_vfs_pf1: vf_port.bind_driver(self.vf_driver) + self.eal_param_a = "" + for sriov_vf in self.sriov_vfs_pf0: + self.eal_param_a += " -a {}".format(sriov_vf.pci) except Exception as e: self.destroy_env() @@ -10486,7 +10489,9 @@ class TestICEIAVFFdir(TestCase): "ip link set {} vf {} mac 00:11:22:33:44:55".format(self.pf0_intf, nex_cnt), "#", ) - command = self.path + " -c f -n 6 -- -i --rxq=16 --txq=16" + command = self.path + " -c f -n 6 %s -- -i --rxq=16 --txq=16" % ( + self.eal_param_a + ) self.dut.send_expect(command, "testpmd> ", 360) self.config_testpmd() -- 2.17.1