Aw: [PATCH][net-next] net: mediatek: add flow offload for mt7623

2021-04-18 Thread Frank Wunderlich
Hi, any comment? regards Frank > Gesendet: Mittwoch, 31. März 2021 um 15:34 Uhr > Von: "Frank Wunderlich" > Betreff: [PATCH][net-next] net: mediatek: add flow offload for mt7623 > > mt7623 uses offload version 2 too > > tested on Bananapi-R2

Re: [PATCH net-next 2/3] net: ethernet: mtk_eth_soc: missing mutex

2021-04-20 Thread Frank Wunderlich
quot;net: ethernet: mtk_eth_soc: add flow offloading >support") >Reported-by: Frank Wunderlich >Signed-off-by: Pablo Neira Ayuso Hi Pablo, As far we tested it, the mutex does not avoid the hang. It looks a bit better,but at the end it was fixed by this Patch https:/

[PATCH][net-next] net: mediatek: add flow offload for mt7623

2021-03-31 Thread Frank Wunderlich
mt7623 uses offload version 2 too tested on Bananapi-R2 Signed-off-by: Frank Wunderlich --- drivers/net/ethernet/mediatek/mtk_eth_soc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c index

Re: [PATCH RFC net-next 1/3] net: dsa: allow for multiple CPU ports

2021-04-12 Thread Frank Wunderlich
Am 12. April 2021 17:30:58 MESZ schrieb DENG Qingfang : >So we somehow configured default CPU port in dts (by port name). In >my opinion we can just add a default CPU property in dts to specify >it (like Frank Wunderlich did earlier), and fall back to round-robin >if the property is

Re: [PATCH net-next] net: ethernet: mediatek: fix typo in offload code

2021-04-15 Thread Frank Wunderlich
Am 15. April 2021 11:40:05 MESZ schrieb DENG Qingfang : >.key_offset was assigned to .head_offset instead. Fix the typo. > >Fixes: 502e84e2382d ("net: ethernet: mtk_eth_soc: add flow offloading >support") >Signed-off-by: DENG Qingfang Thanks for posting the fix,but imho commit-message is not good

Re: [PATCH v2 net-next] net: ethernet: mediatek: fix a typo bug in flow offloading

2021-04-17 Thread Frank Wunderlich
Tested on Bananapi-r2 (please see my mt7623 patch for supporting offloading) with ~300 iperf3 iterations and uptime >6h Tested-by: Frank Wunderlich regards Frank

[PATCH] net: wireguard: fix error with icmp{,v6}_ndo_send in 5.4

2021-03-15 Thread Frank Wunderlich
From: Frank Wunderlich commit 2019554f9656 introduces implementation of icmp{,v6}_ndo_send in include/linux/icmp{,v6}.h in case of NF_NAT is enabled. Now these functions are defined twice in wireguard. Fix this by hiding code if NF_NAT is set (reverse condition as in icmp*.h) ././net/wireguard

Aw: [PATCH] net: wireguard: fix error with icmp{,v6}_ndo_send in 5.4

2021-03-16 Thread Frank Wunderlich
Hi, sorry, please ignore this wireguard was included with 5.6, my 5.4 uses external wireguard regards Frank

Aw: Re: [PATCH net,v2] net: dsa: mt7530: setup core clock even in TRGMII mode

2021-03-19 Thread Frank Wunderlich
Hi René,Ilya > Gesendet: Freitag, 19. März 2021 um 11:25 Uhr > Von: "René van Dorst" > Hi Ilya, > > Thanks for fixing this issue. > > I remember that Frank also had an issue with TRGMII on his MT7623 ARM board. > I never found why it did not work but this may be also fix his issue > on the MT

[PATCH 0/2] support mt7623 and ipv6

2021-03-22 Thread Frank Wunderlich
From: Frank Wunderlich Extending functionality of recently sent nftables flow offload. This Series contains 2 Patches where the second is for RFC, because i cannot test it, but it is reported by author as working and i should send it Series depend on HW offload Patches: https

[PATCH 2/2] [RFC] net: ethernet: mtk_eth_soc: add ipv6 flow offload support

