Skip to contentSkip to conversation

liquidio: CN23XX: delete repeated words, add missing words and fix typo in comment

PATCH Superseded Ruffalo Lavoisier 2 participants 2 messages Sep 19, 2022

Subsystems (3)

v3 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 liquidio: CN23XX: delete repeated words, add missing words and fix typo in comment

- Delete the repeated word 'to' in the comment.

- Add the missing 'use' word within the sentence.

- Correct spelling on 'malformation'.

---
Please check if it has been corrected properly!

 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_regs.h | 2 +-
 drivers/net/ethernet/cavium/liquidio/cn23xx_vf_regs.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/cavium/liquidio/cn23xx_pf_regs.h +1 -1
index 3f1c189646f4..244e27ea079c 100644
@@ -88,7 +88,7 @@
 #define    CN23XX_SLI_PKT_IN_JABBER                0x29170
 /* The input jabber is used to determine the TSO max size.
  * Due to H/W limitation, this need to be reduced to 60000
- * in order to to H/W TSO and avoid the WQE malfarmation
+ * in order to use H/W TSO and avoid the WQE malformation
  * PKO_BUG_24989_WQE_LEN
  */
 #define    CN23XX_DEFAULT_INPUT_JABBER             0xEA60 /*60000*/
drivers/net/ethernet/cavium/liquidio/cn23xx_vf_regs.h +1 -1
index d33dd8f4226f..e85449249670 100644
@@ -37,7 +37,7 @@
 
 /* The input jabber is used to determine the TSO max size.
  * Due to H/W limitation, this need to be reduced to 60000
- * in order to to H/W TSO and avoid the WQE malfarmation
+ * in order to use H/W TSO and avoid the WQE malformation
  * PKO_BUG_24989_WQE_LEN
  */
 #define    CN23XX_DEFAULT_INPUT_JABBER             0xEA60 /*60000*/
Signature · 1 line
2.25.1
#1 lore raw

Hi--

Quoted 9 lines · Ruffalo Lavoisier

- Delete the repeated word 'to' in the comment.

- Add the missing 'use' word within the sentence.

- Correct spelling on 'malformation'.

---
Please check if it has been corrected properly!

Once again there is a needed change that is missing. Please see below.

drivers/net/ethernet/cavium/liquidio/cn23xx_pf_regs.h line 90

Quoted 13 lines
 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_regs.h | 2 +-
 drivers/net/ethernet/cavium/liquidio/cn23xx_vf_regs.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/cavium/liquidio/cn23xx_pf_regs.h +0 -0
index 3f1c189646f4..244e27ea079c 100644
@@ -88,7 +88,7 @@
 #define    CN23XX_SLI_PKT_IN_JABBER                0x29170
 /* The input jabber is used to determine the TSO max size.
  * Due to H/W limitation, this need to be reduced to 60000

this needs

drivers/net/ethernet/cavium/liquidio/cn23xx_vf_regs.h line 39

Quoted 13 lines
drivers/net/ethernet/cavium/liquidio/cn23xx_pf_regs.h +1 -1
- * in order to to H/W TSO and avoid the WQE malfarmation
+ * in order to use H/W TSO and avoid the WQE malformation
  * PKO_BUG_24989_WQE_LEN
  */
 #define    CN23XX_DEFAULT_INPUT_JABBER             0xEA60 /*60000*/
drivers/net/ethernet/cavium/liquidio/cn23xx_vf_regs.h +0 -0
index d33dd8f4226f..e85449249670 100644
@@ -37,7 +37,7 @@
 
 /* The input jabber is used to determine the TSO max size.
  * Due to H/W limitation, this need to be reduced to 60000

this needs

Quoted 5 lines
drivers/net/ethernet/cavium/liquidio/cn23xx_vf_regs.h +1 -1
- * in order to to H/W TSO and avoid the WQE malfarmation
+ * in order to use H/W TSO and avoid the WQE malformation
  * PKO_BUG_24989_WQE_LEN
  */
 #define    CN23XX_DEFAULT_INPUT_JABBER             0xEA60 /*60000*/
Signature · 1 line
~Randy