[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZVNPi7pmJIDJ6Ms7@swarup-virtual-machine>
Date: Tue, 14 Nov 2023 16:14:27 +0530
From: swarup <swarupkotikalapudi@...il.com>
To: Paolo Abeni <pabeni@...hat.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
jiri@...nulli.us, netdev@...r.kernel.org,
linux-kernel-mentees@...ts.linuxfoundation.org
Subject: Re: [PATCH] netlink: specs: devlink: add missing attributes in
devlink.yaml and re-generate the related code
eOn Tue, Nov 14, 2023 at 10:45:23AM +0100, Paolo Abeni wrote:
> On Mon, 2023-11-13 at 12:09 +0530, Swarup Laxman Kotiaklapudi wrote:
> > Add missing attributes in devlink.yaml.
> >
> > Re-generate the related devlink-user.[ch] code.
> >
> > trap-get command prints nested attributes.
> >
> > Test result with trap-get command:
> >
> > sudo ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/devlink.yaml
> > --do trap-get --json '{"bus-name": "netdevsim", "dev-name": "netdevsim1",
> > "trap-name": "ttl_value_is_too_small"}' --process-unknown
> >
> > {'attr-stats': {'rx-bytes': 30931292, 'rx-dropped': 87,
> > 'rx-packets': 217826},
> > 'bus-name': 'netdevsim',
> > 'dev-name': 'netdevsim1',
> > 'trap-action': 'trap',
> > 'trap-generic': True,
> > 'trap-group-name': 'l3_exceptions',
> > 'trap-metadata': {'metadata-type-in-port': True},
> > 'trap-name': 'ttl_value_is_too_small',
> > 'trap-type': 'exception'}
> >
> > Signed-off-by: Swarup Laxman Kotiaklapudi <swarupkotikalapudi@...il.com>
> > Suggested-by: Jiri Pirko <jiri@...nulli.us>
>
> Please insert the target tree in the subj prefix (in this case 'net-
> next')
>
> Does not apply cleanly to net-next, please rebase it.
>
> Thanks,
>
> Paolo
>
Hi Paolo,
I have some emergency,
hence will not have access to computer for next 2-3 days,
once i am back, i will rebase and submit the patch again.
Thanks,
Swarup
Powered by blists - more mailing lists