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 50aa92e commit fc4c53fCopy full SHA for fc4c53f
drivers/net/ethernet/mellanox/mlx5/core/vport.c
@@ -276,7 +276,7 @@ int mlx5_query_nic_vport_mac_list(struct mlx5_core_dev *dev,
276
req_list_size = max_list_size;
277
}
278
279
- out_sz = MLX5_ST_SZ_BYTES(query_nic_vport_context_in) +
+ out_sz = MLX5_ST_SZ_BYTES(query_nic_vport_context_out) +
280
req_list_size * MLX5_ST_SZ_BYTES(mac_address_layout);
281
282
out = kzalloc(out_sz, GFP_KERNEL);
0 commit comments