From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <tiwei.bie@intel.com>
Received: from mga06.intel.com (mga06.intel.com [134.134.136.31])
 by dpdk.org (Postfix) with ESMTP id D690869FC
 for <dev@dpdk.org>; Wed, 11 Jan 2017 05:37:57 +0100 (CET)
Received: from fmsmga006.fm.intel.com ([10.253.24.20])
 by orsmga104.jf.intel.com with ESMTP; 10 Jan 2017 20:37:57 -0800
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.33,345,1477983600"; d="scan'208";a="52463040"
Received: from dpdk19.sh.intel.com ([10.239.129.113])
 by fmsmga006.fm.intel.com with ESMTP; 10 Jan 2017 20:37:55 -0800
From: Tiwei Bie <tiwei.bie@intel.com>
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, 11 Jan 2017 12:31:34 +0800
Message-Id: <1484109098-8936-3-git-send-email-tiwei.bie@intel.com>
X-Mailer: git-send-email 2.7.4
In-Reply-To: <1484109098-8936-1-git-send-email-tiwei.bie@intel.com>
References: <1483514502-32841-1-git-send-email-tiwei.bie@intel.com>
 <1484109098-8936-1-git-send-email-tiwei.bie@intel.com>
Subject: [dpdk-dev] [PATCH v6 2/6] ethdev: add event type for MACsec
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jan 2017 04:37:58 -0000

This commit adds a below event type:

- RTE_ETH_EVENT_MACSEC

This event will occur when the PN counter in a MACsec connection
reaches the exhaustion threshold.

Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
---
 lib/librte_ether/rte_ethdev.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h
index 1c356c1..d5d2956 100644
--- a/lib/librte_ether/rte_ethdev.h
+++ b/lib/librte_ether/rte_ethdev.h
@@ -3188,6 +3188,7 @@ 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_MACSEC,   /**< MACsec offload related event */
 	RTE_ETH_EVENT_MAX       /**< max value of this enum */
 };
 
-- 
2.7.4