@@ -2843,7 +2843,7 @@ struct txdma_mailbox {
__le64 resv2[2];
} __attribute__((aligned(64)));
-#define MAX_TX_RING_SIZE 256
+#define MAX_TX_RING_SIZE (PAGE_SIZE / sizeof(u64))
#define MAX_TX_DESC_LEN 4076
struct tx_ring_info {
@@ -2893,8 +2893,8 @@ struct rxdma_mailbox {
__le64 resv2[2];
} __attribute__((aligned(64)));
-#define MAX_RBR_RING_SIZE 128
-#define MAX_RCR_RING_SIZE (MAX_RBR_RING_SIZE * 2)
+#define MAX_RBR_RING_SIZE 256
+#define MAX_RCR_RING_SIZE (PAGE_SIZE / sizeof(u64))
#define RBR_REFILL_MIN 16