diff mbox series

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

Message ID 20210306212028.3860-1-unixbhaskar@gmail.com
State New
Headers show
Series net: ethernet: chelsio: inline_crypto: Mundane typos fixed throughout the file chcr_ktls.c | expand

Commit Message

Bhaskar Chowdhury March 6, 2021, 9:20 p.m. UTC
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(-)

--
2.26.2

Comments

Randy Dunlap March 9, 2021, 3:55 a.m. UTC | #1
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
diff mbox series

Patch

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