• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rollandf / sriov-network-operator / 29734761817
63%
master: 64%

Build:
Build:
LAST BUILD BRANCH: ddi-267
DEFAULT BRANCH: master
Ran 20 Jul 2026 10:34AM UTC
Jobs 1
Files 111
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Jul 2026 10:20AM UTC coverage: 62.955% (+0.1%) from 62.806%
29734761817

push

github

rollandf
mellanox: enable DDI on VFs via VFConfigHook

Add a VFConfigHook extension point to SriovInterface that vendor plugins
can register to inject per-VF logic after unbind. The Mellanox plugin
registers MellanoxVFHook, which enables DDI (Data Direct Interface) on
VFs whose PF is configured with flow_steering_mode=hmfs (Spectrum-X).

The hook loads the fwctl/mlx5_fwctl kernel modules if absent, then calls
doca_mgmt_data_direct set. Unsupported NICs (no fwctl sysfs entry or
firmware rejection) are soft-skipped without failing the SR-IOV flow.

doca_mgmt_data_direct is compiled from the DOCA samples bundled in the
base image and copied into the NVIDIA config-daemon container image.
No CRD changes are required; the existing flow_steering_mode=hmfs
devlink param serves as the DDI opt-in signal.

Signed-off-by: Fred Rolland <frolland@nvidia.com>

46 of 238 new or added lines in 9 files covered. (19.33%)

873 existing lines in 8 files now uncovered.

10606 of 16847 relevant lines covered (62.95%)

0.7 hits per line

Uncovered Changes

Lines Coverage ∆ File
144
5.88
0.0% pkg/plugins/mellanox/vf_hook.go
16
53.21
0.0% pkg/helper/mock/mock_helper.go
16
38.71
0.0% pkg/utils/mock/mock_utils.go
8
38.37
0.0% pkg/host/mock/mock_host.go
6
68.0
0.0% pkg/host/internal/sriov/sriov.go
2
43.62
0.0% pkg/utils/utils.go

Coverage Regressions

Lines Coverage ∆ File
271
68.0
0.0% pkg/host/internal/sriov/sriov.go
268
53.21
0.0% pkg/helper/mock/mock_helper.go
262
38.37
0.0% pkg/host/mock/mock_host.go
27
74.32
0.0% controllers/sriovoperatorconfig_controller.go
20
89.23
0.0% pkg/plugins/mellanox/mellanox_plugin.go
16
43.62
0.0% pkg/utils/utils.go
8
62.96
0.0% pkg/vars/vars.go
1
66.96
-0.45% controllers/drain_controller_helper.go
Jobs
ID Job ID Ran Files Coverage
1 29734761817.1 20 Jul 2026 10:34AM UTC 111
62.95
GitHub Action Run
Source Files on build 29734761817
  • Tree
  • List 111
  • Changed 7
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29734761817
  • c2d8c967 on github
  • Prev Build on ddi-267 (#29732427989)
  • Next Build on ddi-267 (#29738572476)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc