10808e45d4
Recent work identified race conditions having to do with the dynamic flow control mechanism for the idxd engine. In order to both address the issue and simplify the code a new scheme is now in place. Essentially every DSA device will be allowed to accomodate 8 channels and each channel will get a fixed 1/8 the number of work queue entries regardless of how many channels there are. Assignment of channels to devices is round robin and if/when no more channels can be accommodated the get channel request will fail. The performance tests also revealed another issue that was masked before, it's a one-line so is in this patch for convenience. In the idxd poller we limit the number of completions allowed during one run to avoid the poller thread from starving other threads since as operations complete on this thread they are immediately replaced up to the limit for the channel. Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: I913e809a934b562feb495815a9b9c605d622285c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8171 Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
32 lines
690 B
Plaintext
32 lines
690 B
Plaintext
{
|
|
global:
|
|
|
|
# public functions
|
|
spdk_idxd_chan_get_max_operations;
|
|
spdk_idxd_configure_chan;
|
|
spdk_idxd_probe;
|
|
spdk_idxd_detach;
|
|
spdk_idxd_batch_prep_copy;
|
|
spdk_idxd_batch_prep_dualcast;
|
|
spdk_idxd_batch_prep_fill;
|
|
spdk_idxd_batch_prep_crc32c;
|
|
spdk_idxd_batch_prep_copy_crc32c;
|
|
spdk_idxd_batch_prep_compare;
|
|
spdk_idxd_batch_submit;
|
|
spdk_idxd_batch_create;
|
|
spdk_idxd_batch_cancel;
|
|
spdk_idxd_batch_get_max;
|
|
spdk_idxd_set_config;
|
|
spdk_idxd_submit_compare;
|
|
spdk_idxd_submit_crc32c;
|
|
spdk_idxd_submit_copy_crc32c;
|
|
spdk_idxd_submit_copy;
|
|
spdk_idxd_submit_dualcast;
|
|
spdk_idxd_submit_fill;
|
|
spdk_idxd_process_events;
|
|
spdk_idxd_get_channel;
|
|
spdk_idxd_put_channel;
|
|
|
|
local: *;
|
|
};
|