Change MIN_TXD and MIN_RXD to allow set rx/tx value between 64 and 80
Subsystems (2)
v4 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 (3):
igc: Change IGC_MIN to allow set rx/tx value between 64 and 80
igbvf: Change IGBVF_MIN to allow set rx/tx value between 64 and 80
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 7b1be1987c1e ("e1000e: lower ring minimum size to 64")
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
PATCH v4 1/3 igc: Change IGC_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 igc devices can use as low as 64 descriptors. This change will unify igc with other drivers.
Based on commit 7b1be1987c1e ("e1000e: lower ring minimum size to 64")
---v1->v2 fixed commit title and messagev2->v3 fixed commit title and message, added changes for igb and igc v3->v4 fixed commit message
--- drivers/net/ethernet/intel/igc/igc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/intel/igc/igc.h +2 -2
@@ -326,11 +326,11 @@ extern char igc_driver_name[];/* TX/RX descriptor defines */ #define IGC_DEFAULT_TXD 256#define IGC_DEFAULT_TX_WORK 128 -#define IGC_MIN_TXD 80 +#define IGC_MIN_TXD 64#define IGC_MAX_TXD 4096#define IGC_DEFAULT_RXD 256 -#define IGC_MIN_RXD 80 +#define IGC_MIN_RXD 64#define IGC_MAX_RXD 4096/* Supported Rx Buffer Sizes */
Signature · 6 lines
2.31.1 _______________________________________________ Intel-wired-lan mailing list [email protected] https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
Re: [Intel-wired-lan] [PATCH iwl-net v4 1/3] igc: Change IGC_MIN to allow set rx/tx value between 64 and 80
Quoted 7 lines · Olga Zaborska
Change the minimum value of RX/TX descriptors to 64 to enable setting the rx/tx value between 64 and 80. All igc devices can use as low as 64 descriptors. This change will unify igc with other drivers.
Based on commit7b1be1987c1e("e1000e: lower ring minimum size to 64")Fixes 0507ef8a0372 ("igc: Add transmit and receive fastpath and interrupt handlers")Signed-off-by Olga Zaborska <[email protected]>
Quoted 7 lines
---
v1->v2fixed commit title and messagev2->v3fixed commit title and message, added changes for igb and igcv3->v4fixed commit message--- drivers/net/ethernet/intel/igc/igc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
PATCH v4 2/3 igbvf: Change IGBVF_MIN to allow set rx/tx value between 64 and 80
In reply to Olga ZaborskaChange 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 7b1be1987c1e ("e1000e: lower ring minimum size to 64")
---v1->v2 fixed commit title and messagev2->v3 fixed commit title and message, added changes for igb and igc v3->v4 fixed commit message
--- drivers/net/ethernet/intel/igbvf/igbvf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/intel/igbvf/igbvf.h +2 -2
@@ -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 · 6 lines
2.31.1 _______________________________________________ Intel-wired-lan mailing list [email protected] https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
Re: [Intel-wired-lan] [PATCH iwl-net v4 2/3] igbvf: Change IGBVF_MIN to allow set rx/tx value between 64 and 80
drivers/net/ethernet/intel/igbvf/igbvf.h
Quoted 31 lines
-----Original Message-----
From: Intel-wired-lan <[email protected]> On Behalf Of Olga Zaborska
Sent: wtorek, 25 lipca 2023 10:11
To: [email protected]
Cc: Zaborska, Olga <[email protected]>
Subject: [Intel-wired-lan] [PATCH iwl-net v4 2/3] igbvf: ChangeIGBVF_MINto allow set rx/tx value between 64 and 80Change 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 commit7b1be1987c1e("e1000e: lower ring minimum size to 64")Fixes d4e0fe01a38a ("igbvf: add new driver to support 82576 virtualfunctions")
Signed-off-by Olga Zaborska <[email protected]>---
v1->v2fixed commit title and messagev2->v3fixed commit title and message, added changes for igb and igcv3->v4fixed commit message--- drivers/net/ethernet/intel/igbvf/igbvf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/net/ethernet/intel/igbvf/igbvf.h +0
-0
_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
PATCH v4 3/3 igb: Change IGB_MIN to allow set rx/tx value between 64 and 80
In reply to Olga ZaborskaChange 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 7b1be1987c1e ("e1000e: lower ring minimum size to 64")
---v1->v2 fixed commit title and messagev2->v3 fixed commit title and message, added changes for igb and igc v3->v4 fixed commit message
--- drivers/net/ethernet/intel/igb/igb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/intel/igb/igb.h +2 -2
@@ -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
Re: [Intel-wired-lan] [PATCH iwl-net v4 3/3] igb: Change IGB_MIN to allow set rx/tx value between 64 and 80
Quoted 11 lines
-----Original Message-----
From: Intel-wired-lan <[email protected]> On Behalf Of Olga Zaborska
Sent: Tuesday, July 25, 2023 1:41 PM
To: [email protected]
Cc: Zaborska, Olga <[email protected]>
Subject: [Intel-wired-lan] [PATCH iwl-net v4 3/3] igb: ChangeIGB_MINto allow set rx/tx value between 64 and 80Change 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
7b1be1987c1e("e1000e: lower ring minimum size to 64")Fixes 9d5c824399de ("igb: PCI-Express 82575 Gigabit Ethernet driver")Signed-off-by Olga Zaborska <[email protected]>
Quoted 8 lines
---
v1->v2fixed commit title and messagev2->v3fixed commit title and message, added changes for igb and igcv3->v4fixed commit message--- drivers/net/ethernet/intel/igb/igb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan