diff options
author | LEROY Christophe <christophe.leroy@c-s.fr> | 2016-06-06 13:20:44 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-06-08 10:20:04 +0200 |
commit | b00577639d1970c8075d70f6180be83574712855 (patch) | |
tree | fd0a6ef8db86ff34a0c7ef53618cc73e2b1f1621 /drivers/crypto/qat | |
parent | crypto: talitos - sg_to_link_tbl() not used anymore, remove it (diff) | |
download | linux-b00577639d1970c8075d70f6180be83574712855.tar.xz linux-b00577639d1970c8075d70f6180be83574712855.zip |
crypto: talitos - implement cra_priority
SEC1 doesn't have IPSEC_ESP descriptor type but it is able to perform
IPSEC using HMAC_SNOOP_NO_AFEU, which is also existing on SEC2
In order to be able to define descriptors templates for SEC1 without
breaking SEC2+, we have to give lower priority to HMAC_SNOOP_NO_AFEU
so that SEC2+ selects IPSEC_ESP and not HMAC_SNOOP_NO_AFEU which is
less performant.
This is done by adding a priority field in the template. If the field
is 0, we use the default priority, otherwise we used the one in the
field.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/qat')
0 files changed, 0 insertions, 0 deletions