aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGravatar Brett Creeley <brett.creeley@amd.com> 2024-02-29 11:39:25 -0800
committerGravatar David S. Miller <davem@davemloft.net> 2024-03-04 09:38:13 +0000
commit4d140402c6e8b58c6ab76f716ae38c558bf5b080 (patch)
tree3ee98fd4c19d48092ff17c7a38634b9131b2efc1 /drivers
parentionic: Rework Tx start/stop flow (diff)
downloadlinux-4d140402c6e8b58c6ab76f716ae38c558bf5b080.tar.gz
linux-4d140402c6e8b58c6ab76f716ae38c558bf5b080.tar.bz2
linux-4d140402c6e8b58c6ab76f716ae38c558bf5b080.zip
ionic: Change default number of descriptors for Tx and Rx
Cut down the number of default Tx and Rx descriptors to save initial memory requirements. Signed-off-by: Brett Creeley <brett.creeley@amd.com> Signed-off-by: Shannon Nelson <shannon.nelson@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/pensando/ionic/ionic_dev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/pensando/ionic/ionic_dev.h b/drivers/net/ethernet/pensando/ionic/ionic_dev.h
index abe64086e8ca..516db910e8e8 100644
--- a/drivers/net/ethernet/pensando/ionic/ionic_dev.h
+++ b/drivers/net/ethernet/pensando/ionic/ionic_dev.h
@@ -16,7 +16,7 @@
#define IONIC_MAX_TX_DESC 8192
#define IONIC_MAX_RX_DESC 16384
#define IONIC_MIN_TXRX_DESC 64
-#define IONIC_DEF_TXRX_DESC 4096
+#define IONIC_DEF_TXRX_DESC 1024
#define IONIC_RX_FILL_THRESHOLD 16
#define IONIC_RX_FILL_DIV 8
#define IONIC_TSO_DESCS_NEEDED 44 /* 64K TSO @1500B */