X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fdpdk%2Fcryptodev%2Fcryptodev.h;h=63eb46e2319e5179f43b153c11f1cc2c3548a2cd;hb=feda2ff640e3b928e6489be192cba2a7da048cce;hp=e7bdfc1bddf7b73d5335f2444408ebe7f5ffb9bd;hpb=6d4b3fd19c45de81026c6a3a468bd9a5b59ebb5f;p=vpp.git diff --git a/src/plugins/dpdk/cryptodev/cryptodev.h b/src/plugins/dpdk/cryptodev/cryptodev.h index e7bdfc1bddf..63eb46e2319 100644 --- a/src/plugins/dpdk/cryptodev/cryptodev.h +++ b/src/plugins/dpdk/cryptodev/cryptodev.h @@ -293,7 +293,7 @@ cryptodev_mark_frame_fill_err (vnet_crypto_async_frame_t *f, u64 current_err, for (i = index; i < (index + n); i++) f->elts[i].status = op_s; - err |= (~(~(0u) << n) << index); + err |= (~(~(0ull) << n) << index); return err; }