net/ixgbe/base: factorize mailbox write needing ack
authorXiao Wang <xiao.w.wang@intel.com>
Sun, 25 Sep 2016 09:00:04 +0000 (17:00 +0800)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 30 Sep 2016 10:27:18 +0000 (12:27 +0200)
commit89763bb9243373ef8ce830d800328a9ebc16c8f5
tree92485ecbf7ff5eb433aae51cf1a4c1dee82edbb7
parent1eb4050817d4e57523bff836baf572ee7e982ca9
net/ixgbe/base: factorize mailbox write needing ack

ixgbevf_write_msg_read_ack() is now performing mailbox write and read,
so this patch use this function to commonize mailbox write and read.

Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ixgbe/base/ixgbe_vf.c