net/mlx5: fix return value in Rx interrupts code
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Wed, 14 Jun 2017 11:49:16 +0000 (13:49 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 6 Jul 2017 13:00:56 +0000 (15:00 +0200)
commitad883aa293f364a54671c6aef30f7c5121f6beb2
treef799ff27ccec3c96b3de3b7bc373008d44ebf8bc
parent9f91fb54831694a088ddc9e08cd643698560fa68
net/mlx5: fix return value in Rx interrupts code

A negative return value is documented for that function in case of error.

Fixes: 3c7d44af252a ("net/mlx5: support user space Rx interrupt event")
Cc: stable@dpdk.org
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx5/mlx5_rxq.c