net/mlx5e: Use kzalloc() in mlx5e_accel_fs_tcp_create()
authorYueHaibing <yuehaibing@huawei.com>
Thu, 10 Nov 2022 13:43:19 +0000 (21:43 +0800)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 11 Jan 2023 05:24:43 +0000 (21:24 -0800)
commit96c31b5b2caecae2eebb1ed0fba5dc082b2fb740
tree5fcce93e8cde7288dead1797e66fcf607482dd77
parent4238654ce166bb6534379ecc08a2cd5d69055f48
net/mlx5e: Use kzalloc() in mlx5e_accel_fs_tcp_create()

'accel_tcp' is allocted by kvzalloc() now, which is a small chunk.
Use kzalloc() directly instead of kvzalloc().

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/fs_tcp.c