[dpdk-dev] [PATCH v5 1/6] ethdev: add rx interrupt enable/disable functions

2015-02-24 Thread Zhou Danny
v5 changes - Rebase the patchset onto the HEAD v4 changes - Export interrupt enable/disable functions for shared libraries - Put new functions at the end of eth_dev_ops to avoid breaking ABI v3 changes - Add return value for interrupt enable/disable functions Add two dev_ops functions to enable

[dpdk-dev] [PATCH v5 1/6] ethdev: add rx interrupt enable/disable functions

2015-02-23 Thread Zhou, Danny
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Tuesday, February 24, 2015 12:59 AM > To: Zhou, Danny > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v5 1/6] ethdev: add rx interrupt > enable/disable functions >

[dpdk-dev] [PATCH v5 1/6] ethdev: add rx interrupt enable/disable functions

2015-02-23 Thread Stephen Hemminger
On Tue, 24 Feb 2015 00:55:37 +0800 Zhou Danny wrote: > +int > +rte_eth_dev_rx_queue_intr_enable(uint8_t port_id, > + uint16_t queue_id) > +{ > + struct rte_eth_dev *dev; > + > + if (port_id >= nb_ports) { > + PMD_DEBUG_TRACE("Invalid port_id=%d\n",