Commit Graph

163 Commits

Author SHA1 Message Date
Kevin Klues
4066c09810 Add test for NUMA node addition to nvpci
Signed-off-by: Kevin Klues <kklues@nvidia.com>
2021-03-22 17:19:50 +00:00
Kevin Klues
5adc7bd87c Add numa node as a standard field in the nvpci struct
Signed-off-by: Kevin Klues <kklues@nvidia.com>
2021-03-22 17:18:38 +00:00
Kevin Klues
af7bde75a5 Update nvpci mock to be more generic and support more devices
Signed-off-by: Kevin Klues <kklues@nvidia.com>
2021-03-22 17:18:35 +00:00
Kevin Klues
2119080eb9 Merge branch 'initial-commits' into 'master'
Add initial set of commits for the nvpci library and all build infrastructure

See merge request nvidia/cloud-native/go-nvlib!1
2021-03-22 13:03:11 +00:00
Kevin Klues
b7d96c7bf0 Move pkg/{bytes, mmio} underneath /pkg/nvpci
Signed-off-by: Kevin Klues <kklues@nvidia.com>
2021-03-22 11:33:20 +00:00
Kevin Klues
575c714bac Add .gitlab-ci files (for both internal and external builds)
Signed-off-by: Kevin Klues <kklues@nvidia.com>
2021-03-22 11:22:02 +00:00
Kevin Klues
11d6080941 Add Makefile and build targets
Signed-off-by: Kevin Klues <kklues@nvidia.com>
2021-03-22 11:19:56 +00:00
Kevin Klues
6a0fd37ab6 Add pkg/nvpci as a direct port from mig-parted/pkg/nvpci
Signed-off-by: Kevin Klues <kklues@nvidia.com>
2021-03-22 11:19:56 +00:00
Kevin Klues
613fd315f3 Add pkg/mmio as a direct port from mig-parted/internal/mmio
Signed-off-by: Kevin Klues <kklues@nvidia.com>
2021-03-22 11:19:56 +00:00
Kevin Klues
98d311e418 Add pkg/bytes as a direct port from mig-parted/internal/bytes
Signed-off-by: Kevin Klues <kklues@nvidia.com>
2021-03-22 11:19:56 +00:00
Kevin Klues
0d682249b6 Add .gitignore
Signed-off-by: Kevin Klues <kklues@nvidia.com>
2021-03-22 11:19:45 +00:00
Kevin Klues
e43d82971c Add vendoring for upcoming packages
Signed-off-by: Kevin Klues <kklues@nvidia.com>
2021-03-22 11:19:45 +00:00
Kevin Klues
7a3c6d6c06 Add initial CONTRIBUTING, LICENSE, and README files
Signed-off-by: Kevin Klues <kklues@nvidia.com>
2021-03-22 11:19:45 +00:00