Page MenuHomeFreeBSD

IB/mlx5: Add tunneling offloads support
Needs ReviewPublic

Authored by vag.singh_oneconvergence.com on Sep 28 2021, 2:03 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)
Mon, May 27, 2:06 AM
Unknown Object (File)
Apr 28 2024, 5:42 AM
Unknown Object (File)
Apr 16 2024, 3:19 PM
Unknown Object (File)
Nov 7 2023, 6:03 PM
Unknown Object (File)
Oct 30 2023, 10:46 PM
Unknown Object (File)
Oct 25 2023, 11:08 PM

Details

Reviewers
kib
hselasky
Summary

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

a) The device can support receive Stateless Offloads for the inner
packet's fields only when the packet is processed by TIR which is
enabled to support tunneling. Otherwise, the device treats the
packet as an ordinary non-tunneling packet and receive offloads
can be done only for the outer packet's field.
In order to enable receive Stateless Offloading support for incoming
tunneling traffic the TIR should be created with tunneled_offload_en.
Tunneling offloads is supported only be raw ethernet QP.

This patch includes:

  • New QP creation flag for tunneling offloads.
  • Reports device capabilities.

b) IB/mlx5: Add support for RSS on the inner packet
Some user space application would like to do RSS on the inner
packet fields instead on the outer.
When MLX5_RX_HASH_INNER is set with one or more of the other
hash fields, then the RSS will be done using the inner packet.

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