All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net/ixgbe: fix Rx/Tx queue interrupt for x550 devices
@ 2017-07-17  5:34 Qiming Yang
  2017-07-17  6:09 ` Yang, Zhiyong
  2017-07-18  2:28 ` [PATCH v2] " Qiming Yang
  0 siblings, 2 replies; 6+ messages in thread
From: Qiming Yang @ 2017-07-17  5:34 UTC (permalink / raw)
  To: dev; +Cc: stable, wenzhuo.lu, Qiming Yang

x550 devices not do interrupt vector mapping before
enable Rx/Tx queue interrupt, makes interrupt mode
can't work neither with igb_uio or VFIO.

Fixes: d2e72774e58c ("ixgbe/base: support X550")

Signed-off-by: Qiming Yang <qiming.yang@intel.com>
---
 drivers/net/ixgbe/ixgbe_ethdev.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index 9b06ac1..8432482 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/ixgbe/ixgbe_ethdev.c
@@ -5611,7 +5611,8 @@ ixgbe_set_ivar_map(struct ixgbe_hw *hw, int8_t direction,
 		tmp |= (msix_vector << (8 * (queue & 0x3)));
 		IXGBE_WRITE_REG(hw, IXGBE_IVAR(idx), tmp);
 	} else if ((hw->mac.type == ixgbe_mac_82599EB) ||
-			(hw->mac.type == ixgbe_mac_X540)) {
+			(hw->mac.type == ixgbe_mac_X540)
+			(hw->mac.type == ixgbe_mac_X550)) {
 		if (direction == -1) {
 			/* other causes */
 			idx = ((queue & 1) * 8);
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-07-19 10:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-17  5:34 [PATCH] net/ixgbe: fix Rx/Tx queue interrupt for x550 devices Qiming Yang
2017-07-17  6:09 ` Yang, Zhiyong
2017-07-18  2:27   ` Yang, Qiming
2017-07-18  2:28 ` [PATCH v2] " Qiming Yang
2017-07-19  9:22   ` Dai, Wei
2017-07-19 10:12     ` [dpdk-stable] " Ferruh Yigit

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.