mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-05 16:27:05 +00:00
rdt-discovery, Dockerfile: update links to intel-cmt-cat
intel-cmt-cat repo is located in github/intel/ now, update links accordingly, correcting also some source file names pointed from files under rdt-discovery/. Updated also ref. to intel-cmt-cat in Dockerfile. No functional changes.
This commit is contained in:
parent
a410ed49fa
commit
4f4b0867b9
6 changed files with 6 additions and 6 deletions
|
@ -16,7 +16,7 @@ RUN case $(dpkg --print-architecture) in \
|
||||||
echo "skip rdt on Arm64 platform" \
|
echo "skip rdt on Arm64 platform" \
|
||||||
;; \
|
;; \
|
||||||
*) \
|
*) \
|
||||||
git clone --depth 1 -b $CMT_CAT_VERSION https://github.com/01org/intel-cmt-cat.git && \
|
git clone --depth 1 -b $CMT_CAT_VERSION https://github.com/intel/intel-cmt-cat.git && \
|
||||||
make -C intel-cmt-cat/lib install && \
|
make -C intel-cmt-cat/lib install && \
|
||||||
make -C rdt-discovery \
|
make -C rdt-discovery \
|
||||||
;; \
|
;; \
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
struct cpuid_out res;
|
struct cpuid_out res;
|
||||||
|
|
||||||
// Logic below from https://github.com/01org/intel-cmt-cat/blob/master/lib/host_cap.c
|
// Logic below from https://github.com/intel/intel-cmt-cat/blob/master/lib/cap.c
|
||||||
lcpuid(0x7, 0x0, &res);
|
lcpuid(0x7, 0x0, &res);
|
||||||
if (!(res.ebx & (1 << 15))) {
|
if (!(res.ebx & (1 << 15))) {
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
struct cpuid_out res;
|
struct cpuid_out res;
|
||||||
|
|
||||||
// Logic below from https://github.com/01org/intel-cmt-cat/blob/master/lib/host_cap.c
|
// Logic below from https://github.com/intel/intel-cmt-cat/blob/master/lib/cap.c
|
||||||
// TODO(balajismaniam): Implement L3 CAT detection using brand string and MSR probing if
|
// TODO(balajismaniam): Implement L3 CAT detection using brand string and MSR probing if
|
||||||
// not detected using cpuid
|
// not detected using cpuid
|
||||||
lcpuid(0x7, 0x0, &res);
|
lcpuid(0x7, 0x0, &res);
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
struct cpuid_out res;
|
struct cpuid_out res;
|
||||||
|
|
||||||
// Logic below from https://github.com/01org/intel-cmt-cat/blob/master/lib/host_cap.c
|
// Logic below from https://github.com/intel/intel-cmt-cat/blob/master/lib/cap.c
|
||||||
lcpuid(0x7, 0x0, &res);
|
lcpuid(0x7, 0x0, &res);
|
||||||
if (!(res.ebx & (1 << 12))) {
|
if (!(res.ebx & (1 << 12))) {
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
struct cpuid_out res;
|
struct cpuid_out res;
|
||||||
|
|
||||||
// Logic below from https://github.com/01org/intel-cmt-cat/blob/master/lib/host_cap.c
|
// Logic below from https://github.com/intel/intel-cmt-cat/blob/master/lib/cap.c
|
||||||
lcpuid(0x7, 0x0, &res);
|
lcpuid(0x7, 0x0, &res);
|
||||||
if (!(res.ebx & (1 << 12))) {
|
if (!(res.ebx & (1 << 12))) {
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
struct cpuid_out res;
|
struct cpuid_out res;
|
||||||
|
|
||||||
// Logic below from https://github.com/01org/intel-cmt-cat/blob/master/lib/host_cap.c
|
// Logic below from https://github.com/intel/intel-cmt-cat/blob/master/lib/cap.c
|
||||||
lcpuid(0x7, 0x0, &res);
|
lcpuid(0x7, 0x0, &res);
|
||||||
if (!(res.ebx & (1 << 12))) {
|
if (!(res.ebx & (1 << 12))) {
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
|
|
Loading…
Add table
Reference in a new issue