2021-03-22 Thread Frank Wunderlich
From: Frank Wunderlich adding ipv6 hardware offload support patch by user graphine (https://github.com/graphine27/) http://forum.banana-pi.org/u/graphine/summary Signed-off-by: Frank Wunderlich --- .../net/ethernet/mediatek/mtk_ppe_offload.c | 55 +++ 1 file changed, 55

[PATCH 1/2] net: mediatek: add flow offload for mt7623

2021-03-22 Thread Frank Wunderlich
From: Frank Wunderlich mt7623 uses offload version 2 too tested on Bananapi-R2 Signed-off-by: Frank Wunderlich --- drivers/net/ethernet/mediatek/mtk_eth_soc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek

Re: [PATCH net-next v2 3/7] net: dsa: mt7530: Extend device data ready for adding a new hardware

2020-08-18 Thread Frank Wunderlich
Just a little typo you've inherited from existing code >+/* Setup TX circuit incluing relevant PAD and driving */ including regards Frank

Aw: [PATCH net-next v2 0/7] net-next: dsa: mt7530: add support for MT7531

2020-08-18 Thread Frank Wunderlich
Tested full series on Bananapi-R2+R64 with5.9-rc1 (iperf3 no retransmitts, Throughput >900Mbit/s) Tested-By: Frank Wunderlich maybe you can include the port_change_mtu callback you've send me? or do you want to send it separately regards Frank

Re: [PATCH v2 net-next 0/2] net: mediatek: Add MT7621 TRGMII mode support

2019-06-20 Thread Frank Wunderlich
Tested on Bananapi R2 (mt7623) Tested-by: "Frank Wunderlich" Am 20. Juni 2019 14:21:53 MESZ schrieb "René van Dorst" : >Like many other mediatek SOCs, the MT7621 SOC and the internal MT7530 >switch both supports TRGMII mode. MT7621 TRGMII speed is fix 1200MBit. >

Re: [PATCH v2 net-next 2/2] net: dsa: mt7530: Add MT7621 TRGMII mode support

2019-06-20 Thread Frank Wunderlich
Tested on Bananapi R2 (mt7623) with 5.2-rc5 + net-next Tested-by: Frank Wunderlich Am 20. Juni 2019 14:21:55 MESZ schrieb "René van Dorst" : >This patch add support TRGMII mode for MT7621 internal MT7530 switch. >MT7621 TRGMII has only one fix speed mode of 1200MBit. > >A

Aw: [PATCH net-next v2 0/3] net: dsa: mt7530: Convert to PHYLINK and add support for port 5

2019-08-22 Thread Frank Wunderlich
Hi, tested on BPI-R2 (mt7623) with 2 Problems (already reported to Rene, just to inform everyone)...maybe anybody has an idea - linux-next (i know it's not part of the series, but a pitfall on testing other devices) seems to break power-regulator somewhere here: priv->core_pwr = devm_regulator

Aw: [PATCH net-next v2 0/3] net: dsa: mt7530: Convert to PHYLINK and add support for port 5

2019-08-22 Thread Frank Wunderlich
tested now also on bpi-r64 (mt7622) v0.1 (rtl8367 switch), without linux-next to avoid power-regulator-problems like on bpi-r2 dmesg without warnings/errors caused by this patches link came up as desired iperf3 looks good: 943 Mbits/sec in both directions and no other issues so it is currently o

Aw: [PATCH net-next v3 0/3] net: ethernet: mediatek: convert to PHYLINK

2019-08-23 Thread Frank Wunderlich
tested on bpi-r2 (mt7623/mt7530) and bpi-r64 (mt7622/rtl8367) as reported to rene directly rx-path needs some rework because current rx-speed on bpi-r2 is 865 Mbits/sec instead of ~940 Mbits/sec Tested-by: Frank Wunderlich regards Frank > Gesendet: Freitag, 23. August 2019 um 15:45 Uhr &g

Aw: [PATCH net-next v4 0/3] net: ethernet: mediatek: convert to PHYLINK

2019-08-26 Thread Frank Wunderlich
Tested on Bananapi-R2 (mt7623+mt7530) and Bananapi-R64 v0.1 (mt7622+rtl8367) Tested-by: Frank Wunderlich regards Frank

Aw: [PATCH net-next v3 0/6] net-next: dsa: mt7530: add support for MT7531

2020-09-07 Thread Frank Wunderlich
Hi > Gesendet: Samstag, 05. September 2020 um 10:45 Uhr > Von: "Frank Wunderlich" > similar to bananapi-r2 (mt7530) ... > reverse-mode: > > [ ID] Interval Transfer Bitrate Retr > [ 5] 0.00-10.01 sec 1.05 GBytes 905 Mbits/s

Aw: [PATCH net-next v5 6/6] arm64: dts: mt7622: add mt7531 dsa to bananapi-bpi-r64 board

2020-09-11 Thread Frank Wunderlich
Tested full series on Bananapi-r2 and r64, results as in v3 Tested-By: Frank Wunderlich regards Frank

[PATCH v3] net: ethernet: mtk_eth_soc: fix mtu warning

2020-07-28 Thread Frank Wunderlich
ports") Fixes: 72579e14a1d3 ("net: dsa: don't fail to probe if we couldn't set the MTU") Fixes: 7a4c53bee332 ("net: report invalid mtu value via netlink extack") Signed-off-by: René van Dorst Signed-off-by: Frank Wunderlich --- drivers/net/ethernet/mediatek/mtk_eth_so

Aw: Re: [PATCH] net: ethernet: mtk_eth_soc: Always call mtk_gmac0_rgmii_adjust() for mt7623

2020-07-29 Thread Frank Wunderlich
Hi, Thank you David's to get this finally applied. Add recipient for stable tree as TRGMII on 5.4+ is also broken without this Patch. regards Frank > Gesendet: Mittwoch, 29. Juli 2020 um 02:05 Uhr > Von: "David Miller" Applied.

[PATCH v4] net: ethernet: mtk_eth_soc: fix MTU warnings

2020-07-29 Thread Frank Wunderlich
ports") Fixes: 72579e14a1d3 ("net: dsa: don't fail to probe if we couldn't set the MTU") Fixes: 7a4c53bee332 ("net: report invalid mtu value via netlink extack") Signed-off-by: Landen Chao Signed-off-by: Frank Wunderlich Reviewed-by: Andrew Lunn --- v3->v4 - fix c

[PATCH v4] net: ethernet: mtk_eth_soc: fix MTU warnings

2020-08-04 Thread Frank Wunderlich
ports") Fixes: 72579e14a1d3 ("net: dsa: don't fail to probe if we couldn't set the MTU") Fixes: 7a4c53bee332 ("net: report invalid mtu value via netlink extack") Signed-off-by: Landen Chao Signed-off-by: Frank Wunderlich Reviewed-by: Andrew Lunn --- v3->v4 - fix c

Aw: [PATCH v4] net: ethernet: mtk_eth_soc: fix MTU warnings

2020-08-04 Thread Frank Wunderlich
sorry, send this accidentally while posting my hdmi series v4 (have not deleted patch-file) just ignore this...it's already merged regards Frank

Aw: [PATCH net-next v3 0/6] net-next: dsa: mt7530: add support for MT7531

2020-09-05 Thread Frank Wunderlich
tested full series on Bananapi-r64 (mt7531) running iperf3-server [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 1.09 GBytes 939 Mbits/sec0 sender [ 5] 0.00-10.01 sec 1.09 GBytes 935 Mbits/sec receiver reverse mode (-R

Re: linux-next: Signed-off-by missing for commit in the net tree

2019-01-10 Thread Frank Wunderlich
Should i make v3 with all tags or me as author? Regards Frank

[BUG] kernel panic 4.14.95 in kmem_cache_alloc / build_skb

2019-02-06 Thread Frank Wunderlich
Hi, linux-net-mailinglist for reporting bugs seems not existing anymore and i have not found out the right one..."scripts/get_maintainer.pl -f ./include/linux/skbuff.h" shows only linux-kernel as mailing list which is not specific for network, so sorry, if i'm in the wrong mailinglist. i've re

Re: [PATCH 3/8] net: dsa: adding handling of second CPU-Port

2018-12-23 Thread Frank Wunderlich
ing this connection in devicetree. Regards Frank Mit freundlichen Grüßen Frank Wunderlich

[PATCH] net: ethernet: mediatek: fix warning in phy_start_aneg

2019-01-08 Thread Frank Wunderlich
:deacea10 [ 5.335963] [] (platform_drv_probe) from [] (really_probe+0x2d8/0x424) maybe other boards using this generic driver are affected Signed-off-by: Frank Wunderlich --- drivers/net/ethernet/mediatek/mtk_eth_soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net

Aw: Re: [PATCH] net: ethernet: mediatek: fix warning in phy_start_aneg

2019-01-08 Thread Frank Wunderlich
> In mtk_phy_connect() I would say this complete block can be removed. > All this is handled internally by phylib. > > dev->phydev->autoneg = AUTONEG_ENABLE; > dev->phydev->speed = 0; > dev->phydev->duplex = 0; > > phy_set_max_speed(dev->phydev, SPEED_1000); > phy_

[PATCH v2] net: ethernet: mediatek: fix warning in phy_start_aneg

2019-01-08 Thread Frank Wunderlich
carrier_on/netif_carrier_off in mtk_phy_link_adjust() isn't needed. It's done by phy_link_change() in phylib. Signed-off-by: Frank Wunderlich --- drivers/net/ethernet/mediatek/mtk_eth_soc.c | 16 1 file changed, 16 deletions(-) diff --git a/drivers/net/ethernet/media

[PATCH 2/7] [DSA] add helper functions

2018-12-11 Thread Frank Wunderlich
based on https://github.com/openwrt/openwrt/blob/master/target/linux/mediatek/patches-4.14/0033-dsa-multi-cpu.patch Signed-off-by: Frank Wunderlich --- include/net/dsa.h | 18 ++ net/dsa/dsa2.c| 18 ++ 2 files changed, 36 insertions(+) diff --git a/include

[PATCH 5/7] [DSA] dsa multi cpu (mt7530.c)

2018-12-11 Thread Frank Wunderlich
based on https://github.com/openwrt/openwrt/blob/master/target/linux/mediatek/patches-4.14/0033-dsa-multi-cpu.patch Signed-off-by: Frank Wunderlich --- drivers/net/dsa/mt7530.c | 34 +++--- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/drivers/net

[PATCH 1/7] [DSA] adding fields for holding information about upstream-port

2018-12-11 Thread Frank Wunderlich
based on https://github.com/openwrt/openwrt/blob/master/target/linux/mediatek/patches-4.14/0033-dsa-multi-cpu.patch Signed-off-by: Frank Wunderlich --- include/net/dsa.h | 4 net/dsa/dsa_priv.h | 5 + 2 files changed, 9 insertions(+) diff --git a/include/net/dsa.h b/include/net/dsa.h

[PATCH 6/7] [DSA] tell GDMA when we are turning on the special tag

2018-12-11 Thread Frank Wunderlich
based on https://github.com/openwrt/openwrt/blob/master/target/linux/mediatek/patches-4.14/0044-net-next-dsa-mediatek-tell-GDMA-when-we-are-turning-.patch Signed-off-by: Frank Wunderlich --- drivers/net/dsa/mt7530.c | 6 ++ drivers/net/dsa/mt7530.h | 4 2 files changed, 10 insertions

[PATCH 7/7] [DSA] mt7530 add linking to mdio

2018-12-11 Thread Frank Wunderlich
based on https://github.com/openwrt/openwrt/blob/master/target/linux/mediatek/patches-4.14/0045-net-dsa-mediatek-turn-into-platform-driver.patch Signed-off-by: Frank Wunderlich --- drivers/net/dsa/mt7530.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCH 3/7] [DSA] adding handling of second CPU-Port

2018-12-11 Thread Frank Wunderlich
based on https://github.com/openwrt/openwrt/blob/master/target/linux/mediatek/patches-4.14/0033-dsa-multi-cpu.patch Signed-off-by: Frank Wunderlich --- net/dsa/dsa2.c | 18 ++ net/dsa/slave.c | 3 ++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/net/dsa/dsa2

[PATCH 4/7] [DSA] add support for GMAC2 wired to ext

2018-12-11 Thread Frank Wunderlich
based on https://github.com/openwrt/openwrt/blob/master/target/linux/mediatek/patches-4.14/0032-net-dsa-mediatek-add-support-for-GMAC2-wired-to-ext-.patch Signed-off-by: Frank Wunderlich --- drivers/net/dsa/mt7530.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/dsa/mt7530

Aw: Re: [PATCH 1/7] [DSA] adding fields for holding information about upstream-port

2018-12-12 Thread Frank Wunderlich
Dezember 2018 um 23:37 Uhr > Von: "Florian Fainelli" > An: "Frank Wunderlich" , "Andrew Lunn" > , "Vivien Didelot" , > "David S. Miller" , "Matthias Brugger" > , netdev@vger.kernel.org, > linux-ker...@vger.kernel.org

[PATCH 3/8] net: dsa: adding handling of second CPU-Port

2018-12-14 Thread Frank Wunderlich
this patch adds the core-functionality of multiple cpu-ports currently it uses definition in dts to make connection between cpu and user-port based on https://github.com/openwrt/openwrt/blob/master/target/linux/mediatek/patches-4.14/0033-dsa-multi-cpu.patch Signed-off-by: Frank Wunderlich

[PATCH 7/8] net: dsa: mt7530 add linking to mdio

2018-12-14 Thread Frank Wunderlich
switch (7530) needs to to be linked to mdio-bus based on https://github.com/openwrt/openwrt/blob/master/target/linux/mediatek/patches-4.14/0045-net-dsa-mediatek-turn-into-platform-driver.patch Signed-off-by: Frank Wunderlich --- drivers/net/dsa/mt7530.c | 10 -- 1 file changed, 8

[PATCH 5/8] net: dsa: dsa multi cpu (mt7530.c)

2018-12-14 Thread Frank Wunderlich
implementing changes to mt7530 switch driver for supporting multiple (2) cpu-ports based on https://github.com/openwrt/openwrt/blob/master/target/linux/mediatek/patches-4.14/0033-dsa-multi-cpu.patch Signed-off-by: Frank Wunderlich --- drivers/net/dsa/mt7530.c | 34

[PATCH 4/8] net: dsa: add support for GMAC2 wired to ext

2018-12-14 Thread Frank Wunderlich
cpu-ports of mt7530 need some special flags to be set based on https://github.com/openwrt/openwrt/blob/master/target/linux/mediatek/patches-4.14/0032-net-dsa-mediatek-add-support-for-GMAC2-wired-to-ext-.patch Signed-off-by: Frank Wunderlich --- drivers/net/dsa/mt7530.c | 5 + 1 file

[PATCH 8/8] net: dsa: changes to dts

2018-12-14 Thread Frank Wunderlich
--- arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 29 ++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts index 2b760f90f38c..64f3da148dbb 100644 --- a/arch/arm/boot/dts/m

[PATCH 1/8] net: dsa: adding fields for holding information about upstream-port

2018-12-14 Thread Frank Wunderlich
for multiple cpu-Ports aech port needs storing the the cpu-port to be used this Patch adds the needed fields for this based on https://github.com/openwrt/openwrt/blob/master/target/linux/mediatek/patches-4.14/0033-dsa-multi-cpu.patch Signed-off-by: Frank Wunderlich --- include/net/dsa.h | 4

[PATCH 0/8] adding multiple CPU-Ports

2018-12-14 Thread Frank Wunderlich
ding eth-patches) is uploaded here: https://github.com/frank-w/BPI-R2-4.14/commits/4.20-gmac-test new in v2: - added DTS-changes - added cover-letter - added change of dts-option (default_cpu) currently posted not to full maintainers-list for first review, will do it when patches are ready :)

[PATCH 2/8] net: dsa: add helper functions

2018-12-14 Thread Frank Wunderlich
-cpu.patch Signed-off-by: Frank Wunderlich --- include/net/dsa.h | 18 ++ net/dsa/dsa2.c| 18 ++ 2 files changed, 36 insertions(+) diff --git a/include/net/dsa.h b/include/net/dsa.h index 3efa81e08993..612942ac56de 100644 --- a/include/net/dsa.h +++ b/include

[PATCH 6/8] net: dsa: tell GDMA when we are turning on the special tag

2018-12-14 Thread Frank Wunderlich
-GDMA-when-we-are-turning-.patch Signed-off-by: Frank Wunderlich --- drivers/net/dsa/mt7530.c | 6 ++ drivers/net/dsa/mt7530.h | 4 2 files changed, 10 insertions(+) diff --git a/drivers/net/dsa/mt7530.c b/drivers/net/dsa/mt7530.c index 441320d4d779..83669f53cb36 100644 --- a/drivers/net

Aw: Re: [PATCH 0/8] adding multiple CPU-Ports

2018-12-14 Thread Frank Wunderlich
ees the Problem regards Frank > Gesendet: Freitag, 14. Dezember 2018 um 18:26 Uhr > Von: "Florian Fainelli" > An: "Frank Wunderlich" , "Matthias Brugger" > , netdev@vger.kernel.org, "Sean Wang" > , "Andrew Lunn" , > linux-media

Aw: Re: Re: [PATCH 0/8] adding multiple CPU-Ports

2018-12-15 Thread Frank Wunderlich
Hi, > Von: "Florian Fainelli" > > Yes, this is what I mean with DT is dictating policy. If you have a > properly working DSA switch driver, then all ports are segregated from > one another and there is no cross talk, so there is no risk of e.g: > exposing LAN devices to the WAN accidentally. ho

Aw: Re: Re: [PATCH 0/8] adding multiple CPU-Ports

2018-12-15 Thread Frank Wunderlich
Hi, have tested only my dsa-Patches (no ethernet-changes), and what should i say...it seems to work well. second gmac is recognized, i can have traffic on both and iperf works...without any crash (tried 5 port changes with iperf between). root@bpi-r2:~# ip a

Aw: Re: [BUG] kernel panic 4.14.95 in kmem_cache_alloc / build_skb

2019-02-07 Thread Frank Wunderlich
in the right one? regards Frank > Gesendet: Mittwoch, 06. Februar 2019 um 19:48 Uhr > Von: "Eric Dumazet" > On 02/06/2019 09:36 AM, Frank Wunderlich wrote: > > linux-net-mailinglist for reporting bugs seems not existing anymore and i > > have not fou

[BUG] [FIX] net: dsa: oops in br_vlan_enabled

2019-02-16 Thread Frank Wunderlich
Hi, i've found an oops in 4.19.23/10, seems to be fixed anyhow in 5.0 (also works in 4.14.101) root@bpi-r2:~# ip link add link lan0 name lan0.5 type vlan id 5 root@bpi-r2:~# ip addr add 192.168.5.200/24 brd 192.168.5.255 dev lan0.5 root@bpi-r2:~# ip link set dev lan0 up root@bpi-r2:~# ip link se

Re: Re: [BUG] [FIX] net: dsa: oops in br_vlan_enabled

2019-02-17 Thread Frank Wunderlich
Hi Florian a user from Bananapi-forum has reported the oops and i had reproduced this and patched out this oops. That means not that vlan in bridge works, only no crash. my kernel only conatins the second gmac dsa-patches for mt7530/bpi-r2 i've posted at the end of last year, but the oops also

Aw: Re: [BUG] [FIX] net: dsa: oops in br_vlan_enabled

2019-02-18 Thread Frank Wunderlich
um 00:20 Uhr > Von: "Florian Fainelli" > An: "Frank Wunderlich" , netdev@vger.kernel.org, > "Andrew Lunn" , "Vivien Didelot" > Betreff: Re: [BUG] [FIX] net: dsa: oops in br_vlan_enabled > > > > On 2/17/2019 9:13 AM, Florian

[PATCH] net: ethernet: mtk_eth_soc: fix mtu warning

2020-07-08 Thread Frank Wunderlich
-off-by: René van Dorst Signed-off-by: Frank Wunderlich Fixes: bfcb813203 ("net: dsa: configure the MTU for switch ports") Fixes: 72579e14a1 ("net: dsa: don't fail to probe if we couldn't set the MTU") Fixes: 7a4c53bee3 ("net: report invalid mtu value via netlink

[PATCH v2] net: ethernet: mtk_eth_soc: fix mtu warning

2020-07-08 Thread Frank Wunderlich
: bfcb813203e6 ("net: dsa: configure the MTU for switch ports") Fixes: 72579e14a1d3 ("net: dsa: don't fail to probe if we couldn't set the MTU") Fixes: 7a4c53bee332 ("net: report invalid mtu value via netlink extack") Signed-off-by: René van Dorst Signed-off

Aw: Re: [PATCH v2] net: ethernet: mtk_eth_soc: fix mtu warning

2020-07-09 Thread Frank Wunderlich
> Gesendet: Donnerstag, 09. Juli 2020 um 15:41 Uhr > Von: "Andrew Lunn" > > + eth->netdev[id]->max_mtu = 1536; > > I assume this is enough to make the DSA warning go away, but it is the > true max? I have a similar patch for the FEC driver which i should > post sometime. Reviewing the FEC code

Re: [PATCH v2] net: ethernet: mtk_eth_soc: fix mtu warning

2020-07-09 Thread Frank Wunderlich
Am 9. Juli 2020 22:31:34 MESZ schrieb Russell King - ARM Linux admin : >Are there any plans to solve these warnings for Marvell 88e6xxx DSA >ports? Maybe it's a better idea to restore previous condition? if (ret && ret != -EOPNOTSUPP) Or use another loglevel (dev_dbg) regards Frank