Message ID | 20210129195240.31871-5-TheSven73@gmail.com |
---|---|
State | Superseded |
Headers | show |
Series | lan743x speed boost | expand |
diff --git a/drivers/net/ethernet/microchip/lan743x_main.c b/drivers/net/ethernet/microchip/lan743x_main.c index 618f0714a2cf..ed4959ad9237 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) dma_addr_t dma_ptr; int length; - length = netdev->mtu + ETH_HLEN + 4 + RX_HEAD_PADDING; + length = 500 + ETH_HLEN + 4 + RX_HEAD_PADDING; descriptor = &rx->ring_cpu_ptr[index]; buffer_info = &rx->buffer_info[index];