Re: [PATCH] net: ethernet: chelsio: inline_crypto: Mundane typos fixed throughout the file chcr_ktls.c

2021-03-08 Thread Randy Dunlap
On 3/6/21 1:20 PM, Bhaskar Chowdhury wrote:
> 
> 
> Mundane typos fixes throughout the file.

  typo fixes
and in Subject:

> 
> s/establised/established/
> s/availbale/available/
> s/vaues/values/
> s/Incase/In case/
> 
> Signed-off-by: Bhaskar Chowdhury 

with the above fixes:

Acked-by: Randy Dunlap 

> ---
>  .../ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c| 8 
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c 
> b/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c
> index 1b7e8c91b541..6a9c6aa73eb4 100644
> --- a/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c
> +++ b/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c
> @@ -677,7 +677,7 @@ static int chcr_ktls_cpl_act_open_rpl(struct adapter 
> *adap,
>   if (tx_info->pending_close) {
>   spin_unlock(&tx_info->lock);
>   if (!status) {
> - /* it's a late success, tcb status is establised,
> + /* it's a late success, tcb status is established,
>* mark it close.
>*/
>   chcr_ktls_mark_tcb_close(tx_info);
> @@ -935,7 +935,7 @@ chcr_ktls_get_tx_flits(u32 nr_frags, unsigned int 
> key_ctx_len)
>  }
> 
>  /*
> - * chcr_ktls_check_tcp_options: To check if there is any TCP option availbale
> + * chcr_ktls_check_tcp_options: To check if there is any TCP option available
>   * other than timestamp.
>   * @skb - skb contains partial record..
>   * return: 1 / 0
> @@ -1120,7 +1120,7 @@ static int chcr_ktls_xmit_wr_complete(struct sk_buff 
> *skb,
>   }
> 
>   if (unlikely(credits < ETHTXQ_STOP_THRES)) {
> - /* Credits are below the threshold vaues, stop the queue after
> + /* Credits are below the threshold values, stop the queue after
>* injecting the Work Request for this packet.
>*/
>   chcr_eth_txq_stop(q);
> @@ -2011,7 +2011,7 @@ static int chcr_ktls_xmit(struct sk_buff *skb, struct 
> net_device *dev)
> 
>   /* TCP segments can be in received either complete or partial.
>* chcr_end_part_handler will handle cases if complete record or end
> -  * part of the record is received. Incase of partial end part of record,
> +  * part of the record is received. In case of partial end part of 
> record,
>* we will send the complete record again.
>*/
> 
> --


-- 
~Randy



[PATCH] net: ethernet: chelsio: inline_crypto: Mundane typos fixed throughout the file chcr_ktls.c

2021-03-06 Thread Bhaskar Chowdhury



Mundane typos fixes throughout the file.

s/establised/established/
s/availbale/available/
s/vaues/values/
s/Incase/In case/

Signed-off-by: Bhaskar Chowdhury 
---
 .../ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c| 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c 
b/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c
index 1b7e8c91b541..6a9c6aa73eb4 100644
--- a/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c
+++ b/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c
@@ -677,7 +677,7 @@ static int chcr_ktls_cpl_act_open_rpl(struct adapter *adap,
if (tx_info->pending_close) {
spin_unlock(&tx_info->lock);
if (!status) {
-   /* it's a late success, tcb status is establised,
+   /* it's a late success, tcb status is established,
 * mark it close.
 */
chcr_ktls_mark_tcb_close(tx_info);
@@ -935,7 +935,7 @@ chcr_ktls_get_tx_flits(u32 nr_frags, unsigned int 
key_ctx_len)
 }

 /*
- * chcr_ktls_check_tcp_options: To check if there is any TCP option availbale
+ * chcr_ktls_check_tcp_options: To check if there is any TCP option available
  * other than timestamp.
  * @skb - skb contains partial record..
  * return: 1 / 0
@@ -1120,7 +1120,7 @@ static int chcr_ktls_xmit_wr_complete(struct sk_buff *skb,
}

if (unlikely(credits < ETHTXQ_STOP_THRES)) {
-   /* Credits are below the threshold vaues, stop the queue after
+   /* Credits are below the threshold values, stop the queue after
 * injecting the Work Request for this packet.
 */
chcr_eth_txq_stop(q);
@@ -2011,7 +2011,7 @@ static int chcr_ktls_xmit(struct sk_buff *skb, struct 
net_device *dev)

/* TCP segments can be in received either complete or partial.
 * chcr_end_part_handler will handle cases if complete record or end
-* part of the record is received. Incase of partial end part of record,
+* part of the record is received. In case of partial end part of 
record,
 * we will send the complete record again.
 */

--
2.26.2