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

rollandf / sriov-network-operator / 29414112167

15 Jul 2026 12:07PM UTC coverage: 63.196% (-0.03%) from 63.221%
29414112167

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

867 existing lines in 8 files now uncovered.

10591 of 16759 relevant lines covered (63.2%)

0.71 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

81.01
/controllers/generic_network_controller.go


Source Not Available

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