]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
mlx5: Implement flow steering helper functions for TCP sockets.
authorHans Petter Selasky <hselasky@FreeBSD.org>
Tue, 8 Feb 2022 15:08:53 +0000 (16:08 +0100)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Tue, 8 Feb 2022 15:08:53 +0000 (16:08 +0100)
commit26b0e75d64d02505f8d1eb7d1f9750e3e37e9f91
treeb5d3623a6697da57f026e4e0c7d8660364055fc2
parent513a6d84e913d99925a989e86ce1a0e0a30f4bdd
mlx5: Implement flow steering helper functions for TCP sockets.

This change adds convenience functions to setup a flow steering rule based on
a TCP socket. The helper function gets all the address information from the
socket and returns a steering rule, to be used with HW TLS RX offload.

Sponsored by: NVIDIA Networking

(cherry picked from commit 2c0ade806aa7b450dc4f4c53b5345050eb6dcb4b)
sys/conf/files
sys/dev/mlx5/device.h
sys/dev/mlx5/mlx5_core/fs_tcp.h [new file with mode: 0644]
sys/dev/mlx5/mlx5_core/mlx5_fs_tcp.c [new file with mode: 0644]
sys/dev/mlx5/mlx5_en/en.h
sys/dev/mlx5/mlx5_en/mlx5_en_flow_table.c
sys/dev/mlx5/mlx5_ifc.h
sys/modules/mlx5/Makefile