Skip to content

Commit 4e12d70

Browse files
authored
Merge pull request #1257 from mythi/PR-2022-083
release-0.25: 0.25.1
2 parents 63cfcd2 + cc12e55 commit 4e12d70

File tree

49 files changed

+100
-57
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+100
-57
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ pipeline {
142142
stage('make test-with-kind') {
143143
steps {
144144
dir(path: "$REPO_DIR") {
145-
sh "make test-with-kind REG=intel/ TAG=0.25.0"
145+
sh "make test-with-kind REG=intel/ TAG=0.25.1"
146146
}
147147
}
148148
}

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ clean:
138138

139139
ORG?=intel
140140
REG?=$(ORG)/
141-
TAG?=0.25.0
141+
TAG?=0.25.1
142142
export TAG
143143

144144
e2e-fpga:

build/docker/intel-qat-initcontainer.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ LABEL summary='Intel® QAT initcontainer for Kubernetes'
6262
LABEL description='Intel QAT initcontainer initializes devices'
6363
COPY --from=builder /install_root /
6464
COPY demo/qat-init.sh /usr/local/bin/
65-
ENTRYPOINT ["/usr/local/bin/qat-init.sh"]
65+
ENTRYPOINT [ "/bin/bash", "/usr/local/bin/qat-init.sh"]

build/docker/templates/intel-qat-initcontainer.Dockerfile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ COPY --from=builder /install_root /
2121

2222
COPY demo/qat-init.sh /usr/local/bin/
2323

24-
ENTRYPOINT ["/usr/local/bin/qat-init.sh"]
24+
ENTRYPOINT [ "/bin/bash", "/usr/local/bin/qat-init.sh"]

cmd/gpu_nfdhook/labeler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ func createNumaNodeMappingLabel(mapping map[int][]string) string {
463463

464464
sort.Ints(numas)
465465

466-
for numaNode := range numas {
466+
for _, numaNode := range numas {
467467
gpus := mapping[numaNode]
468468
numaString := strconv.FormatInt(int64(numaNode), 10)
469469
gpusString := strings.Join(gpus, ".")

cmd/gpu_nfdhook/labeler_test.go

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,42 @@ func getTestCases() []testcase {
537537
"gpu.intel.com/numa-gpu-map": "0-0_1-1",
538538
},
539539
},
540+
{
541+
sysfsdirs: []string{
542+
"card0/device/drm/card0",
543+
"card1/device/drm/card1",
544+
"card1/gt/gt0",
545+
},
546+
sysfsfiles: map[string][]byte{
547+
"card0/device/vendor": []byte("0xfefe"),
548+
"card0/device/numa_node": []byte("0"),
549+
"card1/device/vendor": []byte("0x8086"),
550+
"card1/lmem_total_bytes": []byte("8000"),
551+
"card1/device/numa_node": []byte("1"),
552+
},
553+
name: "successful labeling with one 0x8086 card and numa node info",
554+
memoryOverride: 16000000000,
555+
capabilityFile: map[string][]byte{
556+
"1/i915_capabilities": []byte(
557+
"platform: newnew\n" +
558+
"gen: 9"),
559+
},
560+
expectedRetval: nil,
561+
expectedLabels: labelMap{
562+
"gpu.intel.com/graphics_version": "9",
563+
"gpu.intel.com/media_version": "9",
564+
"gpu.intel.com/millicores": "1000",
565+
"gpu.intel.com/memory.max": "8000",
566+
"gpu.intel.com/platform_newnew.count": "1",
567+
"gpu.intel.com/platform_newnew.present": "true",
568+
"gpu.intel.com/platform_newnew.tiles": "1",
569+
"gpu.intel.com/platform_gen": "9",
570+
"gpu.intel.com/gpu-numbers": "1",
571+
"gpu.intel.com/cards": "card1",
572+
"gpu.intel.com/tiles": "1",
573+
"gpu.intel.com/numa-gpu-map": "1-1",
574+
},
575+
},
540576
{
541577
sysfsdirs: []string{
542578
"card0/device/drm/card0",

demo/dlb-libdlb-demo-pf-pod.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ spec:
66
restartPolicy: Never
77
containers:
88
- name: dlb-libdlb-demo-pf-pod
9-
image: intel/dlb-libdlb-demo:0.25.0
9+
image: intel/dlb-libdlb-demo:0.25.1
1010
imagePullPolicy: IfNotPresent
1111
resources:
1212
limits:

demo/dlb-libdlb-demo-pod.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ spec:
66
restartPolicy: Never
77
containers:
88
- name: pf
9-
image: intel/dlb-libdlb-demo:0.25.0
9+
image: intel/dlb-libdlb-demo:0.25.1
1010
imagePullPolicy: IfNotPresent
1111
resources:
1212
limits:
@@ -18,7 +18,7 @@ spec:
1818
cpu: 1
1919
memory: 200Mi
2020
- name: vf
21-
image: intel/dlb-libdlb-demo:0.25.0
21+
image: intel/dlb-libdlb-demo:0.25.1
2222
imagePullPolicy: IfNotPresent
2323
resources:
2424
limits:

demo/dlb-libdlb-demo-vf-pod.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ spec:
66
restartPolicy: Never
77
containers:
88
- name: dlb-libdlb-demo-vf-pod
9-
image: intel/dlb-libdlb-demo:0.25.0
9+
image: intel/dlb-libdlb-demo:0.25.1
1010
command: [ "sh", "-c", "/usr/local/bin/dir_traffic -n 8 -w epoll -d $(ls /dev/dlb* | sed 's/\\/dev\\/dlb//')" ]
1111
imagePullPolicy: IfNotPresent
1212
resources:

demo/dsa-accel-config-demo-pod.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
spec:
88
containers:
99
- name: dsa-accel-config-demo
10-
image: intel/accel-config-demo:0.25.0
10+
image: intel/accel-config-demo:0.25.1
1111
imagePullPolicy: IfNotPresent
1212
resources:
1313
limits:

0 commit comments

Comments
 (0)