From 144e2057d8e27a9debb18ed8c0a59065fb27bace Mon Sep 17 00:00:00 2001 From: Juraj Linkeš Date: Thu, 8 Feb 2024 13:10:30 +0100 Subject: feat(device): add cx6 to 1n-alt ansible MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also update 1n-alt hardware with info from dmidecode and port names to match the rules in Testbed Naming Convention. Change-Id: Ib654adaec5667f0e79a3cb86edfbf4578f5c3d5f Signed-off-by: Juraj Linkeš --- fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-alt.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'fdio.infra.ansible/roles') diff --git a/fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-alt.sh b/fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-alt.sh index e3b22a2ef1..2f9b841947 100644 --- a/fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-alt.sh +++ b/fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-alt.sh @@ -23,6 +23,8 @@ PCI_BLACKLIST+=($(lspci -Dmmd ':1017:0200' | cut -f1 -d' ')) # Add Intel Corporation Ethernet Controller XL710 for 40GbE QSFP+ to whitelist. PCI_WHITELIST=($(lspci -Dmmd ':1583:0200' | cut -f1 -d' ')) +# Add MT2892 Family [ConnectX-6 Dx] 101d to whitelist. +PCI_WHITELIST=($(lspci -Dmmd ':101d:0200' | cut -f1 -d' ')) # See http://pci-ids.ucw.cz/v2.2/pci.ids for more info. @@ -32,3 +34,6 @@ PF_INDICES["0000:01:00.0"]=0 PF_INDICES["0000:01:00.1"]=1 PF_INDICES["0003:02:00.0"]=0 PF_INDICES["0003:02:00.1"]=1 +# Mellanox CX6 +PF_INDICES["0001:01:00.0"]=2 +PF_INDICES["0001:01:00.1"]=2 \ No newline at end of file -- cgit 1.2.3-korg