bcmgenet: constrain max DMA burst length
authorJonathan Bell <jonathan@raspberrypi.org>
Wed, 12 Sep 2018 13:44:53 +0000 (14:44 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:32:55 +0000 (16:32 +0100)
drivers/net/ethernet/broadcom/genet/bcmgenet.h

index 5b7c2f9..e59f53c 100644 (file)
@@ -29,7 +29,7 @@
 #define ENET_PAD               8
 #define ENET_MAX_MTU_SIZE      (ETH_DATA_LEN + ETH_HLEN + VLAN_HLEN + \
                                 ENET_BRCM_TAG_LEN + ETH_FCS_LEN + ENET_PAD)
-#define DMA_MAX_BURST_LENGTH    0x10
+#define DMA_MAX_BURST_LENGTH    0x08
 
 /* misc. configuration */
 #define CLEAR_ALL_HFB                  0xFF