mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 18:09:56 +00:00
bcmgenet: constrain max DMA burst length
This commit is contained in:
committed by
Dom Cobley
parent
7a01051faa
commit
7bccd784cb
@@ -31,7 +31,7 @@
|
|||||||
#define ENET_PAD 8
|
#define ENET_PAD 8
|
||||||
#define ENET_MAX_MTU_SIZE (ETH_DATA_LEN + ETH_HLEN + VLAN_HLEN + \
|
#define ENET_MAX_MTU_SIZE (ETH_DATA_LEN + ETH_HLEN + VLAN_HLEN + \
|
||||||
ENET_BRCM_TAG_LEN + ETH_FCS_LEN + ENET_PAD)
|
ENET_BRCM_TAG_LEN + ETH_FCS_LEN + ENET_PAD)
|
||||||
#define DMA_MAX_BURST_LENGTH 0x10
|
#define DMA_MAX_BURST_LENGTH 0x08
|
||||||
|
|
||||||
/* misc. configuration */
|
/* misc. configuration */
|
||||||
#define MAX_NUM_OF_FS_RULES 16
|
#define MAX_NUM_OF_FS_RULES 16
|
||||||
|
|||||||
Reference in New Issue
Block a user