mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
Adding support for dh895xcc devices
This commit adds the possibility to qat2_plugin use pci, devices with communication chipset 8925 to 8955. Signed-off-by: Rivera Gonzalez, Julio C <julio.c.rivera.gonzalez@intel.com>
This commit is contained in:
parent
ca569b0f70
commit
22b9c61c4d
@ -148,8 +148,13 @@ func (dp *devicePlugin) parseConfigs() (map[string]section, error) {
|
||||
devprops := strings.Split(devstr[1], ",")
|
||||
devType := ""
|
||||
for _, propstr := range devprops {
|
||||
if strings.TrimSpace(propstr) == "type: c6xx" {
|
||||
switch strings.TrimSpace(propstr) {
|
||||
// Embeded in Chipset c62x.
|
||||
case "type: c6xx":
|
||||
devType = "c6xx"
|
||||
// Cards with communication chipset 8925-8955.
|
||||
case "type: dh895xcc":
|
||||
devType = "dh895xcc"
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user