Page MenuHomeFreeBSD

mlx5/linuxkpi: Add MLX5_PCI_DEV_IS_VF to mlx5_core_pci_table
Needs ReviewPublic

Authored by vag.singh_oneconvergence.com on Sep 28 2021, 1:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 15, 6:42 AM
Unknown Object (File)
Fri, Oct 31, 8:58 PM
Unknown Object (File)
Oct 28 2025, 1:39 PM
Unknown Object (File)
Oct 28 2025, 3:30 AM
Unknown Object (File)
Oct 26 2025, 7:10 PM
Unknown Object (File)
Oct 26 2025, 4:48 PM
Unknown Object (File)
Oct 26 2025, 4:27 PM
Unknown Object (File)
Oct 26 2025, 8:55 AM

Details

Reviewers
kib
hselasky
Summary

[PATCH 11/31] FreeBSD OFED support for DPDK MLX5 PMD

The MLX5 core driver recognizes a VF device as a PF device
in FreeBSD VM, because mlx5_core_pci_table was not having VF
flag MLX5_PCI_DEV_IS_VF. Added MLX5_PCI_DEV_IS_VF flag in
mlx5_core_pci_table.

Updated PCI_VDEVICE macro in LinuxKPI for class and class_mask,
same as linux.

Test Plan

Tested on KVM, ESXi, and HyperV/Azure Hypervisors with FreeBSD 14.0-CURRENT and FreeBSD12.1-STABLE.

iperf
DPDK MLX5 PMD/testpmd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped