Skip to content

Commit 6319685

Browse files
ozaborskaanguy11
authored andcommitted
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: 9d5c824 ("igb: PCI-Express 82575 Gigabit Ethernet driver") Signed-off-by: Olga Zaborska <olga.zaborska@intel.com> Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
1 parent 8360717 commit 6319685

File tree

1 file changed

+2
-2
lines changed
  • drivers/net/ethernet/intel/igb

1 file changed

+2
-2
lines changed

drivers/net/ethernet/intel/igb/igb.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ struct igb_adapter;
3434
/* TX/RX descriptor defines */
3535
#define IGB_DEFAULT_TXD 256
3636
#define IGB_DEFAULT_TX_WORK 128
37-
#define IGB_MIN_TXD 80
37+
#define IGB_MIN_TXD 64
3838
#define IGB_MAX_TXD 4096
3939

4040
#define IGB_DEFAULT_RXD 256
41-
#define IGB_MIN_RXD 80
41+
#define IGB_MIN_RXD 64
4242
#define IGB_MAX_RXD 4096
4343

4444
#define IGB_DEFAULT_ITR 3 /* dynamic */

0 commit comments

Comments
 (0)