From: Sven Van Asbroeck <[email protected]> Signed-off-by: Sven Van Asbroeck <[email protected]> ---
To: Bryan Whitehead <[email protected]> To: [email protected] To: "David S. Miller" <[email protected]> To: Jakub Kicinski <[email protected]> Cc: Andrew Lunn <[email protected]> Cc: Alexey Denisov <[email protected]> Cc: Sergej Bauer <[email protected]> Cc: Tim Harvey <[email protected]> Cc: Anders Rønningen <[email protected]> Cc: Hillf Danton <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Willem de Bruijn <[email protected]> Cc: [email protected] Cc: [email protected] drivers/net/ethernet/microchip/lan743x_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/microchip/lan743x_main.c b/drivers/net/ethernet/microchip/lan743x_main.c index 36cc67c72851..90d49231494d 100644 --- a/drivers/net/ethernet/microchip/lan743x_main.c +++ b/drivers/net/ethernet/microchip/lan743x_main.c @@ -1973,7 +1973,7 @@ static int lan743x_rx_init_ring_element(struct lan743x_rx *rx, int index) struct sk_buff *skb; dma_addr_t dma_ptr; - buffer_length = netdev->mtu + ETH_HLEN + 4 + RX_HEAD_PADDING; + buffer_length = 500 + ETH_HLEN + 4 + RX_HEAD_PADDING; descriptor = &rx->ring_cpu_ptr[index]; buffer_info = &rx->buffer_info[index]; -- 2.17.1

