From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mellanox.co.il (unknown [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id B4AC08D99 for ; Tue, 27 Oct 2015 07:08:13 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from root@r-aa-dragon7.rdmz.labs.mlnx) with ESMTPS (AES256-SHA encrypted); 27 Oct 2015 08:08:00 +0200 Received: from r-aa-dragon7.rdmz.labs.mlnx (r-aa-dragon7.rdmz.labs.mlnx [10.224.14.90]) by filer01.rdmz.labs.mlnx (8.13.8/8.13.8) with ESMTP id t9R680uL010153; Tue, 27 Oct 2015 08:08:00 +0200 Received: from r-aa-dragon7.rdmz.labs.mlnx (localhost [127.0.0.1]) by r-aa-dragon7.rdmz.labs.mlnx (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id t9R680Ls031895; Tue, 27 Oct 2015 08:08:00 +0200 Received: (from root@localhost) by r-aa-dragon7.rdmz.labs.mlnx (8.14.4/8.14.4/Submit) id t9R680Gn031894; Tue, 27 Oct 2015 08:08:00 +0200 From: Raslan Darawsheh To: dts@dpdk.org Date: Tue, 27 Oct 2015 08:07:55 +0200 Message-Id: <1445926076-31279-6-git-send-email-rasland@mellanox.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1445926076-31279-1-git-send-email-rasland@mellanox.com> References: <1445926076-31279-1-git-send-email-rasland@mellanox.com> Cc: rdarawsheh@asaltech.com Subject: [dts] [PATCH 6/6] framework:tester: adding ConnectX_3_Pro second port to the list of ports 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: Tue, 27 Oct 2015 06:08:14 -0000 From: Raslsn Darawsheh Signed-off-by: Raslsn Darawsheh --- framework/tester.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/framework/tester.py b/framework/tester.py index de0bc24..cfab247 100644 --- a/framework/tester.py +++ b/framework/tester.py @@ -211,6 +211,7 @@ class Tester(Crb): try: for (pci_bus, pci_id) in self.pci_devices_info: addr_array = pci_bus.split(':') + self.check_Mellanox_pci(pci_bus,pci_id) port = NetDevice(self, addr_array[0], addr_array[1]) itf = port.get_interface_name() self.enable_ipv6(itf) @@ -309,6 +310,17 @@ class Tester(Crb): 'intf': intf, 'mac': macaddr, 'ipv6': ipv6}) + self.check_Mellanox_pci(pci_bus,pci_id) + if self.isMellanox and self.mellanoxCardType == "cx3" : + intf1 = port.get_interface_name() + macaddr1 = port.get_mac_addr() + ipv6_port2 = port.get_ipv6_addr() + self.ports_info.append({'port': port, + 'pci': pci_bus, + 'type': pci_id, + 'intf': intf1, + 'mac': macaddr1, + 'ipv6': ipv6_port2}) def send_ping6(self, localPort, ipv6, mac): """ -- 1.8.3.1