crypto: chcr - Select device in Round Robin fashion
authorHarsh Jain <harsh@chelsio.com>
Thu, 15 Jun 2017 07:13:47 +0000 (12:43 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 20 Jun 2017 03:21:40 +0000 (11:21 +0800)
commit14c19b178a012dd984721c1312114d4b8f3b4e81
tree097e7c59ed9b809c6028dca09eeac252da7d68b7
parent738bff48871902bd37c56e6c6b492bb8e37315d5
crypto: chcr - Select device in Round Robin fashion

When multiple devices are present in system select device
in round-robin fashion for crypto operations

Signed-off-by: Atul Gupta <atul.gupta@chelsio.com>
Reviewed-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chcr_algo.c
drivers/crypto/chelsio/chcr_core.c
drivers/crypto/chelsio/chcr_core.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h