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)
Wed, Aug 12, 2:44 PM
Unknown Object (File)
Tue, Aug 11, 1:49 PM
Unknown Object (File)
Tue, Aug 11, 7:10 AM
Unknown Object (File)
Mon, Aug 10, 10:12 AM
Unknown Object (File)
Sun, Aug 9, 3:51 AM
Unknown Object (File)
Sat, Aug 8, 12:55 PM
Unknown Object (File)
Sat, Aug 8, 12:52 AM
Unknown Object (File)
Thu, Aug 6, 7:44 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