[dpdk-dev] [PATCH v4 0/3] crypto/scheduler: add packet-base scheduling mode
roy.fan.zhang at intel.com
Wed Mar 29 10:25:56 CEST 2017
Packet-size based distribution mode is a scheduling mode that works with
2 slaves, the primary slave and the secondary slave, and distributes the
enqueued crypto operations to them based on their data lengths. A crypto
operation will be distributed to the primary slave if its data length is
equal to or bigger than the designated threshold, otherwise it will be
handled by the secondary slave.
- Polished documentation.
- Fixed documentation grammer errors.
- Uses 2 sched_ops array instead of one.
- Copy the failed-to-enqueue crypto ops back to the end of ops array.
- Dequeue_ordering will directly use schedule_dequeue function instead of
- Update with new reorder method.
Fan Zhang (3):
crypto/scheduler: add packet size based mode code
crypto/scheduler: enable packet size based scheduling mode
doc: update cryptodev scheduler PMD documentation
doc/guides/cryptodevs/scheduler.rst | 15 +
drivers/crypto/scheduler/Makefile | 1 +
drivers/crypto/scheduler/rte_cryptodev_scheduler.c | 7 +
drivers/crypto/scheduler/rte_cryptodev_scheduler.h | 3 +
.../crypto/scheduler/scheduler_pkt_size_distr.c | 400 +++++++++++++++++++++
5 files changed, 426 insertions(+)
create mode 100644 drivers/crypto/scheduler/scheduler_pkt_size_distr.c
More information about the dev