mbox series

[net-next,0/2] net: dsa: hellcreek: Report tables sizes

Message ID 20210130135934.22870-1-kurt@kmk-computers.de (mailing list archive)
Headers show
Series net: dsa: hellcreek: Report tables sizes | expand

Message

Kurt Kanzenbach Jan. 30, 2021, 1:59 p.m. UTC
Hi,

Florian, Andrew and Vladimir suggested at some point to use devlink for
reporting tables, features and debugging counters instead of using debugfs and
printk.

So, start by reporting the VLAN and FDB table sizes.

Thanks,
Kurt

Kurt Kanzenbach (2):
  net: dsa: hellcreek: Report VLAN table occupancy
  net: dsa: hellcreek: Report FDB table occupancy

 drivers/net/dsa/hirschmann/hellcreek.c | 99 ++++++++++++++++++++++++--
 drivers/net/dsa/hirschmann/hellcreek.h |  6 ++
 2 files changed, 101 insertions(+), 4 deletions(-)

Comments

Vladimir Oltean Jan. 31, 2021, 9:28 p.m. UTC | #1
On Sat, Jan 30, 2021 at 02:59:32PM +0100, Kurt Kanzenbach wrote:
> Florian, Andrew and Vladimir suggested at some point to use devlink for
> reporting tables, features and debugging counters instead of using debugfs and
> printk.
> 
> So, start by reporting the VLAN and FDB table sizes.

I don't remember having suggested that, but nonetheless it doesn't seem
like a bad idea.

By the way, your email landed in my spam folder, I just noticed the
patches by accident on patchwork.

Sorry, I am not competent enough in email headers to tell you the reason
why gmail flagged you.

	Why is this message in spam?
	It is in violation of Google's recommended email sender guidelines.
Kurt Kanzenbach Feb. 1, 2021, 4:56 p.m. UTC | #2
On Sun Jan 31 2021, Vladimir Oltean wrote:
> On Sat, Jan 30, 2021 at 02:59:32PM +0100, Kurt Kanzenbach wrote:
>> Florian, Andrew and Vladimir suggested at some point to use devlink for
>> reporting tables, features and debugging counters instead of using debugfs and
>> printk.
>> 
>> So, start by reporting the VLAN and FDB table sizes.
>
> I don't remember having suggested that, but nonetheless it doesn't seem
> like a bad idea.

If I remember correctly, you also mentioned to use devlink to dump the
databases via regions.

>
> By the way, your email landed in my spam folder, I just noticed the
> patches by accident on patchwork.
>
> Sorry, I am not competent enough in email headers to tell you the reason
> why gmail flagged you.
>
> 	Why is this message in spam?
> 	It is in violation of Google's recommended email sender guidelines.
>

Thanks. I'll look into my setup.

Thanks,
Kurt
patchwork-bot+netdevbpf@kernel.org Feb. 2, 2021, 2:40 a.m. UTC | #3
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Sat, 30 Jan 2021 14:59:32 +0100 you wrote:
> Hi,
> 
> Florian, Andrew and Vladimir suggested at some point to use devlink for
> reporting tables, features and debugging counters instead of using debugfs and
> printk.
> 
> So, start by reporting the VLAN and FDB table sizes.
> 
> [...]

Here is the summary with links:
  - [net-next,1/2] net: dsa: hellcreek: Report VLAN table occupancy
    https://git.kernel.org/netdev/net-next/c/7f976d5cf16d
  - [net-next,2/2] net: dsa: hellcreek: Report FDB table occupancy
    https://git.kernel.org/netdev/net-next/c/8486e83fe1d8

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html