Skip to contentSkip to conversation

Change MIN_TXD and MIN_RXD to allow set rx/tx value between 64 and 80

PATCH In review Zaborska, Olga 2 participants 5 messages Jul 17, 2023 – Jul 19, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v3 cover Change MIN_TXD and MIN_RXD to allow set rx/tx value between 64 and 80

Change the minimum value of RX/TX descriptors to 64 to enabl'e setting the rx/tx value between 64 and 80. All igb, igbf and igc devices can use as low as 64 descriptors.

Olga Zaborska (1):
igbvf: Change IGBVF_MIN to allow set rx/tx value between 64 and 80

Zaborska, Olga (2):
igb: Change IGB_MIN to allow set rx/tx value between 64 and 80 Change
the minimum value of RX/TX descriptors to 64 to enable setting the rx/tx value between 64 and 80. All igb devices can use as low as 64 descriptors. This change will unify igb with other drivers. Based on commit 7b1be19 ("e1000e: lower ring minimum size to 64")
igc: Change IGC_MIN to allow set rx/tx value between 64 and 80

 drivers/net/ethernet/intel/igb/igb.h     | 4 ++--
 drivers/net/ethernet/intel/igbvf/igbvf.h | 4 ++--
 drivers/net/ethernet/intel/igc/igc.h     | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)
Signature · 6 lines
2.31.1

_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
#1 lore raw

PATCH v3 1/3 igb: Change IGB_MIN to allow set rx/tx value between 64 and 80

Change the minimum value of RX/TX descriptors to 64 to
enable setting the rx/tx value between 64 and 80. All igb devices can use as low as 64 descriptors. This change will unify igb with other drivers. Based on commit 7b1be19 ("e1000e: lower ring minimum size to 64")

Fixes 0507ef8 ("igb: Fix code comments and whitespace")

---
v1->v2 fixed commit title and message
v2->v3 fixed commit title and message, added changes for igb and igc

---
 drivers/net/ethernet/intel/igb/igb.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/intel/igb/igb.h +2 -2
index 015b78144114..a2b759531cb7 100644
@@ -34,11 +34,11 @@ struct igb_adapter;
 /* TX/RX descriptor defines */
 #define IGB_DEFAULT_TXD		256
 #define IGB_DEFAULT_TX_WORK	128
-#define IGB_MIN_TXD		80
+#define IGB_MIN_TXD		64
 #define IGB_MAX_TXD		4096
 
 #define IGB_DEFAULT_RXD		256
-#define IGB_MIN_RXD		80
+#define IGB_MIN_RXD		64
 #define IGB_MAX_RXD		4096
 
 #define IGB_DEFAULT_ITR		3 /* dynamic */
Signature · 6 lines
2.31.1

_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
maintainer
#2 lore raw

Re: [Intel-wired-lan] [PATCH iwl-net v3 1/3] igb: Change IGB_MIN to allow set rx/tx value between 64 and 80

On 7/17/2023 3:58 AM, Zaborska, Olga wrote:

Please check your gitconfig settings (and fix the author)

WARNING: From:/Signed-off-by: email name mismatch: 'From: "Zaborska, Olga" <[email protected]>' != 'Signed-off-by: Olga Zaborska <[email protected]>'

Quoted 6 lines

Change the minimum value of RX/TX descriptors to 64 to
enable setting the rx/tx value between 64 and 80. All igb devices can use as low as 64 descriptors. This change will unify igb with other drivers. Based on commit 7b1be19 ("e1000e: lower ring minimum size to 64")

Fixes 0507ef8 ("igb: Fix code comments and whitespace")

Please reference commits using 12 chars (this and the one in the commit message - directly above this)

"WARNING: Please use correct Fixes: style 'Fixes: <12 chars of sha1> ("<title line>")'"

These apply to all the patches in the series...

additionally, for this one, please use the Fixes that actually caused the problem, not one the last one that touched the code.

Quoted 16 lines

---
v1->v2 fixed commit title and message
v2->v3 fixed commit title and message, added changes for igb and igc

---
  drivers/net/ethernet/intel/igb/igb.h | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/intel/igb/igb.h +0 -0
