examples/l2fwd-crypto: skip masked devices
authorApeksha Gupta <apeksha.gupta@nxp.com>
Fri, 9 Apr 2021 13:09:14 +0000 (18:39 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Fri, 16 Apr 2021 10:43:33 +0000 (12:43 +0200)
commit58266cc91efbf45e24fee3a15e23816da6941501
tree6df1abcbe547b352071ae02d3c584c4b6c529721
parentef156f4eec84700d6188df820d14c31b02079552
examples/l2fwd-crypto: skip masked devices

The devices which are masked by cryptodev mask should not be initialized
and skipped while traversing the device list.

Fixes: 6ae3fb9df66e ("examples/l2fwd-crypto: fix session mempool size")
Cc: stable@dpdk.org
Signed-off-by: Apeksha Gupta <apeksha.gupta@nxp.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
examples/l2fwd-crypto/main.c