net/ixgbevf: save interrupt mask for performance
authorTonghao Zhang <xiangxia.m.yue@gmail.com>
Sat, 28 Apr 2018 03:03:40 +0000 (20:03 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 May 2018 21:31:49 +0000 (22:31 +0100)
commit87ff0be1888fc53c5916003c722551cfa4eb9efb
tree6aa9cbd59a01552e67ae7d743610ec12a04463e8
parent5ac00830d40c9a19201746e317c016c82580ae8e
net/ixgbevf: save interrupt mask for performance

If dpdk APPs call the rte_eth_dev_rx_intr_enable or
rte_eth_dev_rx_intr_disable frequently, and ixgbe vf will read
the IXGBE_VTEIMS register everytime. The patch saves the IXGBE_VTEIMS
to mask to avoid read frequently.

Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
Acked-by: Wei Dai <wei.dai@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c