]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: TLS, add Innova TLS rx data path
authorBoris Pismenny <borisp@mellanox.com>
Fri, 13 Jul 2018 11:33:48 +0000 (14:33 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Jul 2018 07:13:11 +0000 (00:13 -0700)
commit382b4695aa3b5146569f9e94bb500a0a68127d76
treeaec0829d6a19375e4b13ee5ceb766f1fc77968e3
parentc4131d647d8537d85360f025d3c820d64e383fe4
net/mlx5e: TLS, add Innova TLS rx data path

Implement the TLS rx offload data path according to the
requirements of the TLS generic NIC offload infrastructure.

Special metadata ethertype is used to pass information to
the hardware.

When hardware loses synchronization a special resync request
metadata message is used to request resync.

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/en_accel/tls_rxtx.c
drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.h
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c