All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] crypto/scheduler: add fail-over mode
@ 2017-03-23 13:02 Fan Zhang
  2017-03-23 13:02 ` [PATCH v2 1/3] crypto/scheduler: add fail-over scheduling mode file Fan Zhang
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Fan Zhang @ 2017-03-23 13:02 UTC (permalink / raw)
  To: dev; +Cc: pablo.de.lara.guarch, sergio.gonzalez.monroy, declan.doherty

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

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                |   7 +
 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      | 324 +++++++++++++++++++++
 5 files changed, 342 insertions(+)
 create mode 100644 drivers/crypto/scheduler/scheduler_failover.c

-- 
2.7.4

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH v2 0/3] crypto/scheduler: add packet-base scheduling mode
@ 2017-03-23 11:03 Fan Zhang
  2017-03-23 11:03 ` [PATCH v2 3/3] doc: update cryptodev scheduler PMD documentation Fan Zhang
  0 siblings, 1 reply; 6+ messages in thread
From: Fan Zhang @ 2017-03-23 11:03 UTC (permalink / raw)
  To: dev; +Cc: pablo.de.lara.guarch, sergio.gonzalez.monroy, declan.doherty

Packet-size based distribution mode, which works with 2 slaves, primary
slave and secondary slave, and distribute the enqueued crypto ops to them
based on their data lengths. A crypto op will be distributed to the primary
slave if its data length equals or bigger than the designated threshold,
otherwise it will be handled by the secondary slave.

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                |  14 +
 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    | 427 +++++++++++++++++++++
 5 files changed, 452 insertions(+)
 create mode 100644 drivers/crypto/scheduler/scheduler_pkt_size_distr.c

-- 
2.7.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-03-28 10:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-23 13:02 [PATCH v2 0/3] crypto/scheduler: add fail-over mode Fan Zhang
2017-03-23 13:02 ` [PATCH v2 1/3] crypto/scheduler: add fail-over scheduling mode file Fan Zhang
2017-03-28 10:57   ` Declan Doherty
2017-03-23 13:02 ` [PATCH v2 2/3] crypto/scheduler: enable fail-over scheduling mode Fan Zhang
2017-03-23 13:02 ` [PATCH v2 3/3] doc: update cryptodev scheduler PMD documentation Fan Zhang
  -- strict thread matches above, loose matches on Subject: below --
2017-03-23 11:03 [PATCH v2 0/3] crypto/scheduler: add packet-base scheduling mode Fan Zhang
2017-03-23 11:03 ` [PATCH v2 3/3] doc: update cryptodev scheduler PMD documentation Fan Zhang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.