diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-01-10 07:30:53 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-10 15:54:36 -0500 |
commit | e213f5b6dd5d1a7ab6a5d11c851916e25fac7e49 (patch) | |
tree | 3c456694018ede302a459b03113fae2f41f5504d /include | |
parent | ea0a42109aee7b92e631c4eb3f2219fadf58acdd (diff) | |
download | linux-e213f5b6dd5d1a7ab6a5d11c851916e25fac7e49.tar.bz2 |
net/mlx5e: fix error return code in mlx5e_alloc_rq()
Fix to return a negative error code from the xdp_rxq_info_reg() error
handling case instead of 0, as done elsewhere in this function.
Fixes: 0ddf543226ac ("xdp/mlx5: setup xdp_rxq_info")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions