From: <Arun.Ramadoss@microchip.com>
To: <andrew@lunn.ch>, <olteanv@gmail.com>, <davem@davemloft.net>,
<linux@armlinux.org.uk>, <conor+dt@kernel.org>,
<Woojung.Huh@microchip.com>, <robh@kernel.org>,
<krzk+dt@kernel.org>, <f.fainelli@gmail.com>, <kuba@kernel.org>,
<vtpieter@gmail.com>, <UNGLinuxDriver@microchip.com>,
<marex@denx.de>, <edumazet@google.com>, <pabeni@redhat.com>
Cc: <pieter.van.trappen@cern.ch>, <devicetree@vger.kernel.org>,
<netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH net-next v3 5/5] net: dsa: microchip: apply KSZ87xx family fixes wrt datasheet
Date: Wed, 7 Aug 2024 03:41:21 +0000 [thread overview]
Message-ID: <0ebe8136f9d088fc9968e5438af5640382c024ac.camel@microchip.com> (raw)
In-Reply-To: <20240806132606.1438953-6-vtpieter@gmail.com>
Hi Pieter,
On Tue, 2024-08-06 at 15:25 +0200, vtpieter@gmail.com wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you
> know the content is safe
>
> From: Pieter Van Trappen <pieter.van.trappen@cern.ch>
>
> The KSZ87xx switches have 32 entries and not 8. This fixes -ENOSPC
> errors from ksz8_add_sta_mac when configured as a bridge.
>
> Add a new ksz87xx_dev_ops structure to be able to use the
> ksz_r_mib_stat64 pointer for this family; this corrects a wrong
> mib->counters cast to ksz88xx_stats_raw. This fixes iproute2
> statistics.
>
> Signed-off-by: Pieter Van Trappen <pieter.van.trappen@cern.ch>
> ---
>
> static void ksz9477_phylink_mac_link_up(struct phylink_config
> *config,
> struct phy_device *phydev,
> unsigned int mode,
> @@ -1262,12 +1297,12 @@ const struct ksz_chip_data ksz_switch_chips[]
> = {
> .dev_name = "KSZ8795",
> .num_vlans = 4096,
> .num_alus = 0,
> - .num_statics = 8,
> + .num_statics = 32,
> .cpu_ports = 0x10, /* can be configured as cpu
> port */
> .port_cnt = 5, /* total cpu and user ports
> */
> .num_tx_queues = 4,
> .num_ipms = 4,
> - .ops = &ksz8_dev_ops,
Why don't we rename ksz8_dev_ops also like KSZ88x3_dev_ops or
KSZ88xx_dev_ops, since it is now used only by KSZ8863 and KSZ8873
switches.
next prev parent reply other threads:[~2024-08-07 3:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-06 13:25 [PATCH net-next v3 0/5] net: dsa: microchip: ksz8795: add Wake on LAN support vtpieter
2024-08-06 13:25 ` [PATCH net-next v3 1/5] dt-bindings: net: dsa: microchip: add microchip,pme-active-high flag vtpieter
2024-08-06 13:25 ` [PATCH net-next v3 2/5] net: dsa: microchip: move KSZ9477 WoL functions to ksz_common vtpieter
2024-08-07 3:50 ` Arun.Ramadoss
2024-08-06 13:25 ` [PATCH net-next v3 3/5] net: dsa: microchip: generalize KSZ9477 WoL functions at ksz_common vtpieter
2024-08-07 3:47 ` Arun.Ramadoss
2024-08-06 13:25 ` [PATCH net-next v3 4/5] net: dsa: microchip: add WoL support for KSZ87xx family vtpieter
2024-08-07 3:56 ` Arun.Ramadoss
2024-08-08 9:37 ` Pieter
2024-08-06 13:25 ` [PATCH net-next v3 5/5] net: dsa: microchip: apply KSZ87xx family fixes wrt datasheet vtpieter
2024-08-07 3:41 ` Arun.Ramadoss [this message]
2024-08-08 9:28 ` Pieter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0ebe8136f9d088fc9968e5438af5640382c024ac.camel@microchip.com \
--to=arun.ramadoss@microchip.com \
--cc=UNGLinuxDriver@microchip.com \
--cc=Woojung.Huh@microchip.com \
--cc=andrew@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=f.fainelli@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=marex@denx.de \
--cc=netdev@vger.kernel.org \
--cc=olteanv@gmail.com \
--cc=pabeni@redhat.com \
--cc=pieter.van.trappen@cern.ch \
--cc=robh@kernel.org \
--cc=vtpieter@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®