net/mlx5: DR, Replace CRC32 implementation to use kernel lib
authorHamdan Igbaria <hamdani@mellanox.com>
Sun, 8 Sep 2019 10:46:25 +0000 (13:46 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 1 Nov 2019 21:55:14 +0000 (14:55 -0700)
commit40416d8ede651d26ce334f496a336aa1d38d1c97
tree8ba316ce4e857a9e4b208d90690d285a8f075f46
parent52340b82cf1a9c8d466b6e36a0881bc44174b969
net/mlx5: DR, Replace CRC32 implementation to use kernel lib

Use kernel function to calculate crc32 Instead of dr implementation
since it has the same algorithm "slice by 8".

Fixes: 26d688e33f88 ("net/mlx5: DR, Add Steering entry (STE) utilities")
Signed-off-by: Hamdan Igbaria <hamdani@mellanox.com>
Reviewed-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/Makefile
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_crc32.c [deleted file]
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_domain.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h