Hi Olivier,
On 10/25/2017 3:08 PM, Olivier MATZ wrote:
On Tue, Oct 24, 2017 at 07:45:39PM +0530, Akhil Goyal wrote:
From: Boris Pismenny <[email protected]>
Add security crypto flags and update mbuf fields to support
IPsec crypto offload for transmitted packets, and to indicate
crypto result for received packets.
Signed-off-by: Aviad Yehezkel <[email protected]>
Signed-off-by: Boris Pismenny <[email protected]>
Signed-off-by: Radu Nicolau <[email protected]>
[...]
--- a/lib/librte_mbuf/rte_mbuf.h
+++ b/lib/librte_mbuf/rte_mbuf.h
@@ -189,11 +189,26 @@ extern "C" {
*/
#define PKT_RX_TIMESTAMP (1ULL << 17)
+/**
+ * Indicate that security offload processing was applied on the RX packet.
+ */
+#define PKT_RX_SEC_OFFLOAD (1ULL << 18)
+
+/**
+ * Indicate that security offload processing failed on the RX packet.
+ */
+#define PKT_RX_SEC_OFFLOAD_FAILED (1ULL << 19)
+
in case you do a v6, please fix the alignment, else we'll
fix it globally in another patch later.
Acked-by: Olivier Matz <[email protected]>
will fix the alignment of the defines made in this patch.
Thanks,
Akhil