X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fl2fwd-crypto%2Fmain.c;h=664e0e0d2df118b02d80d9708689e16f5b501dca;hb=2c023071f6493c8a846ac61fa7d84ad94c8b42b8;hp=84b727bc0cb68078fe2c04f589e6806afeb6d3ea;hpb=2b28344b4218a1e07e66d415b6ad9f1746fc945b;p=dpdk.git diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c index 84b727bc0c..664e0e0d2d 100644 --- a/examples/l2fwd-crypto/main.c +++ b/examples/l2fwd-crypto/main.c @@ -752,6 +752,8 @@ l2fwd_main_loop(struct l2fwd_crypto_options *options) port_cparams[i].hash_verify = 0; port_cparams[i].auth_algo = options->auth_xform.auth.algo; + port_cparams[i].digest_length = + options->auth_xform.auth.digest_length; /* Set IV parameters */ if (options->auth_iv.length) { options->auth_xform.auth.iv.offset =