1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/stmicro/stmmac
Furong Xu 8eb301bd7b net: stmmac: enable HW-accelerated VLAN stripping for gmac4 only
Commit 750011e239 ("net: stmmac: Add support for HW-accelerated VLAN
stripping") enables MAC level VLAN tag stripping for all MAC cores, but
leaves set_hw_vlan_mode() and rx_hw_vlan() un-implemented for both gmac
and xgmac.

On gmac and xgmac, ethtool reports rx-vlan-offload is on, both MAC and
driver do nothing about VLAN packets actually, although VLAN works well.

Driver level stripping should be used on gmac and xgmac for now.

Fixes: 750011e239 ("net: stmmac: Add support for HW-accelerated VLAN stripping")
Signed-off-by: Furong Xu <0x1207@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2024-07-03 09:11:06 +01:00
..
chain_mode.c net: stmmac: Remove some unnecessary void pointers 2023-04-13 12:50:46 +02:00
common.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-04-18 13:12:24 -07:00
descs.h
descs_com.h
dwmac-anarion.c net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove 2023-09-18 12:44:36 +01:00
dwmac-dwc-qos-eth.c net: stmmac: dwmac-dwc-qos-eth: use devm_stmmac_probe_config_dt() 2023-09-18 12:44:34 +01:00
dwmac-generic.c net: stmmac: dwmac-generic: use devm_stmmac_pltfr_probe() 2023-09-18 12:44:34 +01:00
dwmac-imx.c net: stmmac: dwmac-imx: set TSO/TBS TX queues default settings 2024-01-30 12:58:12 +01:00
dwmac-ingenic.c net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove 2023-09-18 12:44:36 +01:00
dwmac-intel-plat.c net: ethernet: Use device_get_match_data() 2023-10-13 10:04:53 +01:00
dwmac-intel.c Revert "net: stmmac: Enable Per DMA Channel interrupt" 2024-01-07 17:12:11 -08:00
dwmac-intel.h stmmac: intel: move definitions to dwmac-intel header file 2021-06-12 13:10:52 -07:00
dwmac-ipq806x.c net: stmmac: dwmac-ipq806x: account for rgmii-txid/rxid/id phy-mode 2024-05-08 12:19:54 +01:00
dwmac-loongson.c stmmac: dwmac-loongson: drop useless check for compatible fallback 2023-12-13 10:57:00 +00:00
dwmac-loongson1.c net: stmmac: Add glue layer for Loongson-1 SoC 2023-09-16 11:46:14 +01:00
dwmac-lpc18xx.c net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove 2023-09-18 12:44:36 +01:00
dwmac-mediatek.c net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove 2023-09-18 12:44:36 +01:00
dwmac-meson.c net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove 2023-09-18 12:44:36 +01:00
dwmac-meson8b.c net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove 2023-09-18 12:44:36 +01:00
dwmac-qcom-ethqos.c net: stmmac: dwmac-qcom-ethqos: fix error array size 2024-07-02 15:37:12 +02:00
dwmac-rk.c net: stmmac: dwmac-rk: Remove unused of_gpio.h 2024-03-15 12:14:39 +00:00
dwmac-rzn1.c net: stmmac: add support for RZ/N1 GMAC 2024-05-13 17:20:00 -07:00
dwmac-socfpga.c net: stmmac: dwmac-socfpga: use pcs_init/pcs_exit 2024-05-13 17:20:00 -07:00
dwmac-starfive.c net: stmmac: dwmac-starfive: Add support for JH7100 SoC 2024-01-31 10:51:34 +00:00
dwmac-sti.c net: stmmac: dwmac-sti: use devm_stmmac_probe_config_dt() 2023-09-18 12:44:35 +01:00
dwmac-stm32.c net: stmmac: dwmac-stm32: refactor clock config 2023-10-13 10:03:19 +01:00
dwmac-sun8i.c net: stmmac: Fix IP-cores specific MAC capabilities 2024-04-16 15:24:53 +02:00
dwmac-sunxi.c net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove 2023-09-18 12:44:36 +01:00
dwmac-tegra.c net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove 2023-09-18 12:44:36 +01:00
dwmac-visconti.c net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove 2023-09-18 12:44:36 +01:00
dwmac4.h net: stmmac: Initialize MAC_ONEUS_TIC_COUNTER register 2023-05-09 19:42:59 -07:00
dwmac4_core.c net: stmmac: Rename phylink_get_caps() callback to update_caps() 2024-04-23 12:25:35 +02:00
dwmac4_descs.c net: stmmac: Add support for HW-accelerated VLAN stripping 2023-11-22 10:54:14 +00:00
dwmac4_descs.h
dwmac4_dma.c Revert "net: stmmac: Enable Per DMA Channel interrupt" 2024-01-07 17:12:11 -08:00
dwmac4_dma.h net: stmmac: fix typo in comment 2024-02-29 12:35:45 +01:00
dwmac4_lib.c net: stmmac: protect updates of 64-bit statistics counters 2024-02-07 09:00:34 +00:00
dwmac5.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-12-07 17:53:17 -08:00
dwmac5.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-12-07 17:53:17 -08:00
dwmac100.h net: stmmac: Disable automatic FCS/Pad stripping 2022-09-08 10:12:20 +02:00
dwmac100_core.c net: stmmac: Fix IP-cores specific MAC capabilities 2024-04-16 15:24:53 +02:00
dwmac100_dma.c net: stmmac: use per-queue 64 bit statistics where necessary 2023-07-19 20:51:10 -07:00
dwmac1000.h net: stmmac: Disable automatic FCS/Pad stripping 2022-09-08 10:12:20 +02:00
dwmac1000_core.c net: stmmac: Fix IP-cores specific MAC capabilities 2024-04-16 15:24:53 +02:00
dwmac1000_dma.c net: stmmac: Pass stmmac_priv in some callbacks 2023-04-13 12:50:46 +02:00
dwmac_dma.h net: stmmac: Pass stmmac_priv in some callbacks 2023-04-13 12:50:46 +02:00
dwmac_lib.c net: stmmac: protect updates of 64-bit statistics counters 2024-02-07 09:00:34 +00:00
dwxgmac2.h net: stmmac: xgmac: fix a typo of register name in DPP safety handling 2024-02-06 13:57:28 +01:00
dwxgmac2_core.c net: stmmac: Fix IP-cores specific MAC capabilities 2024-04-16 15:24:53 +02:00
dwxgmac2_descs.c net: stmmac: use per-queue 64 bit statistics where necessary 2023-07-19 20:51:10 -07:00
dwxgmac2_dma.c net: stmmac: protect updates of 64-bit statistics counters 2024-02-07 09:00:34 +00:00
dwxlgmac2.h
enh_desc.c net: stmmac: use per-queue 64 bit statistics where necessary 2023-07-19 20:51:10 -07:00
hwif.c net: stmmac: Fix EST offset for dwmac 5.10 2024-02-21 17:07:59 -08:00
hwif.h net: stmmac: Rename phylink_get_caps() callback to update_caps() 2024-04-23 12:25:35 +02:00
Kconfig net: stmmac: add support for RZ/N1 GMAC 2024-05-13 17:20:00 -07:00
Makefile net: stmmac: add support for RZ/N1 GMAC 2024-05-13 17:20:00 -07:00
mmc.h net: stmmac: mmc_core: Add GMAC mmc tx/rx missing statistics 2024-04-08 15:19:50 +01:00
mmc_core.c net: stmmac: mmc_core: Add GMAC mmc tx/rx missing statistics 2024-04-08 15:19:50 +01:00
norm_desc.c net: stmmac: use per-queue 64 bit statistics where necessary 2023-07-19 20:51:10 -07:00
ring_mode.c net: stmmac: Remove some unnecessary void pointers 2023-04-13 12:50:46 +02:00
stmmac.h net: stmmac: move the EST structure to struct stmmac_priv 2024-05-13 18:33:10 -07:00
stmmac_est.c net: stmmac: est: Per Tx-queue error count for HLBF 2024-01-31 12:24:06 +00:00
stmmac_est.h net: stmmac: Refactor EST implementation 2023-12-04 18:37:39 -08:00
stmmac_ethtool.c net: stmmac: mmc_core: Add GMAC mmc tx/rx missing statistics 2024-04-08 15:19:50 +01:00
stmmac_hwtstamp.c net: stmmac: Assign configured channel value to EXTTS event 2024-06-20 11:56:03 +02:00
stmmac_main.c net: stmmac: enable HW-accelerated VLAN stripping for gmac4 only 2024-07-03 09:11:06 +01:00
stmmac_mdio.c net: stmmac: introduce pcs_init/pcs_exit stmmac operations 2024-05-13 17:19:59 -07:00
stmmac_pci.c net: stmmac: replace the tso_en field with a flag 2023-07-13 20:57:14 -07:00
stmmac_pcs.h net: stmmac: dwmac-qcom-ethqos: Add support for 2.5G SGMII 2024-02-23 10:53:45 +00:00
stmmac_platform.c net: stmmac: Add driver support for common safety IRQ 2024-02-12 11:35:15 +00:00
stmmac_platform.h net: stmmac: make stmmac_{probe|remove}_config_dt static 2023-09-18 12:44:36 +01:00
stmmac_ptp.c net: stmmac: move the EST structure to struct stmmac_priv 2024-05-13 18:33:10 -07:00
stmmac_ptp.h net: stmmac: use correct PPS capture input index 2023-10-19 13:01:33 +02:00
stmmac_selftests.c netdev: replace napi_reschedule with napi_schedule 2023-10-11 17:28:06 -07:00
stmmac_tc.c net: stmmac: No need to calculate speed divider when offload is disabled 2024-06-18 17:51:52 -07:00
stmmac_xdp.c net: stmmac: fix call trace when stmmac_xdp_xmit() is invoked 2023-05-25 21:01:35 -07:00
stmmac_xdp.h net: stmmac: Enable RX via AF_XDP zero-copy 2021-04-13 15:06:51 -07:00