Skip to content

Commit

Permalink
net/mlx5: HWS, log the unsupported mask in definer
Browse files Browse the repository at this point in the history
If a user requested to match on an unsupported combination of fields,
print the unsupported combination in the error message.

Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Reviewed-by: Vlad Dogaru <vdogaru@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/1741780194-137519-4-git-send-email-tariqt@nvidia.com
Reviewed-by: Dawid Osuchowski <dawid.osuchowski@linux.intel.com>
Reviewed-by: Michal Kubiak <michal.kubiak@intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
  • Loading branch information
Yevgeny Kliteynik authored and Paolo Abeni committed Mar 19, 2025
1 parent 1a403ad commit 8389f2d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,8 @@ hws_definer_check_match_flags(struct mlx5hws_definer_conv_data *cd)
return 0;

err_conflict:
mlx5hws_err(cd->ctx, "Invalid definer fields combination\n");
mlx5hws_err(cd->ctx, "Invalid definer fields combination: match_flags = 0x%08x\n",
cd->match_flags);
return -EINVAL;
}

Expand Down

0 comments on commit 8389f2d

Please sign in to comment.