net/mlx5: fix Rx interrupts support checks
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Wed, 14 Jun 2017 11:49:15 +0000 (13:49 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 6 Jul 2017 13:00:56 +0000 (15:00 +0200)
commit9f91fb54831694a088ddc9e08cd643698560fa68
tree8c0cbcf13492c359f0351f1d05287fc113f488e4
parentb18042fb8f49b805579136f748cfe29e0cf18d25
net/mlx5: fix Rx interrupts support checks

Not exposing Rx interrupts callbacks when this feature is unsupported is
less intrusive than having two different versions for these functions.

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.c
drivers/net/mlx5/mlx5_rxq.c
drivers/net/mlx5/mlx5_rxtx.h