git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
223d629
)
ethdev: add MACsec event type
author
Tiwei Bie
<tiwei.bie@intel.com>
Fri, 13 Jan 2017 11:21:37 +0000
(19:21 +0800)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Sun, 15 Jan 2017 18:16:03 +0000
(19:16 +0100)
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
patch
|
blob
|
history
diff --git
a/lib/librte_ether/rte_ethdev.h
b/lib/librte_ether/rte_ethdev.h
index
1c356c1
..
d5d2956
100644
(file)
--- 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 */
};