net/mlx5e: Add error flow for ethtool -X command
authorAya Levin <ayal@nvidia.com>
Mon, 30 Aug 2021 15:31:55 +0000 (18:31 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 24 Sep 2021 18:46:51 +0000 (11:46 -0700)
commit6c2509d4463640c4b91d5937b5b2ff5ca07f6567
treecde93ba018cbac190a0edd408a51effa52a74842
parentc228dce2622253aa9a7407b150230b6e1e28ab6e
net/mlx5e: Add error flow for ethtool -X command

Prior to this patch, ethtool -X fail but the user receives a success
status. Try to roll-back when failing and return success status
accordingly.

Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/rss.c