summaryrefslogtreecommitdiff
path: root/vendor/github.com/Microsoft/hcsshim/internal/schema2/iov_settings.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-04-12 11:57:44 -0700
committerGitHub <noreply@github.com>2021-04-12 11:57:44 -0700
commita6fb11e34ccc13e9cfd6ec37030c0634d1bee830 (patch)
treebb39ecb86553bc1e0ee8a83b20e6cb48da93dab3 /vendor/github.com/Microsoft/hcsshim/internal/schema2/iov_settings.go
parentd40c3076ac664b2510f4097d1ece7bca50ca3f83 (diff)
parent986cd2a6a4b3e9f6ac54f96237bc1c9d1cea497b (diff)
downloadpodman-a6fb11e34ccc13e9cfd6ec37030c0634d1bee830.tar.gz
podman-a6fb11e34ccc13e9cfd6ec37030c0634d1bee830.tar.bz2
podman-a6fb11e34ccc13e9cfd6ec37030c0634d1bee830.zip
Merge pull request #9998 from rhatdan/VENDOR
vendor in containers/storage v1.29.0
Diffstat (limited to 'vendor/github.com/Microsoft/hcsshim/internal/schema2/iov_settings.go')
-rw-r--r--vendor/github.com/Microsoft/hcsshim/internal/schema2/iov_settings.go22
1 files changed, 22 insertions, 0 deletions
diff --git a/vendor/github.com/Microsoft/hcsshim/internal/schema2/iov_settings.go b/vendor/github.com/Microsoft/hcsshim/internal/schema2/iov_settings.go
new file mode 100644
index 000000000..2a55cc37c
--- /dev/null
+++ b/vendor/github.com/Microsoft/hcsshim/internal/schema2/iov_settings.go
@@ -0,0 +1,22 @@
+/*
+ * HCS API
+ *
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
+ *
+ * API version: 2.4
+ * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
+ */
+
+package hcsschema
+
+type IovSettings struct {
+ // The weight assigned to this port for I/O virtualization (IOV) offloading.
+ // Setting this to 0 disables IOV offloading.
+ OffloadWeight *uint32 `json:"OffloadWeight,omitempty"`
+
+ // The number of queue pairs requested for this port for I/O virtualization (IOV) offloading.
+ QueuePairsRequested *uint32 `json:"QueuePairsRequested,omitempty"`
+
+ // The interrupt moderation mode for I/O virtualization (IOV) offloading.
+ InterruptModeration *InterruptModerationName `json:"InterruptModeration,omitempty"`
+}