aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorMaor Dickman <maord@nvidia.com>2023-02-08 17:44:06 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2023-02-24 10:13:19 -0800
commitd28a06d7dbedc598a06bd1e53a28125f87ca5d0c (patch)
tree2e2132d10616cddb85b68270686674fde1ee236b /scripts/gdb/linux
parent1bf8b0dae8dde6f02520a5ea34fdaa3b39342e69 (diff)
net/mlx5: Geneve, Fix handling of Geneve object id as error code
On success, mlx5_geneve_tlv_option_create returns non negative Geneve object id. In case the object id is positive value the caller functions will handle it as an error (non zero) and will fail to offload the Geneve rule. Fix this by changing caller function ,mlx5_geneve_tlv_option_add, to return 0 in case valid non negative object id was provided. Fixes: 0ccc171ea6a2 ("net/mlx5: Geneve, Manage Geneve TLV options") Signed-off-by: Maor Dickman <maord@nvidia.com> Reviewed-by: Raed Salem <raeds@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions