• Deepak Sikri's avatar
    stmmac: Fix for higher mtu size handling · 684901a6
    Deepak Sikri authored
    For the higher mtu sizes requiring the buffer size greater than 8192,
    the buffers are sent or received using multiple dma descriptors/ same
    descriptor with option of multi buffer handling.
    It was observed during tests that the driver was missing on data
    packets during the normal ping operations if the data buffers being used
    catered to jumbo frame handling.
    
    The memory barrriers are added in between preparation of dma descriptors
    in the jumbo frame handling path to ensure all instructions before
    enabling the dma are complete.
    Signed-off-by: default avatarDeepak Sikri <deepak.sikri@st.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    684901a6
ring_mode.c 3.61 KB