ch_ktls: stop the txq if reaches threshold
authorRohit Maheshwari <rohitm@chelsio.com>
Mon, 9 Nov 2020 10:51:42 +0000 (16:21 +0530)
committerJakub Kicinski <kuba@kernel.org>
Thu, 12 Nov 2020 00:30:38 +0000 (16:30 -0800)
commit83a95df04bee77c74df5151c961b19d870a70180
tree8f6e9a30dd52fc3890008a5d08959646bc0236ac
parent7d01c428c86b525dc780226924d74df2048cf411
ch_ktls: stop the txq if reaches threshold

Stop the queue and ask for the credits if queue reaches to
threashold.

Fixes: 5a4b9fe7fece ("cxgb4/chcr: complete record tx handling")
Signed-off-by: Rohit Maheshwari <rohitm@chelsio.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c