net: stmmac: 16KB buffer must be 16 byte aligned
commit 8605131747e7e1fd8f6c9f97a00287aae2b2c640 upstream.
The 16KB RX Buffer must also be 16 byte aligned. Fix it.
Fixes: 7ac6653a08
("stmmac: Move the STMicroelectronics driver")
Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fe87fc086f
commit
2c1e5c5e4c
1 changed files with 2 additions and 2 deletions
|
@ -273,8 +273,8 @@ struct dma_features {
|
||||||
unsigned int enh_desc;
|
unsigned int enh_desc;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* GMAC TX FIFO is 8K, Rx FIFO is 16K */
|
/* RX Buffer size must be multiple of 4/8/16 bytes */
|
||||||
#define BUF_SIZE_16KiB 16384
|
#define BUF_SIZE_16KiB 16368
|
||||||
#define BUF_SIZE_8KiB 8192
|
#define BUF_SIZE_8KiB 8192
|
||||||
#define BUF_SIZE_4KiB 4096
|
#define BUF_SIZE_4KiB 4096
|
||||||
#define BUF_SIZE_2KiB 2048
|
#define BUF_SIZE_2KiB 2048
|
||||||
|
|
Loading…
Add table
Reference in a new issue