git: bf085659dac9 - main - Revert "ixl: Increase tx/rx ring size to 8160"

From: Kevin Bowling <kbowling_at_FreeBSD.org>
Date: Tue, 24 Sep 2024 11:00:58 UTC
The branch main has been updated by kbowling:

URL: https://cgit.FreeBSD.org/src/commit/?id=bf085659dac9dd32259d05311a0a78d068fd59ef

commit bf085659dac9dd32259d05311a0a78d068fd59ef
Author:     Kevin Bowling <kbowling@FreeBSD.org>
AuthorDate: 2024-09-24 10:58:50 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2024-09-24 10:58:50 +0000

    Revert "ixl: Increase tx/rx ring size to 8160"
    
    iflib enforces powerof2 on the ring size:
    panic: Assertion powerof2(sctx->isc_nrxd_max[i])
    
    Revert until this change is better understood.
    
    Reported by:    tuexen
    
    This reverts commit 14561f1eda85fabfba2d764ca11e064ed871224e.
---
 sys/dev/ixl/ixl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/ixl/ixl.h b/sys/dev/ixl/ixl.h
index 042e4e3e6e1a..f45354d29300 100644
--- a/sys/dev/ixl/ixl.h
+++ b/sys/dev/ixl/ixl.h
@@ -122,7 +122,7 @@
  * The driver currently always uses 32 byte Rx descriptors.
  */
 #define IXL_DEFAULT_RING	1024
-#define IXL_MAX_RING		8160
+#define IXL_MAX_RING		4096
 #define IXL_MIN_RING		64
 #define IXL_RING_INCREMENT	32