igbvf: Change IGBVF_MIN_TXD and IGBVF_MIN_RXD to allow change of rx/tx value between 64 and 80
Subsystems (2)
PATCH v2 1/1 igbvf: Change IGBVF_MIN_TXD and IGBVF_MIN_RXD to allow change of rx/tx value between 64 and 80
From: Olga Zaborska <[email protected]>
There is currently a bug where when setting the rx/tx value between 64 and 80 it automatically sets to 80, this will be fixed by changing IGBVF_MIN_TXD and IGBVF_MIN_RXD. Based on commit:
All e1000 devices can use as low as 64 descriptors. This change will unify igbvf with other drivers.
v1->v2 fixed commit title and 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
Tony Nguyen
maintainerOn 7/3/2023 3:32 AM, Zaborska, Olga wrote:
This title is a bit long, it could probably be reworded to be shorter and still convey the same message. Unofficially, you should be shooting for 50 chars or less.
Quoted 6 lines
From: Olga Zaborska <[email protected]>
There is currently a bug where when setting the rx/tx value between 64 and 80 it automatically sets to 80, this will be fixed by changing
IGBVF_MIN_TXDandIGBVF_MIN_RXD. Based on commit:
A kernel commit reference would be preferred over a link.
Quoted 1 line
All e1000 devices can use as low as 64 descriptors.
How does this apply to igbvf though? I'm assuming carry forward of previous driver code?
Quoted 1 line
This change will unify igbvf with other drivers.
Is it unified if not all drivers are 64 [1][2]?
Quoted 1 line
Fixes d4e0fe01a38a ("igbvf: add new driver to support 82576 virtual functions")
What is the bug or are you allowing more values (which IMO is not a bug)?
Quoted 2 lines
Signed-off-by Olga Zaborska <[email protected]>
v1->v2fixed commit title and message
This belongs under the '---'
Quoted 3 lines
--- drivers/net/ethernet/intel/igbvf/igbvf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
[1] https://elixir.bootlin.com/linux/v6.4/source/drivers/net/ethernet/intel/igb/igb.h#L37
[2] https://elixir.bootlin.com/linux/v6.4/source/drivers/net/ethernet/intel/igc/igc.h#L329
_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
Quoted 9 lines
-----Original Message-----
From: Nguyen, Anthony L <[email protected]>
Sent: środa, 5 lipca 2023 20:49
To: Zaborska, Olga <[email protected]>; [email protected]
Subject: Re: [Intel-wired-lan] [PATCH iwl-net v2] igbvf: ChangeIGBVF_MIN_TXDandIGBVF_MIN_RXDto allow change of rx/tx value between 64 and 80On 7/3/2023 3:32 AM, Zaborska, Olga wrote:
This title is a bit long, it could probably be reworded to be shorter and still convey the same message. Unofficially, you should be shooting for 50 chars or less.
It will be shortened in v3.
Quoted 10 lines
Quoted 7 lines
From: Olga Zaborska <[email protected]>
There is currently a bug where when setting the rx/tx value between 64
and 80 it automatically sets to 80, this will be fixed by changingIGBVF_MIN_TXDandIGBVF_MIN_RXD. Based on commit:A kernel commit reference would be preferred over a link.
This will be fixed in v3.
Quoted 4 lines
Quoted 1 line
All e1000 devices can use as low as 64 descriptors.
How does this apply to igbvf though? I'm assuming carry forward of previous driver code?
Yes, it's carry forward of previous driver code.
Quoted 4 lines
Quoted 1 line
This change will unify igbvf with other drivers.
Is it unified if not all drivers are 64 [1][2]?
I plan to change ice and igb as well, should it be done in one patch or series of patches?
Quoted 5 lines
Quoted 2 lines
Fixes d4e0fe01a38a ("igbvf: add new driver to support 82576 virtualfunctions")
What is the bug or are you allowing more values (which IMO is not a bug)?
It was reported by validation team as a bug to not being able to set the value to 64.
Quoted 5 lines
Quoted 2 lines
Signed-off-by Olga Zaborska <[email protected]>
v1->v2fixed commit title and messageThis belongs under the '---'
This will be fixed in v3.
Quoted 9 lines
Quoted 3 lines
--- drivers/net/ethernet/intel/igbvf/igbvf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)[1]
https://elixir.bootlin.com/linux/v6.4/source/drivers/net/ethernet/intel/igb/igb.h#L37
[2]
https://elixir.bootlin.com/linux/v6.4/source/drivers/net/ethernet/intel/igc/igc.h#L329
-----Original Message-----
From: Nguyen, Anthony L <[email protected]>
Sent: środa, 5 lipca 2023 20:49
To: Zaborska, Olga <[email protected]>; [email protected]
Subject: Re: [Intel-wired-lan] [PATCH iwl-net v2] igbvf: Change IGBVF_MIN_TXD and IGBVF_MIN_RXD to allow change of rx/tx value between 64 and 80
On 7/3/2023 3:32 AM, Zaborska, Olga wrote:
This title is a bit long, it could probably be reworded to be shorter and still convey the same message. Unofficially, you should be shooting for 50 chars or less.
Quoted 6 lines
From: Olga Zaborska <[email protected]>
There is currently a bug where when setting the rx/tx value between 64
and 80 it automatically sets to 80, this will be fixed by changingIGBVF_MIN_TXDandIGBVF_MIN_RXD. Based on commit:
A kernel commit reference would be preferred over a link.
Quoted 1 line
All e1000 devices can use as low as 64 descriptors.
How does this apply to igbvf though? I'm assuming carry forward of previous driver code?
Quoted 1 line
This change will unify igbvf with other drivers.
Is it unified if not all drivers are 64 [1][2]?
Quoted 2 lines
Fixes d4e0fe01a38a ("igbvf: add new driver to support 82576 virtualfunctions")
What is the bug or are you allowing more values (which IMO is not a bug)?
Quoted 2 lines
Signed-off-by Olga Zaborska <[email protected]>
v1->v2fixed commit title and message
This belongs under the '---'
Quoted 3 lines
--- drivers/net/ethernet/intel/igbvf/igbvf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
[1]
https://elixir.bootlin.com/linux/v6.4/source/drivers/net/ethernet/intel/igb/igb.h#L37
[2]
https://elixir.bootlin.com/linux/v6.4/source/drivers/net/ethernet/intel/igc/igc.h#L329
_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan