ethdev: add Rx interrupt control functions
authorCunming Liang <cunming.liang@intel.com>
Mon, 20 Jul 2015 03:02:26 +0000 (11:02 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 27 Jul 2015 21:13:57 +0000 (23:13 +0200)
commita201b45fb878faf3b6f73a84a4454fe199012760
tree649972f32c9adcd723208735af9633869f5d5854
parentb9e0662a931dfc1d2e29492de666e3ac3804868f
ethdev: add Rx interrupt control functions

The patch adds two dev_ops functions to enable and disable rx queue
interrupts.
In addition, it adds rte_eth_dev_rx_intr_ctl/rx_intr_q to support
per port or per queue rx intr event set.

Signed-off-by: Danny Zhou <danny.zhou@intel.com>
Signed-off-by: Cunming Liang <cunming.liang@intel.com>
lib/librte_ether/rte_ethdev.c
lib/librte_ether/rte_ethdev.h
lib/librte_ether/rte_ether_version.map