From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 322AEF8C0 for ; Wed, 4 Jan 2017 08:28:08 +0100 (CET) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP; 03 Jan 2017 23:28:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,458,1477983600"; d="scan'208";a="45558600" Received: from dpdk19.sh.intel.com ([10.239.129.113]) by orsmga004.jf.intel.com with ESMTP; 03 Jan 2017 23:28:05 -0800 From: Tiwei Bie To: dev@dpdk.org Cc: adrien.mazarguil@6wind.com, wenzhuo.lu@intel.com, john.mcnamara@intel.com, olivier.matz@6wind.com, thomas.monjalon@6wind.com, konstantin.ananyev@intel.com, helin.zhang@intel.com, wei.dai@intel.com, xiao.w.wang@intel.com Date: Wed, 4 Jan 2017 15:21:36 +0800 Message-Id: <1483514502-32841-3-git-send-email-tiwei.bie@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1483514502-32841-1-git-send-email-tiwei.bie@intel.com> References: <1482939691-34855-1-git-send-email-tiwei.bie@intel.com> <1483514502-32841-1-git-send-email-tiwei.bie@intel.com> Subject: [dpdk-dev] [PATCH v5 2/8] ethdev: reserve an event type for PMD-specific API X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2017 07:28:08 -0000 Reserve an event type, that can be used by PMD to define its own event type when implementing the PMD-specific API. Suggested-by: Adrien Mazarguil Signed-off-by: Tiwei Bie Acked-by: Wenzhuo Lu --- 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 fb51754..d465825 100644 --- a/lib/librte_ether/rte_ethdev.h +++ b/lib/librte_ether/rte_ethdev.h @@ -3044,6 +3044,8 @@ enum rte_eth_event_type { RTE_ETH_EVENT_INTR_RESET, /**< reset interrupt event, sent to VF on PF reset */ RTE_ETH_EVENT_VF_MBOX, /**< message from the VF received by PF */ + RTE_ETH_EVENT_RESERVED_0, + /**< reserved event type for PMD-specific API */ RTE_ETH_EVENT_MAX /**< max value of this enum */ }; -- 2.7.4