net/mlx5: DR, Alloc cmd buffer with kvzalloc() instead of kzalloc()
authorRoi Dayan <roid@nvidia.com>
Mon, 15 Mar 2021 08:22:51 +0000 (10:22 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 14 Apr 2021 18:02:55 +0000 (11:02 -0700)
commitb7f86258a26402e5dd6b492b1d523e1b1bde34ec
treed9cf5a4a8cfed4e5567d5f0416322df276ce889c
parent9dac2966c531365d9cd1fb33d8d3a70cec349e35
net/mlx5: DR, Alloc cmd buffer with kvzalloc() instead of kzalloc()

The cmd size is 8K so use kvzalloc().

Signed-off-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c