-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ConfigMap to store supported NIC model list
Use a ConfigMap 'supported-nic-ids' to store the NIC model list to replace the current hardcoded list. Deprecate the ConfigMap 'unsupported-nic-ids'. Also deprecate the machanism which allow users can change the content of ConfigMap on the fly. Now users have to restart the webhook and config daemon pods after changing the ConfigMap.
- Loading branch information
Showing
12 changed files
with
93 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: supported-nic-ids | ||
data: | ||
I40e_XXV710: "8086 158a 154c" | ||
I40e_25G_SFP28: "8086 158b 154c" | ||
I40e_10G_X710_SFP: "8086 1572 154c" | ||
I40e_XXV710_N3000: "8086 0d58 154c" | ||
I40e_40G_XL710_QSFP: "8086 1583 154c" | ||
Columbiaville_E810-CQDA2_2CQDA2: "8086 1592 1889" | ||
Columbiaville_E810-XXVDA4: "8086 1593 1889" | ||
Columbiaville_E810-XXVDA2: "8086 159b 1889" | ||
ConnectX-4: "15b3 1013 1014" | ||
ConnectX-4LX: "15b3 1015 1016" | ||
ConnectX-5: "15b3 1017 1018" | ||
ConnectX-5_Ex: "15b3 1019 101a" | ||
ConnectX-6: "15b3 101b 101c" | ||
ConnectX-6_Dx: "15b3 101d 101e" | ||
MT42822_BlueField-2_integrated_ConnectX-6_Dx: "15b3 a2d6 101e" | ||
BCM57414_2x25G: "14e4 16d7 16dc" | ||
BCM75508_2x100G: "14e4 1750 1806" |
22 changes: 22 additions & 0 deletions
22
deployment/sriov-network-operator/templates/configmap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: supported-nic-ids | ||
data: | ||
I40e_XXV710: "8086 158a 154c" | ||
I40e_25G_SFP28: "8086 158b 154c" | ||
I40e_10G_X710_SFP: "8086 1572 154c" | ||
I40e_XXV710_N3000: "8086 0d58 154c" | ||
I40e_40G_XL710_QSFP: "8086 1583 154c" | ||
Columbiaville_E810-CQDA2_2CQDA2: "8086 1592 1889" | ||
Columbiaville_E810-XXVDA4: "8086 1593 1889" | ||
Columbiaville_E810-XXVDA2: "8086 159b 1889" | ||
ConnectX-4: "15b3 1013 1014" | ||
ConnectX-4LX: "15b3 1015 1016" | ||
ConnectX-5: "15b3 1017 1018" | ||
ConnectX-5_Ex: "15b3 1019 101a" | ||
ConnectX-6: "15b3 101b 101c" | ||
ConnectX-6_Dx: "15b3 101d 101e" | ||
MT42822_BlueField-2_integrated_ConnectX-6_Dx: "15b3 a2d6 101e" | ||
BCM57414_2x25G: "14e4 16d7 16dc" | ||
BCM75508_2x100G: "14e4 1750 1806" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.