index 015b78144114..a2b759531cb7 100644
@@ -34,11 +34,11 @@ struct igb_adapter;
  /* TX/RX descriptor defines */
  #define IGB_DEFAULT_TXD		256
  #define IGB_DEFAULT_TX_WORK	128

drivers/net/ethernet/intel/igb/igb.h struct igb_adapter; · line 44

Quoted 10 lines
drivers/net/ethernet/intel/igb/igb.h +2 -2
-#define IGB_MIN_TXD		80
+#define IGB_MIN_TXD		64
  #define IGB_MAX_TXD		4096
 
  #define IGB_DEFAULT_RXD		256
-#define IGB_MIN_RXD		80
+#define IGB_MIN_RXD		64
  #define IGB_MAX_RXD		4096
 
  #define IGB_DEFAULT_ITR		3 /* dynamic */

_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan

#3 lore raw

PATCH v3 2/3 igbvf: Change IGBVF_MIN to allow set rx/tx value between 64 and 80

In reply to Zaborska, Olga

From: Olga Zaborska <[email protected]>

Change the minimum value of RX/TX descriptors to 64 to enable setting the rx/tx value between 64 and 80. All igbvf devices can use as low as 64 descriptors. This change will unify igbvf with other drivers.
Based on commit 7b1be19 ("e1000e: lower ring minimum size to 64")

Fixes d4e0fe0 ("igbvf: add new driver to support 82576 virtual functions")

---
v1->v2 fixed commit title and message
v2->v3 fixed commit title and message, added changes for igb and igc

---
 drivers/net/ethernet/intel/igbvf/igbvf.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/intel/igbvf/igbvf.h +2 -2
index 57d39ee00b58..7b83678ba83a 100644
@@ -39,11 +39,11 @@ enum latency_range {
 /* Tx/Rx descriptor defines */
 #define IGBVF_DEFAULT_TXD	256
 #define IGBVF_MAX_TXD		4096
-#define IGBVF_MIN_TXD		80
+#define IGBVF_MIN_TXD		64
 
 #define IGBVF_DEFAULT_RXD	256
 #define IGBVF_MAX_RXD		4096
-#define IGBVF_MIN_RXD		80
+#define IGBVF_MIN_RXD		64
 
 #define IGBVF_MIN_ITR_USECS	10 /* 100000 irq/sec */
 #define IGBVF_MAX_ITR_USECS	10000 /* 100    irq/sec */
Signature · 7 lines
2.31.1


_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
#4 lore raw

PATCH v3 2/3 igbvf: Change IGBVF_MIN to allow set rx/tx value between 64 and 80

In reply to Zaborska, Olga

From: Olga Zaborska <[email protected]>

Change the minimum value of RX/TX descriptors to 64 to enable setting the rx/tx value between 64 and 80. All igbvf devices can use as low as 64 descriptors. This change will unify igbvf with other drivers.
Based on commit 7b1be19 ("e1000e: lower ring minimum size to 64")

Fixes d4e0fe0 ("igbvf: add new driver to support 82576 virtual functions")

---
v1->v2 fixed commit title and message
v2->v3 fixed commit title and message, added changes for igb and igc

---
 drivers/net/ethernet/intel/igbvf/igbvf.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/intel/igbvf/igbvf.h +2 -2
index 57d39ee00b58..7b83678ba83a 100644
@@ -39,11 +39,11 @@ enum latency_range {
 /* Tx/Rx descriptor defines */
 #define IGBVF_DEFAULT_TXD	256
 #define IGBVF_MAX_TXD		4096
-#define IGBVF_MIN_TXD		80
+#define IGBVF_MIN_TXD		64
 
 #define IGBVF_DEFAULT_RXD	256
 #define IGBVF_MAX_RXD		4096
-#define IGBVF_MIN_RXD		80
+#define IGBVF_MIN_RXD		64
 
 #define IGBVF_MIN_ITR_USECS	10 /* 100000 irq/sec */
 #define IGBVF_MAX_ITR_USECS	10000 /* 100    irq/sec */
Signature · 7 lines
2.31.1


_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan