git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/mlx5: fix flow director mask
[dpdk.git]
/
examples
/
l2fwd-crypto
/
main.c
diff --git
a/examples/l2fwd-crypto/main.c
b/examples/l2fwd-crypto/main.c
index
b1ad192
..
f4e3e0b
100644
(file)
--- a/
examples/l2fwd-crypto/main.c
+++ b/
examples/l2fwd-crypto/main.c
@@
-1474,8
+1474,8
@@
l2fwd_crypto_default_options(struct l2fwd_crypto_options *options)
options->aead_iv_random_size = -1;
options->aead_iv.length = 0;
options->aead_iv_random_size = -1;
options->aead_iv.length = 0;
- options->a
uth
_xform.aead.algo = RTE_CRYPTO_AEAD_AES_GCM;
- options->a
uth
_xform.aead.op = RTE_CRYPTO_AEAD_OP_ENCRYPT;
+ options->a
ead
_xform.aead.algo = RTE_CRYPTO_AEAD_AES_GCM;
+ options->a
ead
_xform.aead.op = RTE_CRYPTO_AEAD_OP_ENCRYPT;
options->aad_param = 0;
options->aad_random_size = -1;
options->aad_param = 0;
options->aad_random_size = -1;
@@
-2311,7
+2311,7
@@
initialize_ports(struct l2fwd_crypto_options *options)
{
uint16_t last_portid = 0, portid;
unsigned enabled_portcount = 0;
{
uint16_t last_portid = 0, portid;
unsigned enabled_portcount = 0;
- unsigned nb_ports = rte_eth_dev_count();
+ unsigned nb_ports = rte_eth_dev_count
_avail
();
if (nb_ports == 0) {
printf("No Ethernet ports - bye\n");
if (nb_ports == 0) {
printf("No Ethernet ports - bye\n");