netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: ethernet: chelsio: inline_crypto: Mundane typos fixed throughout the file chcr_ktls.c
@ 2021-03-06 21:20 Bhaskar Chowdhury
  2021-03-09  3:55 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Bhaskar Chowdhury @ 2021-03-06 21:20 UTC (permalink / raw)
  To: ayush.sawal, vinay.yadav, rohitm, davem, kuba, arnd, yuehaibing,
	netdev, linux-kernel
  Cc: rdunlap, 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 <unixbhaskar@gmail.com>
---
 .../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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: ethernet: chelsio: inline_crypto: Mundane typos fixed throughout the file chcr_ktls.c
  2021-03-06 21:20 [PATCH] net: ethernet: chelsio: inline_crypto: Mundane typos fixed throughout the file chcr_ktls.c Bhaskar Chowdhury
@ 2021-03-09  3:55 ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2021-03-09  3:55 UTC (permalink / raw)
  To: Bhaskar Chowdhury, ayush.sawal, vinay.yadav, rohitm, davem, kuba,
	arnd, yuehaibing, netdev, linux-kernel

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 <unixbhaskar@gmail.com>

with the above fixes:

Acked-by: Randy Dunlap <rdunlap@infradead.org>

> ---
>  .../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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-09  3:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-06 21:20 [PATCH] net: ethernet: chelsio: inline_crypto: Mundane typos fixed throughout the file chcr_ktls.c Bhaskar Chowdhury
2021-03-09  3:55 ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).