linux_dsm_epyc7002/drivers/net/ethernet/freescale
Andrew Lunn fbbeefdd21 net: fec: Allow reception of frames bigger than 1522 bytes
The FEC Receive Control Register has a 14 bit field indicating the
longest frame that may be received. It is being set to 1522. Frames
longer than this are discarded, but counted as being in error.

When using DSA, frames from the switch has an additional header,
either 4 or 8 bytes if a Marvell switch is used. Thus a full MTU frame
of 1522 bytes received by the switch on a port becomes 1530 bytes when
passed to the host via the FEC interface.

Change the maximum receive size to 2048 - 64, where 64 is the maximum
rx_alignment applied on the receive buffer for AVB capable FEC
cores. Use this value also for the maximum receive buffer size. The
driver is already allocating a receive SKB of 2048 bytes, so this
change should not have any significant effects.

Tested on imx51, imx6, vf610.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-07-30 19:26:01 -07:00
..
dpaa net: Convert to using %pOF instead of full_name 2017-07-24 13:41:48 -07:00
fman net: Convert to using %pOF instead of full_name 2017-07-24 13:41:48 -07:00
fs_enet
fec_main.c net: fec: Allow reception of frames bigger than 1522 bytes 2017-07-30 19:26:01 -07:00
fec_mpc52xx_phy.c
fec_mpc52xx.c net: Convert to using %pOF instead of full_name 2017-07-24 13:41:48 -07:00
fec_mpc52xx.h
fec_ptp.c
fec.h net: fec: Clear and enable MIB counters on imx51 2017-06-07 10:06:52 -04:00
fsl_pq_mdio.c net: Convert to using %pOF instead of full_name 2017-07-24 13:41:48 -07:00
gianfar_ethtool.c
gianfar_ptp.c
gianfar.c net: freescale: gianfar : constify dev_pm_ops structures. 2017-06-29 15:48:51 -04:00
gianfar.h
Kconfig
Makefile
ucc_geth_ethtool.c net: phy: Make phy_ethtool_ksettings_get return void 2017-06-13 12:59:06 -04:00
ucc_geth.c net: ethernet: ucc_geth: fix MEM_PART_MURAM mode 2017-04-30 01:26:32 -05:00
ucc_geth.h
xgmac_mdio.c