All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Machata <petrm@nvidia.com>
To: <netdev-bot+sashiko@kernel.org>
Cc: <petrm@nvidia.com>, <davem@davemloft.net>, <edumazet@kernel.org>,
	<kuba@kernel.org>, <pabeni@redhat.com>, <horms@kernel.org>,
	<netdev@vger.kernel.org>, <andrew+netdev@lunn.ch>,
	<razor@blackwall.org>, <bridge@lists.linux.dev>,
	<idosch@nvidia.com>, <aroulin@nvidia.com>, <mlxsw@nvidia.com>,
	<shuah@kernel.org>, <linux-kselftest@vger.kernel.org>
Subject: Re: [PATCH net-next v2 10/13] netlink: specs: rt-neigh: Extend the delneigh request attributes
Date: Tue, 1 Dec 2026 19:12:22 +0100	[thread overview]
Message-ID: <87bj74uayh.fsf@pmachata.org> (raw)
In-Reply-To: <179613063220.3146.17330272143922251200@kernel.org> (netdev-bot's message of "Tue, 01 Dec 2026 13:10:32 +0000")

netdev-bot+sashiko@kernel.org writes:

>> diff --git a/Documentation/netlink/specs/rt-neigh.yaml b/Documentation/netlink/specs/rt-neigh.yaml
>> index 7929e667cc7a6..4dd4e3d997f09 100644
>> --- a/Documentation/netlink/specs/rt-neigh.yaml
>> +++ b/Documentation/netlink/specs/rt-neigh.yaml
>> @@ -380,7 +380,11 @@ operations:
>>            value: 29
>>            attributes:
>>              - dst
>> +            - lladdr
>> +            - vlan
>>              - ifindex
>> +            - ndm-state-mask
>> +            - ndm-flags-mask
>
> [Severity: Medium]
> The commit message says:
>
>   "The kernel accepts more attributes in an RTM_DELNEIGH request than the
>   spec lists."
>
> Should port, vni, src-vni and nh-id be added to this list too? This
> patch covers what the bridge driver reads. The VXLAN driver, which
> RTM_DELNEIGH also reaches, reads four more attributes from the delete
> request.

I don't need those attributes, so I didn't add them. Usually unnecessary
interfaces are not added.

> rt-neigh is built by the C YNL code generator. Without these four
> attributes in the list, the generated delneigh request has no fields
> for them. That means a C YNL user can't build any of these requests:

The first C YNL user can add the attributes they are missing.

  reply	other threads:[~2026-12-01 18:13 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 13:03 [PATCH net-next v2 00/13] net: Report requester's port ID in FDB notifications Petr Machata
2026-11-30 13:03 ` [PATCH net-next v2 01/13] net: Introduce struct ndo_fdb_parms Petr Machata
2026-12-01 13:10   ` netdev-bot+sashiko
2026-12-01 18:12     ` Petr Machata
2026-12-01 18:15       ` Petr Machata
2026-11-30 13:03 ` [PATCH net-next v2 02/13] net: Pass struct ndo_fdb_parms to ndo_dflt_fdb_{add, del}() Petr Machata
2026-11-30 13:03 ` [PATCH net-next v2 03/13] net: Pass portid to ndo_fdb_get through the structure Petr Machata
2026-11-30 13:03 ` [PATCH net-next v2 04/13] net: bridge: Pass struct ndo_fdb_parms a bit further Petr Machata
2026-11-30 13:03 ` [PATCH net-next v2 05/13] net: bridge: Pass portid through FDB notifications Petr Machata
2026-11-30 13:03 ` [PATCH net-next v2 06/13] net: vxlan: " Petr Machata
2026-12-01 13:10   ` netdev-bot+sashiko
2026-12-01 18:11     ` Petr Machata
2026-11-30 13:03 ` [PATCH net-next v2 07/13] net: rtnetlink: Report port ID in bridge and VXLAN " Petr Machata
2026-11-30 13:03 ` [PATCH net-next v2 08/13] net: rtnetlink: Report port ID in bulk FDB delete notifications Petr Machata
2026-11-30 13:03 ` [PATCH net-next v2 09/13] net: rtnetlink: Report port ID in fallback FDB notifications Petr Machata
2026-11-30 13:03 ` [PATCH net-next v2 10/13] netlink: specs: rt-neigh: Extend the delneigh request attributes Petr Machata
2026-12-01 13:10   ` netdev-bot+sashiko
2026-12-01 18:12     ` Petr Machata [this message]
2026-11-30 13:03 ` [PATCH net-next v2 11/13] tools: ynl: Add NLM_F_BULK Petr Machata
2026-11-30 13:03 ` [PATCH net-next v2 12/13] selftests: net: lib: py: Add RtnlNeighFamily Petr Machata
2026-11-30 13:03 ` [PATCH net-next v2 13/13] selftests: net: Add a test for port ID in FDB notifications Petr Machata
2026-12-01 13:10   ` netdev-bot+sashiko
2026-12-01 18:10     ` Petr Machata
2026-11-30 13:24 ` [PATCH net-next v2 00/13] net: Report requester's " Przemek Kitszel

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=87bj74uayh.fsf@pmachata.org \
    --to=petrm@nvidia.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=aroulin@nvidia.com \
    --cc=bridge@lists.linux.dev \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=horms@kernel.org \
    --cc=idosch@nvidia.com \
    --cc=kuba@kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=mlxsw@nvidia.com \
    --cc=netdev-bot+sashiko@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=razor@blackwall.org \
    --cc=shuah@kernel.org \
    /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.