2016-12-02 14:15, Fan Zhang: > This patch provides the initial implementation of the scheduler poll mode > driver using DPDK cryptodev framework. > > Scheduler PMD is used to schedule and enqueue the crypto ops to the > hardware and/or software crypto devices attached to it (slaves). The > dequeue operation from the slave(s), and the possible dequeued crypto op > reordering, are then carried out by the scheduler. > > The scheduler PMD can be used to fill the throughput gap between the > physical core and the existing cryptodevs to increase the overall > performance. For example, if a physical core has higher crypto op > processing rate than a cryptodev, the scheduler PMD can be introduced to > attach more than one cryptodevs. > > This initial implementation is limited to supporting the following > scheduling modes: > > - CRYPTO_SCHED_SW_ROUND_ROBIN_MODE (round robin amongst attached software > slave cryptodevs, to set this mode, the scheduler should have been > attached 1 or more software cryptodevs. > > - CRYPTO_SCHED_HW_ROUND_ROBIN_MODE (round robin amongst attached hardware > slave cryptodevs (QAT), to set this mode, the scheduler should have > been attached 1 or more QATs.
Could it be implemented on top of the eventdev API?