[dpdk-dev] [PATCH v4 0/3] crypto/scheduler: add fail-over mode

Fan Zhang roy.fan.zhang at intel.com
Wed Mar 29 10:24:25 CEST 2017


This patch adds fail-over mode for cryptodev scheduler PMD. Fail-over mode
works with 2 slaves, the primary slave and the secondary slave. In this
mode, the scheduler will enqueues the incoming crypto operation burst to the
primary slave. When one or more crypto operations fail to be enqueued, then
they will be enqueued to the secondary slave.

v4:
- Polished documentation.
- Fixed documentation grammer errors.

v3:
- More detailed commit messages.
- Removed device flush.
- Updated dequeue_ordering function

v2:
- Update with new reorder method

Fan Zhang (3):
  crypto/scheduler: add fail-over scheduling mode file
  crypto/scheduler: enable fail-over scheduling mode
  doc: update cryptodev scheduler PMD documentation

 doc/guides/cryptodevs/scheduler.rst                |   8 +
 drivers/crypto/scheduler/Makefile                  |   1 +
 drivers/crypto/scheduler/rte_cryptodev_scheduler.c |   7 +
 drivers/crypto/scheduler/rte_cryptodev_scheduler.h |   3 +
 drivers/crypto/scheduler/scheduler_failover.c      | 285 +++++++++++++++++++++
 5 files changed, 304 insertions(+)
 create mode 100644 drivers/crypto/scheduler/scheduler_failover.c

-- 
2.7.4



More information about the dev mailing list