]> git.baikalelectronics.ru Git - kernel.git/commit
net: enetc: set MAC RX FIFO to recommended value
authorAlex Marginean <alexandru.marginean@nxp.com>
Sun, 7 Mar 2021 13:23:38 +0000 (15:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Mar 2021 20:03:42 +0000 (12:03 -0800)
commitdc05587df7eaba65250b6cb666d9a4222f7c703c
tree14fb6d7369019d54757954911f8905b06792ff64
parent1e983c6ceda7d03eb34e5f7dff3567f7262e5fc7
net: enetc: set MAC RX FIFO to recommended value

On LS1028A, the MAC RX FIFO defaults to the value 2, which is too high
and may lead to RX lock-up under traffic at a rate higher than 6 Gbps.
Set it to 1 instead, as recommended by the hardware design team and by
later versions of the ENETC block guide.

Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
Reviewed-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Reviewed-by: Jason Liu <jason.hui.liu@nxp.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/enetc/enetc_hw.h
drivers/net/ethernet/freescale/enetc/enetc_pf.c