numam-dpdk/examples
Pablo de Lara c64457cb11 examples/l2fwd-crypto: fix padding calculation
For padding calculation, it is necessary to know if algorithm
is a block cipher or stream cipher algorithm, and know the
block size for the algorithm.

In the application, this block size should be only the
cipher block size, but if authentication was used too,
it was being overwritten by the authentication block size,
which is not needed.

Fixes: 27cf2d1b18 ("examples/l2fwd-crypto: discover capabilities")
Cc: stable@dpdk.org

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
2017-04-20 11:32:45 +02:00
..
bond examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
cmdline examples: fix whitespace 2015-06-12 11:10:10 +02:00
distributor ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
ethtool mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
exception_path examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
helloworld tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
ip_fragmentation examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
ip_pipeline examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
ip_reassembly examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
ipsec-secgw examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
ipv4_multicast examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
kni examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
l2fwd examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
l2fwd-cat examples: fix optind reset 2017-03-10 15:38:47 +01:00
l2fwd-crypto examples/l2fwd-crypto: fix padding calculation 2017-04-20 11:32:45 +02:00
l2fwd-jobstats examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
l2fwd-keepalive examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
l3fwd examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
l3fwd-acl examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
l3fwd-power examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
l3fwd-vf examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
link_status_interrupt examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
load_balancer examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
multi_process examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
netmap_compat examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
packet_ordering ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
performance-thread examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
ptpclient examples: fix optind reset 2017-03-10 15:38:47 +01:00
qos_meter examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
qos_sched examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
quota_watermark examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
rxtx_callbacks apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
server_node_efd ring: return remaining entry count when dequeuing 2017-03-29 22:32:20 +02:00
skeleton apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
tep_termination examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
timer tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
vhost examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
vhost_xen examples: enable HW CRC strip by default 2017-04-10 22:36:37 +02:00
vm_power_manager examples/vm_power_manager: remove dependency on internal header 2016-07-11 17:23:32 +02:00
vmdq remove unused ring includes 2016-09-16 10:16:02 +02:00
vmdq_dcb remove unused ring includes 2016-09-16 10:16:02 +02:00
Makefile examples: enable build of performance-thread 2017-04-06 21:37:19 +02:00