We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e13cd7 commit ddb38ddCopy full SHA for ddb38dd
drivers/net/ethernet/mellanox/mlx5/core/vport.c
@@ -277,7 +277,7 @@ int mlx5_query_nic_vport_mac_list(struct mlx5_core_dev *dev,
277
req_list_size = max_list_size;
278
}
279
280
- out_sz = MLX5_ST_SZ_BYTES(query_nic_vport_context_in) +
+ out_sz = MLX5_ST_SZ_BYTES(query_nic_vport_context_out) +
281
req_list_size * MLX5_ST_SZ_BYTES(mac_address_layout);
282
283
out = kvzalloc(out_sz, GFP_KERNEL);
0 commit comments