net/mlx4: fix no Rx interrupts
authorMoti Haimovsky <motih@mellanox.com>
Wed, 25 Oct 2017 15:37:27 +0000 (18:37 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 26 Oct 2017 23:05:55 +0000 (01:05 +0200)
commit62e96ffb93adc149f4c4d34d4819a12c651343cd
treeb34b1da4f57a843ebbe235609a51c42802701657
parent096134582c4e505d95228ef640741d2aacca2e6f
net/mlx4: fix no Rx interrupts

This commit addresses the issue of Rx interrupts support with
the new Rx datapath introduced in DPDK version 17.11.
In order to generate an Rx interrupt an event queue is armed with the
consumer index of the Rx completion queue. Since version 17.11 this
index is handled by the PMD so it is now the responsibility of the
PMD to write this value when enabling Rx interrupts.

Fixes: 6681b845034c ("net/mlx4: add Rx bypassing Verbs")

Signed-off-by: Moti Haimovsky <motih@mellanox.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx4/mlx4_intr.c
drivers/net/mlx4/mlx4_prm.h
drivers/net/mlx4/mlx4_rxq.c