examples/l2fwd-crypto: add cryptodev mask option
authorFan Zhang <roy.fan.zhang@intel.com>
Tue, 18 Apr 2017 11:34:31 +0000 (12:34 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 20 Apr 2017 09:32:45 +0000 (11:32 +0200)
commitd2797f51cc6383ff0b0f6043d9255c85ae5dfea4
tree2ff71075c5ab4db0b6ddfbe467ed36ea0d0cf6a5
parent18f421f65bb8dcfa77919c48edeb54c867ce89c8
examples/l2fwd-crypto: add cryptodev mask option

Previously, l2fwd-crypto application did not give user the
flexibility to decide which crypto device(s) will be used.

In this patch, a new cryptodev_mask option is added to the
application. Same as portmask, the cryptodev_mask avails the
user to mask out the unwanted crypto devices in the system.

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
doc/guides/sample_app_ug/l2_forward_crypto.rst
examples/l2fwd-crypto/main.c