diff options
author | Tatyana Nikolova <Tatyana.E.Nikolova@intel.com> | 2016-03-18 16:38:33 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-21 21:02:24 +0100 |
commit | 34abf9ed73f2cf4fcc69eefd7e0af225cf9671a8 (patch) | |
tree | b313fda6566e86c8308453c15af12ba85af64c46 /drivers/infiniband/hw/i40iw/i40iw_puda.h | |
parent | i40iw: changes for build of i40iw module (diff) | |
download | linux-34abf9ed73f2cf4fcc69eefd7e0af225cf9671a8.tar.xz linux-34abf9ed73f2cf4fcc69eefd7e0af225cf9671a8.zip |
i40iw: Replace the obsolete crypto hash interface with shash
This patch replaces the obsolete crypto hash interface with shash
and resolves a build failure after merge of the rdma tree
which is caused by the removal of crypto hash interface
Removing CRYPTO_ALG_ASYNC from crypto_alloc_shash(),
because it is by definition sync only
Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/i40iw/i40iw_puda.h')
-rw-r--r-- | drivers/infiniband/hw/i40iw/i40iw_puda.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/infiniband/hw/i40iw/i40iw_puda.h b/drivers/infiniband/hw/i40iw/i40iw_puda.h index b689aa41dfe2..52bf7826ce4e 100644 --- a/drivers/infiniband/hw/i40iw/i40iw_puda.h +++ b/drivers/infiniband/hw/i40iw/i40iw_puda.h @@ -135,7 +135,7 @@ struct i40iw_puda_rsrc { u32 rxq_invalid_cnt; u32 tx_wqe_avail_cnt; bool check_crc; - struct hash_desc hash_desc; + struct shash_desc *hash_desc; struct list_head txpend; struct list_head bufpool; /* free buffers pool list for recv and xmit */ u32 alloc_buf_count; @@ -173,11 +173,11 @@ struct i40iw_sc_qp *i40iw_ieq_get_qp(struct i40iw_sc_dev *dev, struct i40iw_puda_buf *buf); enum i40iw_status_code i40iw_puda_get_tcpip_info(struct i40iw_puda_completion_info *info, struct i40iw_puda_buf *buf); -enum i40iw_status_code i40iw_ieq_check_mpacrc(struct hash_desc *desc, +enum i40iw_status_code i40iw_ieq_check_mpacrc(struct shash_desc *desc, void *addr, u32 length, u32 value); -enum i40iw_status_code i40iw_init_hash_desc(struct hash_desc *desc); +enum i40iw_status_code i40iw_init_hash_desc(struct shash_desc **desc); void i40iw_ieq_mpa_crc_ae(struct i40iw_sc_dev *dev, struct i40iw_sc_qp *qp); -void i40iw_free_hash_desc(struct hash_desc *desc); +void i40iw_free_hash_desc(struct shash_desc *desc); void i40iw_ieq_update_tcpip_info(struct i40iw_puda_buf *buf, u16 length, u32 seqnum); #endif |