OSDN Git Service

net/mlx5: Accel, add common metadata functions
authorBoris Pismenny <borisp@mellanox.com>
Fri, 13 Jul 2018 11:33:51 +0000 (14:33 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Jul 2018 07:13:11 +0000 (00:13 -0700)
commit10e71acca28262a9db47ce9b0a10dcd8b38bbdeb
tree377d6b367c0de4eb20810c54f62f81ef2b5e5ba9
parent790af90c00d277b7fc8bd2ba18fcfa40941bf134
net/mlx5: Accel, add common metadata functions

This patch adds common functions to handle mellanox metadata headers.
These functions are used by IPsec and TLS to process FPGA metadata.

Signed-off-by: Boris Pismenny <borisp@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/accel/accel.h [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c
drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c