diff options
author | Juraj Linkeš <juraj.linkes@pantheon.tech> | 2024-02-08 13:10:30 +0100 |
---|---|---|
committer | Peter Mikus <peter.mikus@protonmail.ch> | 2024-02-16 06:36:26 +0000 |
commit | 144e2057d8e27a9debb18ed8c0a59065fb27bace (patch) | |
tree | b57fdfec99003a8fa9476c2b5835efe32e27c7da /fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-alt.sh | |
parent | 5ac5ff150deaf930ae120a7f48cc2627508452ed (diff) |
feat(device): add cx6 to 1n-alt ansible
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š <juraj.linkes@pantheon.tech>
Diffstat (limited to 'fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-alt.sh')
-rw-r--r-- | fdio.infra.ansible/roles/vpp_device/files/csit-initialize-vfs-alt.sh | 5 |
1 files changed, 5 insertions, 0 deletions
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 |