X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Fsample_app_ug%2Fipsec_secgw.rst;h=5ec9b1ed7062899963d1bda0be3e170f7b056fb2;hb=957394f726589f7e51362e58936e513de3cccb19;hp=c1e8a0bda210b68a4d2842ece90c1508f0e3f95a;hpb=bba1db3520ad450d9f884a4a024c0db39435ef48;p=dpdk.git diff --git a/doc/guides/sample_app_ug/ipsec_secgw.rst b/doc/guides/sample_app_ug/ipsec_secgw.rst index c1e8a0bda2..5ec9b1ed70 100644 --- a/doc/guides/sample_app_ug/ipsec_secgw.rst +++ b/doc/guides/sample_app_ug/ipsec_secgw.rst @@ -93,6 +93,7 @@ The application has a number of command line options:: ./build/ipsec-secgw [EAL options] -- -p PORTMASK -P -u PORTMASK -j FRAMESIZE -l -w REPLAY_WINOW_SIZE -e -a + -c SAD_CACHE_SIZE --config (port,queue,lcore)[,(port,queue,lcore] --single-sa SAIDX --rxoffload MASK @@ -132,6 +133,11 @@ Where: * ``-a``: enables Security Association sequence number atomic behavior (available only with librte_ipsec code path). +* ``-c``: specifies the SAD cache size. Stores the most recent SA in a per + lcore cache. Cache represents flat array containing SA's indexed by SPI. + Zero value disables cache. + Default value: 128. + * ``--config (port,queue,lcore)[,(port,queue,lcore)]``: determines which queues from which ports are mapped to which cores. @@ -158,7 +164,7 @@ Where: If packet is not reassembled within this time, received fragments will be discarded. Fragment lifetime should be decreased when there is a high fragmented traffic loss in high bandwidth networks. - Should be lower for for low number of reassembly buckets. + Should be lower for low number of reassembly buckets. Valid values: from 1 ns to 10 s. Default value: 10000000 (10 s). * ``--reassemble NUM``: max number of entries in reassemble fragment table. @@ -753,6 +759,11 @@ Also the user can optionally setup: * ``CRYPTO_DEV``: crypto device to be used ('-w '). If none specified appropriate vdevs will be created by the script +* ``MULTI_SEG_TEST``: ipsec-secgw option to enable reassembly support and + specify size of reassembly table (e.g. + ``MULTI_SEG_TEST='--reassemble 128'``). This option must be set for + fallback session tests. + Note that most of the tests require the appropriate crypto PMD/device to be available.