dpdk: device_id sorted order for cryptodev 50/28050/3
authorVladimir Ratnikov <vratnikov@netgate.com>
Thu, 23 Jul 2020 09:11:09 +0000 (05:11 -0400)
committerMatthew Smith <mgsmith@netgate.com>
Thu, 23 Jul 2020 22:24:48 +0000 (22:24 +0000)
commit5a849e3b359dcf8f730429e1ccb7421f1c4217b6
tree3857a006865f9ae5a1303d2c25ee92d879195845
parentc79a14f13a0db6f59123e0e6b0b71d4f24433b01
dpdk: device_id sorted order for cryptodev

By default, VPP automatically assignes for each tunnel
next available QAT device by order dev_id-que-pair.
In most cases we have more than one device and it can
greatly increase ipsec perfomance without any actions
with configuration from user  if we use all the
devices first and first que-pairs

Type: feature

Signed-off-by: Vladimir Ratnikov <vratnikov@netgate.com>
Change-Id: Iac9fe74768775459e22f69bb3706b542090a9375
src/plugins/dpdk/cryptodev/cryptodev.c