linux/drivers/net/ethernet/freescale
Vladimir Oltean e378f4967c net: enetc: make sure all traffic classes can send large frames
The enetc driver does not implement .ndo_change_mtu, instead it
configures the MAC register field PTC{Traffic Class}MSDUR[MAXSDU]
statically to a large value during probe time.

The driver used to configure only the max SDU for traffic class 0, and
that was fine while the driver could only use traffic class 0. But with
the introduction of mqprio, sending a large frame into any other TC than
0 is broken.

This patch fixes that by replicating per traffic class the static
configuration done in enetc_configure_port_mac().

Fixes: cbe9e83594 ("enetc: Enable TC offloading with mqprio")
Reported-by: Richie Pearn <richard.pearn@nxp.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: <Claudiu Manoil <claudiu.manoil@nxp.com>
Link: https://lore.kernel.org/r/20211020173340.1089992-1-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-10-21 06:44:33 -07:00
..
dpaa ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
dpaa2 dpaa2-eth: Replace strlcpy with strscpy 2021-08-31 11:30:53 +01:00
enetc net: enetc: make sure all traffic classes can send large frames 2021-10-21 06:44:33 -07:00
fman fsl/fman: Add fibre support 2021-07-20 07:16:45 -07:00
fs_enet dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
fec_main.c net: freescale: drop unneeded MODULE_ALIAS 2021-09-19 13:01:40 +01:00
fec_mpc52xx_phy.c
fec_mpc52xx.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
fec_mpc52xx.h
fec_ptp.c net: fec_ptp: fix issue caused by refactor the fec_devtype 2021-06-16 12:39:03 -07:00
fec.h net: fec: add WoL support for i.MX8MQ 2021-08-13 16:10:31 -07:00
fsl_pq_mdio.c net: freescale: convert comma to semicolon 2020-12-09 16:23:08 -08:00
gianfar_ethtool.c ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
gianfar.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
gianfar.h net: gianfar: Implement rx_missed_errors counter 2021-06-17 11:39:48 -07:00
Kconfig ethernet: fix PTP_1588_CLOCK dependencies 2021-08-13 17:49:05 -07:00
Makefile net: enetc: fix link error again 2021-04-22 13:23:07 -07:00
ucc_geth_ethtool.c
ucc_geth.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
ucc_geth.h ethernet: ucc_geth: simplify rx/tx allocations 2021-01-21 12:19:56 -08:00
xgmac_mdio.c net: mdiobus: withdraw fwnode_mdbiobus_register 2021-06-25 11:46:29 -07:00