# Run with SR-IOV

> Reserve SR-IOV virtual functions for a GitLab job.

Source: https://docs.realhw.dev/guides/run-with-sriov/
Documentation index: https://docs.realhw.dev/llms.txt

Request NIC capacity with tags, then reserve VFs with `HW_SRIOV_VF_COUNT`.

```yaml
sriov-tests:
  stage: test
  tags:
    - saas-linux-large-amd64
    - nic:tier:25g
  variables:
    HW_NIC_TIER: "25g"
    HW_SRIOV_VF_COUNT: "1"
  script:
    - ./run-sriov-tests.sh
```

Use this for jobs that need a VF assigned to the test container.
