commit | 68ec32daf7d50a9f7425f8607a7402c13aa0c587 | [log] [tgz] |
---|---|---|
author | Wang Hai <wanghai38@huawei.com> | Sat Nov 14 19:52:23 2020 +0800 |
committer | Saeed Mahameed <saeedm@nvidia.com> | Tue Nov 17 11:50:54 2020 -0800 |
tree | df19fc020aa20245f169f06b604a410a2c5aa912 | |
parent | 5b8631c7b21ca8bc039f0bc030048973b039e0d2 [diff] |
net/mlx5: fix error return code in mlx5e_tc_nic_init() Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes: aedd133d17bc ("net/mlx5e: Support CT offload for tc nic flows") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wang Hai <wanghai38@huawei.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>