From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Danielle Ratson <danieller@nvidia.com>
Cc: Phil Sutter <phil@nwl.cc>,
"netfilter-devel@vger.kernel.org"
<netfilter-devel@vger.kernel.org>, "fw@strlen.de" <fw@strlen.de>,
mlxsw <mlxsw@nvidia.com>
Subject: Re: [PATCH libmnl] src: attr: Add mnl_attr_get_uint() function
Date: Mon, 30 Sep 2024 12:28:05 +0200 [thread overview]
Message-ID: <Zvp9NShxCERRPDdi@calendula> (raw)
In-Reply-To: <DM6PR12MB4516F083558D7AB3466FAF9ED8752@DM6PR12MB4516.namprd12.prod.outlook.com>
On Sun, Sep 29, 2024 at 10:42:44AM +0000, Danielle Ratson wrote:
> Hi,
>
> Is there a plan to build a new version soon?
> I am asking since I am planning to use this function in ethtool.
ASAP
> Thanks,
> Danielle
>
> > -----Original Message-----
> > From: Phil Sutter <phil@nwl.cc>
> > Sent: Wednesday, 31 July 2024 10:15
> > To: Danielle Ratson <danieller@nvidia.com>
> > Cc: netfilter-devel@vger.kernel.org; pablo@netfilter.org; fw@strlen.de; mlxsw
> > <mlxsw@nvidia.com>
> > Subject: Re: [PATCH libmnl] src: attr: Add mnl_attr_get_uint() function
> >
> > On Wed, Jul 31, 2024 at 09:35:51AM +0300, Danielle Ratson wrote:
> > > NLA_UINT attributes have a 4-byte payload if possible, and an 8-byte
> > > one if necessary.
> > >
> > > There are some NLA_UINT attributes that lack an appropriate getter
> > function.
> > >
> > > Add a function mnl_attr_get_uint() to cover that extract these. Since
> > > we need to dispatch on length anyway, make the getter truly universal
> > > by supporting also u8 and u16.
> > >
> > > Signed-off-by: Danielle Ratson <danieller@nvidia.com>
> >
> > Patch applied, thanks!
next prev parent reply other threads:[~2024-09-30 10:28 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-31 6:35 [PATCH libmnl] src: attr: Add mnl_attr_get_uint() function Danielle Ratson
2024-07-31 7:14 ` Phil Sutter
2024-09-29 10:42 ` Danielle Ratson
2024-09-30 10:28 ` Pablo Neira Ayuso [this message]
2024-09-30 10:56 ` Pablo Neira Ayuso
2024-09-30 11:45 ` Jakub Kicinski
2024-09-30 12:48 ` Pablo Neira Ayuso
2024-09-30 16:25 ` Petr Machata
2024-09-30 17:01 ` Pablo Neira Ayuso
2024-09-30 17:10 ` Pablo Neira Ayuso
2024-09-30 17:52 ` Pablo Neira Ayuso
2024-10-01 8:16 ` Petr Machata
2024-10-01 7:51 ` Petr Machata
2024-10-01 9:19 ` Danielle Ratson
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=Zvp9NShxCERRPDdi@calendula \
--to=pablo@netfilter.org \
--cc=danieller@nvidia.com \
--cc=fw@strlen.de \
--cc=mlxsw@nvidia.com \
--cc=netfilter-devel@vger.kernel.org \
--cc=phil@nwl.cc \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.