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)
Mon, Nov 4, 7:08 AM
Unknown Object (File)
Sat, Oct 12, 7:05 PM
Unknown Object (File)
Oct 8 2024, 1:16 PM
Unknown Object (File)
Oct 3 2024, 10:15 AM
Unknown Object (File)
Oct 3 2024, 1:59 AM
Unknown Object (File)
Oct 1 2024, 8:30 AM
Unknown Object (File)
Sep 30 2024, 3:19 PM
Unknown Object (File)
Sep 10 2024, 7:49 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