From 4affc1c6109d6463c4d1e6476c5c20c7577e7dfc Mon Sep 17 00:00:00 2001 From: Ivan Kolodiazhnyi Date: Tue, 7 Nov 2023 12:37:31 +0200 Subject: [PATCH] chore: Update SR-IOV Network Operator Helm chart Signed-off-by: Ivan Kolodiazhnyi --- ...openshift.io_sriovnetworknodepolicies.yaml | 4 +++ ...k.openshift.io_sriovnetworknodestates.yaml | 4 +++ ...iovnetwork.openshift.io_sriovnetworks.yaml | 26 +++++++++++++++++++ ...ork.openshift.io_sriovoperatorconfigs.yaml | 4 +++ .../templates/configmap.yaml | 3 +++ 5 files changed, 41 insertions(+) diff --git a/deployment/network-operator/charts/sriov-network-operator/crds/sriovnetwork.openshift.io_sriovnetworknodepolicies.yaml b/deployment/network-operator/charts/sriov-network-operator/crds/sriovnetwork.openshift.io_sriovnetworknodepolicies.yaml index a81c6a227..d5ae89cca 100644 --- a/deployment/network-operator/charts/sriov-network-operator/crds/sriovnetwork.openshift.io_sriovnetworknodepolicies.yaml +++ b/deployment/network-operator/charts/sriov-network-operator/crds/sriovnetwork.openshift.io_sriovnetworknodepolicies.yaml @@ -53,6 +53,10 @@ spec: description: Exclude device's NUMA node when advertising this resource by SRIOV network device plugin. Default to false. type: boolean + externallyManaged: + description: don't create the virtual function only allocated them + to the device plugin. Defaults to false. + type: boolean isRdma: description: RDMA mode. Defaults to false. type: boolean diff --git a/deployment/network-operator/charts/sriov-network-operator/crds/sriovnetwork.openshift.io_sriovnetworknodestates.yaml b/deployment/network-operator/charts/sriov-network-operator/crds/sriovnetwork.openshift.io_sriovnetworknodestates.yaml index 1e7ef32b0..8e756f681 100644 --- a/deployment/network-operator/charts/sriov-network-operator/crds/sriovnetwork.openshift.io_sriovnetworknodestates.yaml +++ b/deployment/network-operator/charts/sriov-network-operator/crds/sriovnetwork.openshift.io_sriovnetworknodestates.yaml @@ -50,6 +50,8 @@ spec: properties: eSwitchMode: type: string + externallyManaged: + type: boolean linkType: type: string mtu: @@ -125,6 +127,8 @@ spec: type: string eSwitchMode: type: string + externallyManaged: + type: boolean linkSpeed: type: string linkType: diff --git a/deployment/network-operator/charts/sriov-network-operator/crds/sriovnetwork.openshift.io_sriovnetworks.yaml b/deployment/network-operator/charts/sriov-network-operator/crds/sriovnetwork.openshift.io_sriovnetworks.yaml index 17cdcb7ce..15e1bfd3f 100644 --- a/deployment/network-operator/charts/sriov-network-operator/crds/sriovnetwork.openshift.io_sriovnetworks.yaml +++ b/deployment/network-operator/charts/sriov-network-operator/crds/sriovnetwork.openshift.io_sriovnetworks.yaml @@ -49,6 +49,24 @@ spec: - enable - disable type: string + logFile: + description: LogFile sets the log file of the SRIOV CNI plugin logs. + If unset (default), this will log to stderr and thus to multus and + container runtime logs. + type: string + logLevel: + default: info + description: LogLevel sets the log level of the SRIOV CNI plugin - + either of panic, error, warning, info, debug. Defaults to info if + left blank. + enum: + - panic + - error + - warning + - info + - debug + - "" + type: string maxTxRate: description: Maximum tx rate, in Mbps, for the VF. Defaults to 0 (no rate limiting) @@ -86,6 +104,14 @@ spec: maximum: 4096 minimum: 0 type: integer + vlanProto: + description: VLAN proto to assign for the VF. Defaults to 802.1q. + enum: + - 802.1q + - 802.1Q + - 802.1ad + - 802.1AD + type: string vlanQoS: description: VLAN QoS ID to assign for the VF. Defaults to 0. maximum: 7 diff --git a/deployment/network-operator/charts/sriov-network-operator/crds/sriovnetwork.openshift.io_sriovoperatorconfigs.yaml b/deployment/network-operator/charts/sriov-network-operator/crds/sriovnetwork.openshift.io_sriovoperatorconfigs.yaml index fc8f9fbc0..43818cfc3 100644 --- a/deployment/network-operator/charts/sriov-network-operator/crds/sriovnetwork.openshift.io_sriovoperatorconfigs.yaml +++ b/deployment/network-operator/charts/sriov-network-operator/crds/sriovnetwork.openshift.io_sriovoperatorconfigs.yaml @@ -77,6 +77,10 @@ spec: maximum: 2 minimum: 0 type: integer + useCDI: + description: Flag to enable Container Device Interface mode for SR-IOV + Network Device Plugin + type: boolean maxParallelNodeConfiguration: default: 1 description: How many nodes can be configured in parallel 0 means diff --git a/deployment/network-operator/charts/sriov-network-operator/templates/configmap.yaml b/deployment/network-operator/charts/sriov-network-operator/templates/configmap.yaml index 9d7cf8596..b21b07ea6 100644 --- a/deployment/network-operator/charts/sriov-network-operator/templates/configmap.yaml +++ b/deployment/network-operator/charts/sriov-network-operator/templates/configmap.yaml @@ -7,6 +7,7 @@ data: Intel_i40e_25G_SFP28: "8086 158b 154c" Intel_i40e_10G_X710_SFP: "8086 1572 154c" Intel_ixgbe_10G_X550: "8086 1563 1565" + Intel_ixgbe_82576: "8086 10c9 10ca" Intel_i40e_X710_X557_AT_10G: "8086 1589 154c" Intel_i40e_10G_X710_BACKPLANE: "8086 1581 154c" Intel_i40e_10G_X710_BASE_T: "8086 15ff 154c" @@ -16,6 +17,7 @@ data: Intel_ice_Columbiaville_E810-XXVDA4: "8086 1593 1889" Intel_ice_Columbiaville_E810-XXVDA2: "8086 159b 1889" Intel_ice_Columbiaville_E810: "8086 1591 1889" + Intel_ice_Columbiapark_E823C: "8086 188a 1889" Nvidia_mlx5_ConnectX-4: "15b3 1013 1014" Nvidia_mlx5_ConnectX-4LX: "15b3 1015 1016" Nvidia_mlx5_ConnectX-5: "15b3 1017 1018" @@ -30,6 +32,7 @@ data: Broadcom_bnxt_BCM75508_2x100G: "14e4 1750 1806" Qlogic_qede_QL45000_50G: "1077 1654 1664" Red_Hat_Virtio_network_device: "1af4 1000 1000" + Red_Hat_Virtio_1_0_network_device: "1af4 1041 1041" Marvell_OCTEON_TX2_CN96XX: "177d b200 b203" Marvell_OCTEON_TX2_CN98XX: "177d b100 b103" Marvell_OCTEON_Fusion_CNF95XX: "177d b600 b603"