numam-dpdk/examples
Akhil Goyal 2a5106af13 examples/ipsec-secgw: fix corner case for SPI value
IPSec application is using index 0 of SA table as error,
with current value of IPSEC_SA_MAX_ENTRIES(128) it can
not support SA with spi = 128, as it uses sa_idx = 0
in the SA table.

With this patch, sa_idx = 0 can also be used.

PS: spi = 0 is an invalid SPI and application throws error
for it.

Fixes: d299106e8e ("examples/ipsec-secgw: add IPsec sample application")
Cc: stable@dpdk.org

Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
Acked-by: Radu Nicolau <radu.nicolau@intel.com>
2018-01-20 16:10:52 +01:00
..
bbdev_app examples/bbdev: add sample app 2018-01-19 01:44:25 +01:00
bond examples/bond: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
cmdline examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
distributor examples/distributor: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
ethtool examples/ethtool: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
eventdev_pipeline examples/eventdev: rename example 2018-01-19 16:09:56 +01:00
exception_path examples/exception_path: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
flow_classify examples/flow_classify: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
flow_filtering examples/flow_filtering: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
helloworld examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ip_fragmentation examples/ip_fragmentation: convert to new offloads API 2018-01-16 18:47:49 +01:00
ip_pipeline examples/ip_pipeline: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
ip_reassembly examples/ip_reassembly: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
ipsec-secgw examples/ipsec-secgw: fix corner case for SPI value 2018-01-20 16:10:52 +01:00
ipv4_multicast examples/ipv4_multicast: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
kni examples/kni: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
l2fwd examples/l2fwd: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
l2fwd-cat examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
l2fwd-crypto examples/l2fwd-crypto: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
l2fwd-jobstats examples/l2fwd-jobstats: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
l2fwd-keepalive examples/l2fwd-keepalive: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
l3fwd examples/l3fwd: convert to ethdev offloads API 2018-01-16 18:47:49 +01:00
l3fwd-acl log: remove log level config option 2018-01-17 14:21:46 +01:00
l3fwd-power examples/l3fwd-power: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
l3fwd-vf examples/l3fwd-vf: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
link_status_interrupt examples/link_status_interrupt: convert to new offloads API 2018-01-16 18:47:49 +01:00
load_balancer examples/load_balancer: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
multi_process examples/multi_process: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
netmap_compat examples/netmap_compat: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
packet_ordering examples/packet_ordering: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
performance-thread examples/performance-thread: convert to new offloads API 2018-01-16 18:47:49 +01:00
ptpclient examples/ptpclient: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
qos_meter examples/qos_meter: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
qos_sched examples/qos_sched: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
quota_watermark examples/quota_watermark: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
rxtx_callbacks examples/rxtx_callbacks: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
server_node_efd examples/server_node_efd: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
service_cores examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
skeleton examples/skeleton: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
tep_termination examples/tep_termination: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
timer examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
vhost examples/vhost: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
vhost_scsi vhost: introduce vring call API 2018-01-16 18:47:49 +01:00
vm_power_manager examples/vm_power_manager: convert to new offloads API 2018-01-16 18:47:49 +01:00
vmdq examples/vmdq: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
vmdq_dcb examples/vmdq_dcb: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
Makefile examples/eventdev: rename example 2018-01-19 16:09:56 +01:00