3 # Copyright (c) 2019 PANTHEON.tech and/or its affiliates.
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at:
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 # Add QLogic Corp. FastLinQ QL41000 Series 10/25/40/50GbE Controller to
18 PCI_BLACKLIST=($(lspci -Dmmd ':8070:0200' | cut -f1 -d' '))
20 # Add Intel Corporation Ethernet Controller XL710 for 40GbE QSFP+ to whitelist.
21 PCI_WHITELIST=($(lspci -Dmmd ':1583:0200' | cut -f1 -d' '))
23 # See http://pci-ids.ucw.cz/v2.2/pci.ids for more info.
26 PF_INDICES["0000:05:00.0"]=0
27 PF_INDICES["0000:05:00.1"]=1
28 PF_INDICES["0000:08:00.0"]=2
29 PF_INDICES["0000:08:00.1"]=1
30 PF_INDICES["0000:85:00.0"]=0
31 PF_INDICES["0000:85:00.1"]=2