Skip to content

Commit 8360717

Browse files
ozaborskaanguy11
authored andcommitted
igbvf: Change IGBVF_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 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") Signed-off-by: Olga Zaborska <olga.zaborska@intel.com> Tested-by: Rafal Romanowski <rafal.romanowski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
1 parent 5aa4827 commit 8360717

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

drivers/net/ethernet/intel/igbvf/igbvf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ enum latency_range {
3939
/* Tx/Rx descriptor defines */
4040
#define IGBVF_DEFAULT_TXD 256
4141
#define IGBVF_MAX_TXD 4096
42-
#define IGBVF_MIN_TXD 80
42+
#define IGBVF_MIN_TXD 64
4343

4444
#define IGBVF_DEFAULT_RXD 256
4545
#define IGBVF_MAX_RXD 4096
46-
#define IGBVF_MIN_RXD 80
46+
#define IGBVF_MIN_RXD 64
4747

4848
#define IGBVF_MIN_ITR_USECS 10 /* 100000 irq/sec */
4949
#define IGBVF_MAX_ITR_USECS 10000 /* 100 irq/sec */

0 commit comments

Comments
 (0)