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

rollandf / sriov-network-operator / 28736252733
62%
master: 63%

Build:
Build:
LAST BUILD BRANCH: ddi
DEFAULT BRANCH: master
Ran 05 Jul 2026 09:39AM UTC
Jobs 1
Files 109
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

05 Jul 2026 09:28AM UTC coverage: 62.196%. First build
28736252733

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 137 new or added lines in 5 files covered. (18.25%)

10087 of 16218 relevant lines covered (62.2%)

0.69 hits per line

Uncovered Changes

Lines Coverage ∆ File
96
0.0
pkg/plugins/mellanox/vf_hook.go
8
38.37
pkg/host/mock/mock_host.go
6
63.82
pkg/host/internal/sriov/sriov.go
2
88.21
pkg/plugins/mellanox/mellanox_plugin.go
Jobs
ID Job ID Ran Files Coverage
1 28736252733.1 05 Jul 2026 09:39AM UTC 109
62.2
GitHub Action Run
Source Files on build 28736252733
  • Tree
  • List 109
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28736252733
  • 123a0633 on github
  • 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