X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Fsecurity%2Frte_security.h;h=2a43cbe811a7c7c605e142f3dfd4a01bbcf5f1bf;hb=e7a7add13a0cd2eb64f62502cad005a97d8e3ee2;hp=1228b6c8b16d3433cc1beab4d60cf491e344e1fb;hpb=daa02b5cddbb8e11b31d41e2bf7bb1ae64dcae2f;p=dpdk.git diff --git a/lib/security/rte_security.h b/lib/security/rte_security.h index 1228b6c8b1..2a43cbe811 100644 --- a/lib/security/rte_security.h +++ b/lib/security/rte_security.h @@ -23,10 +23,7 @@ extern "C" { #include #include #include -#include #include -#include -#include /** IPSec protocol mode */ enum rte_security_ipsec_sa_mode { @@ -264,6 +261,19 @@ struct rte_security_ipsec_sa_options { */ uint32_t l4_csum_enable : 1; + /** Enable IP reassembly on inline inbound packets. + * + * * 1: Enable driver to try reassembly of encrypted IP packets for + * this SA, if supported by the driver. This feature will work + * only if user has successfully set IP reassembly config params + * using rte_eth_ip_reassembly_conf_set() for the inline Ethernet + * device. PMD need to register mbuf dynamic fields using + * rte_eth_ip_reassembly_dynfield_register() and security session + * creation would fail if dynfield is not registered successfully. + * * 0: Disable IP reassembly of packets (default). + */ + uint32_t ip_reassembly_en : 1; + /** Reserved bit fields for future extension * * User should ensure reserved_opts is cleared as it may change in @@ -271,7 +281,7 @@ struct rte_security_ipsec_sa_options { * * Note: Reduce number of bits in reserved_opts for every new option. */ - uint32_t reserved_opts : 18; + uint32_t reserved_opts : 17; }; /** IPSec security association direction */