OSDN Git Service

net/mlx5: Accel, add TLS rx offload routines
authorBoris Pismenny <borisp@mellanox.com>
Fri, 13 Jul 2018 11:33:46 +0000 (14:33 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Jul 2018 07:13:11 +0000 (00:13 -0700)
commitab412e1dd7db132c2abeb9385b4bf0dc8e6c5a65
treea81f60e231ee6ac97d7df430c7e63cbea6746d78
parent0aadb2fc092910b6db0038b377e130b905ba17e0
net/mlx5: Accel, add TLS rx offload routines

In Innova TLS, TLS contexts are added or deleted
via a command message over the SBU connection.
The HW then sends a response message over the same connection.

Complete the implementation for Innova TLS (FPGA-based) hardware by
adding support for rx inline crypto offload.

Signed-off-by: Boris Pismenny <borisp@mellanox.com>
Signed-off-by: Ilya Lesokhin <ilyal@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/accel/tls.c
drivers/net/ethernet/mellanox/mlx5/core/accel/tls.h
drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.c
drivers/net/ethernet/mellanox/mlx5/core/fpga/tls.h
include/linux/mlx5/mlx5_ifc_fpga.h