From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH v8 1/2] ethdev: Add a new event type to notify a queue state changed event Date: Sat, 6 Feb 2016 12:57:29 +0800 Message-ID: <20160206045729.GH22958@yliu-dev.sh.intel.com> References: <1454570791-19131-3-git-send-email-mukawa@igel.co.jp> <1454671693-3886-2-git-send-email-mukawa@igel.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, ann.zhuangyanying@huawei.com To: Tetsuya Mukawa Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 886BD688E for ; Sat, 6 Feb 2016 05:55:19 +0100 (CET) Content-Disposition: inline In-Reply-To: <1454671693-3886-2-git-send-email-mukawa@igel.co.jp> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Feb 05, 2016 at 08:28:12PM +0900, Tetsuya Mukawa wrote: > This patch adds a below event type. > - RTE_ETH_EVENT_QUEUE_STATE_CHANGE > This event is used for notifying a queue state changed event. > > Signed-off-by: Tetsuya Mukawa > Acked-by: Ferruh Yigit > --- > lib/librte_ether/rte_ethdev.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h > index 8710dd7..2fbf42a 100644 > --- a/lib/librte_ether/rte_ethdev.h > +++ b/lib/librte_ether/rte_ethdev.h > @@ -2661,6 +2661,8 @@ rte_eth_tx_burst(uint8_t port_id, uint16_t queue_id, > enum rte_eth_event_type { > RTE_ETH_EVENT_UNKNOWN, /**< unknown event type */ > RTE_ETH_EVENT_INTR_LSC, /**< lsc interrupt event */ > + RTE_ETH_EVENT_QUEUE_STATE_CHANGE, > + /**< queue state changed interrupt */ Though it's defined to be a generic event, you might need to note in the comment that vhost-pmd is the only user so far. Anyway, it looks good to me: Reviewed-by: Yuanhan Liu --yliu