This series adds the ability, for crypto PMDs, to communicate the minimum head/tailroom requirement it may have, using the existing cryptodev_info framework.
The availability and use of head/tailroom is an optimisation if the hardware supports its use for crypto-op info. Devices that do not support using the head/tailroom, can continue to operate without any performance-drop. Cavium's CPT hardware supports this feature and would use headroom and tailroom for submitting crypto-ops to the hardware. Anoob Joseph (2): cryptodev: add min headroom and tailroom requirement app/crypto-perf: honour cryptodev's min headroom/tailroom app/test-crypto-perf/cperf_options.h | 2 ++ app/test-crypto-perf/cperf_test_common.c | 33 +++++++++++++++++++++----------- app/test-crypto-perf/main.c | 17 ++++++++++++++++ doc/guides/rel_notes/deprecation.rst | 4 ++++ lib/librte_cryptodev/rte_cryptodev.h | 6 ++++++ 5 files changed, 51 insertions(+), 11 deletions(-) -- 2.7.4