This reverts commit
ce37bfc2d48a94c5938838f5befbb48336f556e6.
In 10G + mcdma(32-bit) zcu102 design we are seeing swiotlb buffer full
error when MTU is set to 9000. The reason is default software IO TLB
64MB size is not sufficient. Hence in order to make all configurations
work with the default kernel parameters, reverting BD count increase.
Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
#define XAE_MAX_JUMBO_FRAME_SIZE (XAE_JUMBO_MTU + XAE_HDR_SIZE + XAE_TRL_SIZE)
/* Descriptors defines for Tx and Rx DMA - 2^n for the best performance */
-#define TX_BD_NUM 512
-#define RX_BD_NUM 512
+#define TX_BD_NUM 64
+#define RX_BD_NUM 128
/* DMA address width min and max range */
#define XAE_DMA_MASK_MIN 32
#define XXV_TX_PTP_LEN 12
/* Macros used when AXI DMA h/w is configured without DRE */
-#define XAE_TX_BUFFERS TX_BD_NUM
+#define XAE_TX_BUFFERS 64
#define XAE_MAX_PKT_LEN 8192
/**