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
F175816744: D32206.id95866.diff
Tue, Oct 13, 2:56 PM
Unknown Object (File)
Mon, Oct 12, 9:29 PM
Unknown Object (File)
Sun, Oct 11, 7:39 PM
Unknown Object (File)
Tue, Oct 6, 5:49 PM
Unknown Object (File)
Sun, Oct 4, 1:02 PM
Unknown Object (File)
Thu, Oct 1, 4:57 AM
Unknown Object (File)
Sun, Sep 27, 12:21 PM
Unknown Object (File)
Sep 11 2026, 8:06 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