net/e1000: fix mailbox interrupt handler
authorQi Zhang <qi.z.zhang@intel.com>
Wed, 27 Dec 2017 20:22:30 +0000 (15:22 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commitdd18b06a32833543c6951b6206ac39896eaac154
tree8dd9f0f9048dbe1ed2dd3157c3762c99662cd0fc
parent6810c6392656f05b3f9d45806a87ee683337a15b
net/e1000: fix mailbox interrupt handler

Mailbox interrupt handler only takecare of the PF reset notification,
for other message mbx->ops.read should not be called since it gets
chance to break the foreground VF to PF communication.

Fixes: 316f4f1adc2e ("net/igb: support VF mailbox interrupt for link up/down")
Cc: stable@dpdk.org
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Wei Dai <wei.dai@intel.com>
drivers/net/e1000/igb_ethdev.c