Skip to content
Branch: master
Commits on Oct 12, 2018
  1. Update for OpenSSL 1.1.1

    stevelinsell committed Oct 4, 2018
    Change-Id: Ia5bc7f5734d9b4fc490205c039a64b67af91e462
    Signed-off-by: Steve Linsell <>
  2. Add ability to disable auto engine init on fork.

    stevelinsell committed Sep 18, 2018
    Change-Id: Ibf5ba4859b5fd6d9efc265b73c84de28fdaae174
    Signed-off-by: Steve Linsell <>
  3. Fix several formatting issues in markup.

    stevelinsell committed Sep 11, 2018
    Change-Id: I60e4eaa8605467a2b9dbd7e6bcbb59ceaee674ca
    Signed-off-by: Steve Linsell <>
Commits on Sep 5, 2018
  1. Add missing step to documentation example.

    stevelinsell committed Jul 12, 2018
    Change-Id: If19b1937c0ba46d045efb299aee698d1c02ee06e
    Signed-off-by: Steve Linsell <>
  2. Remove erroneous FIPS related call.

    stevelinsell committed Jul 2, 2018
    Change-Id: I8d0b090c140a1ba22e801553186af7c5aa1e2b33
    Signed-off-by: Steve Linsell <>
Commits on Apr 24, 2018
  1. Tidy up verifyResult so it is not used after cleanup.

    stevelinsell committed Mar 7, 2018
    Change-Id: I44b643a44737eae54d6584073ee8a4cd0ce0690a
    Signed-off-by: Steve Linsell <>
Commits on Feb 22, 2018
  1. Add link to asynchronous NGINX fork in

    stevelinsell committed Feb 12, 2018
    Change-Id: Ic5d4b52fe7bb5d0bcd85eec7b1df2b38cc8b23c1
    Signed-off-by: Steve Linsell <>
  2. Optimisation to reduce the number of signals sent.

    stevelinsell committed Dec 22, 2017
    Currently a signal is sent on every qat offload to resume the polling
    thread if it has been suspended. This change uses thread local variables
    to reduce the signals sent to one per thread when transitioning from
    zero to one offload in flight for that thread.
    Note we can't easily reduce it further to only when the overall offloads
    in flight transition from zero to one as that would involve a big
    performance penalty in synchronising between threads.
    Change-Id: I81fdb3c32e00b9c2c3d81b7def44d999365d6707
    Signed-off-by: Steve Linsell <>
Commits on Jan 23, 2018
  1. Fix qat_BN_to_FB() to reset the flatbuffer length to zero on a failed…

    stevelinsell committed Jan 3, 2018
    … allocation.
    Change-Id: I350e6c5ea8304768eb58d523bad3e1f0440ad471
    Signed-off-by: Steve Linsell <>
Commits on Dec 20, 2017
  1. Add example config files for dh89xxcc single accelerator variant.

    stevelinsell committed Dec 4, 2017
    Also update dh89xxcc regular config files to bring them into
    sync with those supplied with the driver package.
    Change-Id: I6df200f0c95b09c42443882054b4b83ff6fe9b61
    Signed-off-by: Steve Linsell <>
  2. Fix crash in signal code after forking.

    stevelinsell committed Nov 28, 2017
    Thanks to user i10a for reporting this issue.
    After a fork the engine is not initialised in the child until the
    first call of get_next_inst(). qat_use_signals() also relies on the
    engine being intialised in order for the application to know it can
    send a signal to the polling thread. This change ensures that
    qat_use_signals() will also initialise the engine after a fork, if
    get_next_inst() and qat_use_signals() have also been optimised so
    that they do not use locking in the case where the engine has already
    been initialised, which is most of the time.
    Change-Id: I5a1d088f7f6cbea8cef240a15a05ae2df263fa54
    Signed-off-by: Steve Linsell <>
  3. corrections and updates.

    stevelinsell committed Nov 20, 2017
    Change-Id: I23a96fecca99a7e5234ef87d6e4ae0b50992b98a
    Signed-off-by: Steve Linsell <>
  4. Fix issue that prevents you overriding CFLAGS at the make command line.

    stevelinsell committed Nov 17, 2017
    Change-Id: Ia387ad57f865ec8786fcdb03074489946906d2dc
    Signed-off-by: Steve Linsell <>
  5. Remove temporary variables that were not required.

    stevelinsell committed Nov 15, 2017
    Change-Id: I8e4c41d3cc05f64ad7a417de6a305711b71bb0c1
    Signed-off-by: Steve Linsell <>
Commits on Nov 10, 2017
  1. Replace RSA padding functions with OpenSSL equivalents

    stevelinsell committed Oct 14, 2017
    Change-Id: If154bb3012886cb86d18d9567cf67a70ab84ea4b
    Signed-off-by: Steve Linsell <>
Commits on Oct 20, 2017
  1. Allow USDM to decide NUMA node to allocate on

    stevelinsell committed Oct 3, 2017
    Change-Id: I9bcd63b4f908743d5468f418373e9accfb4c3c7e
    Signed-off-by: Steve Linsell <>
Commits on Aug 9, 2017
  1. Add capability to log debug to a file.

    stevelinsell committed Aug 1, 2017
    Change-Id: I6486a678712f88d52cc1b90faaf16ffcdd40db42
    Signed-off-by: Steve Linsell <>
  2. Remove duplicate macros for likely/unlikely

    stevelinsell committed Aug 1, 2017
    Signed-off-by: Steve Linsell <>
  3. Fix incorrect path in

    stevelinsell committed Jul 28, 2017
    Change-Id: Ie9709c1e2ba2040be6c725676c03040f37155e27
    Signed-off-by: Steve Linsell <>
  4. Update for C62X product range.

    stevelinsell committed Jul 24, 2017
    Change-Id: Ic4d6292caff28661539104038e227133f4b141b8
    Signed-off-by: Steve Linsell <>
