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)
Sat, Jun 22, 7:13 AM
Unknown Object (File)
Thu, Jun 13, 6:24 PM
Unknown Object (File)
Wed, May 29, 11:55 AM
Unknown Object (File)
Mon, May 27, 2:07 AM
Unknown Object (File)
Apr 28 2024, 5:41 AM
Unknown Object (File)
Apr 16 2024, 3:19 PM
Unknown Object (File)
Jan 2 2024, 5:39 AM
Unknown Object (File)
Dec 22 2023, 11:23 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