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

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

Build:
Build:
LAST BUILD BRANCH: ddi-267
DEFAULT BRANCH: master
Ran 15 Jul 2026 10:46AM 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

15 Jul 2026 10:33AM UTC coverage: 63.221% (-0.02%) from 63.241%
29408525884

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>

25 of 134 new or added lines in 5 files covered. (18.66%)

862 existing lines in 8 files now uncovered.

10587 of 16746 relevant lines covered (63.22%)

0.71 hits per line

Uncovered Changes

Lines Coverage ∆ File
93
0.0
0.0% pkg/plugins/mellanox/vf_hook.go
8
38.37
0.0% pkg/host/mock/mock_host.go
6
67.95
0.0% pkg/host/internal/sriov/sriov.go
2
88.21
0.0% pkg/plugins/mellanox/mellanox_plugin.go

Coverage Regressions

Lines Coverage ∆ File
282
67.95
0.0% pkg/host/internal/sriov/sriov.go
280
54.03
0.0% pkg/helper/mock/mock_helper.go
262
38.37
0.0% pkg/host/mock/mock_host.go
21
88.21
0.0% pkg/plugins/mellanox/mellanox_plugin.go
9
69.32
-1.01% controllers/sriovnetworknodepolicy_controller.go
5
72.92
-5.21% pkg/daemon/status.go
2
85.47
-1.71% pkg/utils/cluster.go
1
65.59
-0.25% controllers/helper.go
Jobs
ID Job ID Ran Files Coverage
1 29408525884.1 15 Jul 2026 10:46AM UTC 111
63.22
GitHub Action Run
Source Files on build 29408525884
  • Tree
  • List 111
  • Changed 8
  • Source Changed 1
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29408525884
  • 6431453f on github
  • Prev Build on ddi-267 (#29406477821)
  • Next Build on ddi-267 (#29414112167)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc