net/mlx5: HWS, log the unsupported mask in definer

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>
This commit is contained in:
Yevgeny Kliteynik 2025-03-12 13:49:54 +02:00 committed by Paolo Abeni
parent 1a403ad383
commit 8389f2de90

View File

@ -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;
}