// Module included in the following assemblies:
//
// * networking/hardware_networks/configuring-hardware-offloading.adoc

:_mod-docs-content-type: PROCEDURE
[id="nw-sriov-hwol-configuring-systemd-mode_{context}"]
= Setting the SR-IOV Network Operator into systemd mode

[role="_abstract"]
To support hardware offloading, you must first set the SR-IOV Network Operator into `systemd` mode.

.Prerequisites

* You installed the OpenShift CLI (`oc`).
* You have access to the cluster as a user that has the `cluster-admin` role.

.Procedure

. Create a `SriovOperatorConfig` custom resource (CR) to deploy all the SR-IOV Operator components:

.. Create a file named `sriovOperatorConfig.yaml` that contains the following YAML:
+
[source,yaml]
----
apiVersion: sriovnetwork.openshift.io/v1
kind: SriovOperatorConfig
metadata:
  name: default
  namespace: openshift-sriov-network-operator
spec:
  enableInjector: true
  enableOperatorWebhook: true
  configurationMode: "systemd"
  logLevel: 2
----
+
--
* The only valid name for the `SriovOperatorConfig` resource is `default` and it must be in the namespace where the Operator is deployed.
* Setting the SR-IOV Network Operator into `systemd` mode is only relevant for Open vSwitch hardware offloading.
--

.. Create the resource by running the following command:
+
[source,terminal]
----
$ oc apply -f sriovOperatorConfig.yaml
----