Page MenuHomeFreeBSD

libmlx5: Report if kernel allows using MPW in SQ
ClosedPublic

Authored by vag.singh_oneconvergence.com on Sep 28 2021, 1:58 PM.
Tags
None
Referenced Files
F173063080: D32194.diff
Wed, Sep 23, 7:16 AM
Unknown Object (File)
Mon, Sep 21, 8:45 AM
Unknown Object (File)
Thu, Sep 10, 10:26 PM
Unknown Object (File)
Tue, Sep 8, 8:35 PM
Unknown Object (File)
Tue, Sep 8, 3:41 PM
Unknown Object (File)
Sat, Sep 5, 2:46 PM
Unknown Object (File)
Sat, Sep 5, 1:51 PM
Unknown Object (File)
Sat, Sep 5, 2:44 AM

Details

Summary

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

a) Use flag MLX5DV_CONTEXT_FLAGS_MPW_ALLOWED to indicate hardware
supports multi packet WQE and it's enabled in SQ context.
Flag MLX5DV_CONTEXT_FLAGS_MPW is deprecated, shall not be used
in new applications.

b) Report if enhanced multi packet send WQE is supported through mlx5
direct verbs.

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

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Wed, Sep 16, 2:14 PM
This revision was automatically updated to reflect the committed changes.