Change MIN_TXD and MIN_RXD to allow set rx/tx value between 64 and 80
Subsystems (3)
Tony Nguyen
maintainerOlga Zaborska says:
Change the minimum value of RX/TX descriptors to 64 to enable setting the rx/tx value between 64 and 80. All igb, igbvf and igc devices can use as low as 64 descriptors.
The following are changes since commit 29fe7a1b62717d58f033009874554d99d71f7d37:
octeontx2-af: Fix truncation of smq in CN10K NIX AQ enqueue mbox handler
and are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue 1GbE
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
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 · 1 line
2.38.1
Tony Nguyen
maintainerPATCH 1/3 igc: Change IGC_MIN to allow set rx/tx value between 64 and 80
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 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")
--- drivers/net/ethernet/intel/igc/igc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/intel/igc/igc.h +2 -2
@@ -379,11 +379,11 @@ static inline u32 igc_rss_type(const union igc_adv_rx_desc *rx_desc)/* 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 · 1 line
2.38.1
Tony Nguyen
maintainerPATCH 2/3 igbvf: Change IGBVF_MIN to allow set rx/tx value between 64 and 80
In reply to Tony NguyenFrom: 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 7b1be1987c1e ("e1000e: lower ring minimum size to 64")
--- 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 · 1 line
2.38.1
Tony Nguyen
maintainerPATCH 3/3 igb: Change IGB_MIN to allow set rx/tx value between 64 and 80
In reply to Tony NguyenFrom: 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 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 ++-- 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 · 1 line
2.38.1
This series was applied to netdev/net.git (main) by Tony Nguyen <[email protected]>:
Hello:
This series was applied to netdev/net.git (main)
by Tony Nguyen <[email protected]>:
Quoted 6 lines · On Tue, 5 Sep 2023 11:07:05 -0700 you wrote:
Olga Zaborska says:
Change the minimum value of RX/TX descriptors to 64 to enable setting the rx/tx value between 64 and 80. All igb, igbvf and igc devices can use as low as 64 descriptors.
Quoted 6 lines
The following are changes since commit
29fe7a1b62717d58f033009874554d99d71f7d37:
octeontx2-af: Fix truncation of smq in CN10K NIX AQ enqueue mbox handler
and are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue1GbE[...]
Here is the summary with links:
- [net,1/3] igc: Change IGC_MIN to allow set rx/tx value between 64 and 80
https://git.kernel.org/netdev/net/c/5aa48279712e - [net,2/3] igbvf: Change IGBVF_MIN to allow set rx/tx value between 64 and 80 https://git.kernel.org/netdev/net/c/8360717524a2 - [net,3/3] igb: Change IGB_MIN to allow set rx/tx value between 64 and 80 https://git.kernel.org/netdev/net/c/6319685bdc8a
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html