]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: chcr - small packet Tx stalls the queue
authorAtul Gupta <atul.gupta@chelsio.com>
Fri, 30 Nov 2018 09:01:48 +0000 (14:31 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 7 Dec 2018 06:15:01 +0000 (14:15 +0800)
commit0e00d42d0749444a022907c28fe70ee585f0755c
tree8d783b81d07c1b5535ea0b49322b1e1cbf44477f
parentccd738b32dc3743f7dd10286ed88407459e6123c
crypto: chcr - small packet Tx stalls the queue

Immediate packets sent to hardware should include the work
request length in calculating the flits. WR occupy one flit and
if not accounted result in invalid request which stalls the HW
queue.

Cc: stable@vger.kernel.org
Signed-off-by: Atul Gupta <atul.gupta@chelsio.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chcr_ipsec.c