Commits on Jul 25, 2017
  1. Correct very minor typo in

    stevelinsell committed Jul 17, 2017
    Change-Id: I4731622fef4403705d375d43c719766e71c8cec5
    Signed-off-by: Steve Linsell <>
  2. Disable checking for device when built for upstream driver.

    stevelinsell committed Jul 14, 2017
    Checking for the device causes permission problems with
    /sys/kernel/debug if running as a non root user.
    As a workaround we will not check for the device as
    icp_sal_userStartMultiProcess() will fail anyway if no device is
    Change-Id: I19979123595f461bb7ead5c37150bdb0062f21f5
    Signed-off-by: Steve Linsell <>
  3. Remove unused cipher structures

    stevelinsell committed Jul 14, 2017
    Change-Id: Ia50f62caa8eddc0867c585ae1456f23fc00fc417
    Signed-off-by: Steve Linsell <>
Commits on May 30, 2017
  1. updates and corrections

    stevelinsell committed May 23, 2017
    Change-Id: I2c9a79cf918b8bd6ce1b76f83554db028baa7314
    Signed-off-by: Steve Linsell <>
Commits on May 19, 2017
  1. Add sample config files for c3xxx and c6xx products

    stevelinsell authored and root committed May 9, 2017
    Change-Id: I9a8fca09f88a5ef14422db706bdad1c213c2fe52
    Signed-off-by: root <>
Commits on Apr 28, 2017
  1. Move setting verification of digests

    stevelinsell authored and root committed Apr 27, 2017
    For the non-Tls use case turning off the digest
    verification was happening too late, after the
    session had been created. This fix moves the
    code to before the session is created.
    Change-Id: Ia81910f2842d6ccf8792b4d60c0924706001f205
    Signed-off-by: root <>
  2. Change to error reporting during static load

    stevelinsell authored and root committed Apr 26, 2017
    This change leaves the real error on the error stack rather
    than replacing it with a generic message. This allows better
    debug without having to build the engine with warnings turned
    on. This was only happening when loading the engine statically
    which is no longer supported by OpenSSL anyway. Fixed anyway
    to cover the use case of someone wanting to backport async into
    an older OpenSSL version.
    Change-Id: Iddc433689f7e8bac382026a969c2aced92525163
    Signed-off-by: root <>
  3. Fix incorrect size of devmasks array

    stevelinsell authored and root committed Apr 26, 2017
    Change-Id: Ic037b686b54e1903e4a654c9496f6c43a14b6381
    Signed-off-by: root <>
  4. Reinstate checks for memory driver and accelerator

    stevelinsell authored and root committed Apr 25, 2017
    The checks at startup for the memory driver and for
    the acceleration device were not getting called when
    running as a dynamic engine. As it is always run as
    a dynamic engine it was impossible for these checks
    to be invoked. They have now been moved to the
    bind_qat() function instead.
    Change-Id: Ia6972652c8e929415a623dfd53b2a0f7d882d86a
    Signed-off-by: root <>
  5. Make eventfd non blocking

    stevelinsell authored and root committed Apr 25, 2017
    The eventfd used for asynchronous notifications was not
    being declared as non-blocking. This meant that when using
    external polling it was possible for a read in the call
    qat_pause_job() to block and never unblock as the engine
    message to do the poll would never get run.
    Change-Id: I7bed8ac374e00718ec17e070176eeefb956d8c0d
    Signed-off-by: root <>
  6. Correct name of usdm memory driver

    stevelinsell authored and root committed Apr 25, 2017
    Change-Id: I11b4c6d979eac851e736646e771b49d45db2828e
    Signed-off-by: root <>
  7. Fix error in example Intel Quickassist Driver config files

    stevelinsell authored and root committed Apr 25, 2017
    The dh89xxcc and c2xxx multi_thread_optimized example config
    files have a typo in them which prevents good performance from
    being achieved. The CyxAcceleratorNumber field had been
    incorrectly written as CyxAccelerator instead. This prevents
    the acceleration driver from assigning the correct physical
    instances to the logical instances, so each logical instance
    will only use the first of the physical instances.
    Effectively you will only utilize a quarter of the acceleration
    device on a dh89xxcc and half of a c2xxx acceleration device.
    Change-Id: I1266b1b385ec060ff4755e1356d4f2dc128bede4
    Signed-off-by: root <>
  8. Fix to return correct instance if using external polling.

    stevelinsell authored and root committed Apr 19, 2017
    This issue only occurred when using both external polling and
    thread specific instances. The fix is to always return the thread
    specific instance if it has been set.
    Change-Id: I2e44a6f2301818bdba5b3d6fece5bd4af95159b8
    Signed-off-by: root <>
  9. Remove non terminal errors from polling loops

    stevelinsell authored and root committed Apr 7, 2017
    Errors were being flagged on the OpenSSL error stack when a non
    terminal error occurs when attempting to poll the rings for
    responses. When an error occurs it could for instance be because
    the hardware is resetting and will subsequently recover. As such
    we do not quit the polling loop but continue and try again. If we
    flag an error it should only be flagged once not every time round
    the loop. In this case it is better to not flag the error at all.
    Change-Id: I3e7d019c0526d311fbf3035f1ae3aed4485e0b0e
    Signed-off-by: root <>
  10. Correct DH debug logging output

    stevelinsell authored and root committed Apr 6, 2017
    Change-Id: I85332d80fd4c97af50ae5bf4c247875381e92e4c
    Signed-off-by: root <>
You can’t perform that action at this time.