Page MenuHomeFreeBSD

mlx5ib: mlx5_ib_create_flow returns error if udata is NULL
Needs ReviewPublic

Authored by vag.singh_oneconvergence.com on Sep 28 2021, 2:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 11, 1:26 AM
Unknown Object (File)
Fri, Dec 5, 12:56 AM
Unknown Object (File)
Wed, Nov 26, 1:24 AM
Unknown Object (File)
Fri, Nov 21, 2:07 PM
Unknown Object (File)
Oct 28 2025, 1:43 PM
Unknown Object (File)
Oct 26 2025, 11:16 PM
Unknown Object (File)
Oct 26 2025, 1:18 PM
Unknown Object (File)
Oct 22 2025, 9:58 PM

Details

Reviewers
kib
hselasky
Summary

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

In mlx5_ib_create_flow if udata is NULL, it returns error,
because of this, MLX5 test-pmd fails to launch.
The Linux code does not return error if udata is NULL.
This fix brings in the same behaviour.

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