linux/drivers/net/ethernet/ti
Matthias Schiffer 7e777b1b01 net: ethernet: ti: am65-cpsw: set correct devlink flavour for unused ports
am65_cpsw_nuss_register_ndevs() skips calling devlink_port_type_eth_set()
for ports without assigned netdev, triggering the following warning when
DEVLINK_PORT_TYPE_WARN_TIMEOUT elapses after 3600s:

    Type was not set for devlink port.
    WARNING: CPU: 0 PID: 129 at net/core/devlink.c:8095 devlink_port_type_warn+0x18/0x30

Fixes: 0680e20af5 ("net: ethernet: ti: am65-cpsw: Fix devlink port register sequence")
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-10-12 09:05:04 +01:00
..
am65-cpsw-ethtool.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
am65-cpsw-nuss.c net: ethernet: ti: am65-cpsw: set correct devlink flavour for unused ports 2022-10-12 09:05:04 +01:00
am65-cpsw-nuss.h net: ethernet: ti: am65-cpsw: Add support for J7200 CPSW5G 2022-08-24 09:52:04 +01:00
am65-cpsw-qos.c ethernet/ti: delete if NULL check befort devm_kfree 2022-05-17 11:19:15 +02:00
am65-cpsw-qos.h net: ethernet: ti: am65-cpsw: enable bc/mc storm prevention support 2022-04-13 12:42:39 +01:00
am65-cpsw-switchdev.c net: ti: am65-cpsw-nuss: remove guards against !BRIDGE_VLAN_INFO_BRENTRY 2022-02-17 14:17:10 +00:00
am65-cpsw-switchdev.h net: ti: am65-cpsw-nuss: Add switchdev support 2021-02-11 17:52:13 -08:00
am65-cpts.c net: ethernet: ti: am65-cpts: Switch to use dev_err_probe() helper 2022-09-21 13:50:03 +01:00
am65-cpts.h
cpmac.c net: cpmac: Add __init/__exit annotations to module init/exit funcs 2022-09-29 13:39:58 +02:00
cpsw_ale.c drivers: net: cpsw: ale: add broadcast/multicast rate limit support 2022-04-13 12:42:39 +01:00
cpsw_ale.h drivers: net: cpsw: ale: add broadcast/multicast rate limit support 2022-04-13 12:42:39 +01:00
cpsw_ethtool.c drivers: ethernet: cpsw: fix panic when interrupt coaleceing is set via ethtool 2022-03-23 10:46:42 -07:00
cpsw_new.c net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
cpsw_priv.c eth: cpsw: remove a copy of the NAPI_POLL_WEIGHT define 2022-04-29 11:56:41 +01:00
cpsw_priv.h eth: cpsw: remove a copy of the NAPI_POLL_WEIGHT define 2022-04-29 11:56:41 +01:00
cpsw_sl.c
cpsw_sl.h
cpsw_switchdev.c net: ti: cpsw: remove guards against !BRIDGE_VLAN_INFO_BRENTRY 2022-02-17 14:17:10 +00:00
cpsw_switchdev.h
cpsw-common.c
cpsw-phy-sel.c net: ethernet: ti: cpsw-phy-sel: Use devm_platform_ioremap_resource_byname() 2021-06-09 15:27:55 -07:00
cpsw.c net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
cpsw.h
cpts.c net: ethernet: ti: cpts: Handle error for clk_enable 2022-03-09 12:12:46 +00:00
cpts.h
davinci_cpdma.c net: ethernet: ti: davinci_cpdma: revert "drop frame padding" 2021-08-06 16:18:15 -07:00
davinci_cpdma.h net: ethernet: ti: davinci_cpdma: revert "drop frame padding" 2021-08-06 16:18:15 -07:00
davinci_emac.c net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
davinci_mdio.c net: ethernet: ti: davinci_mdio: Add workaround for errata i2329 2022-08-22 12:52:06 +01:00
k3-cppi-desc-pool.c
k3-cppi-desc-pool.h
Kconfig net: ethernet: ti: davinci_mdio: fix build for mdio bitbang uses 2022-08-24 18:44:24 -07:00
Makefile net: ti: am65-cpsw-nuss: Add switchdev support 2021-02-11 17:52:13 -08:00
netcp_core.c net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
netcp_ethss.c net_tstamp: add new flag HWTSTAMP_FLAG_BONDED_PHC_INDEX 2021-12-14 12:28:24 +00:00
netcp_sgmii.c
netcp_xgbepcsr.c
netcp.h
tlan.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
tlan.h