From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 3CA79403C9 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 915D1402A7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UmLdHhpXrFuKOvT1IcIni34J/fCWB9xKWA93NHpp+dI=; b=fTeTwMLPxex7X1dpVWnHV73m4UhdaeSXVaYJ8nQJgsBGigXAP5pcp01ktifXsTPmceimVZjJiCIucMlrur/MTQU8NQmp3rK3JoMYbhE2FyAdxBV2XZG77OT6NXt5COWqvHV0BouT5EitnD909lsf76VmgozoyfGiw8C+ak+bOV6txI911QxWzuuc4lZbMPUml1ENHoEQiXYzU+5a1o6cTDuOhpaXuCwFySb7aQtvkJnmPYRFwtG1JYrLPpIKD3ocUYCpmxcxnW6hCObBjUC0dw2YK0w2Lf7A93HTjWi6huCr7igMSoi3L9shNsbW2hSpDAbJ/swSDv/zJdE9wKUjkg== Date: Tue, 17 Oct 2023 13:58:39 +0300 From: Ido Schimmel Message-ID: References: <20231016131259.3302298-1-idosch@nvidia.com> <20231016131259.3302298-8-idosch@nvidia.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: MIME-Version: 1.0 Subject: Re: [Bridge] [PATCH net-next 07/13] bridge: add MDB get uAPI attributes List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nikolay Aleksandrov Cc: netdev@vger.kernel.org, bridge@lists.linux-foundation.org, edumazet@google.com, mlxsw@nvidia.com, roopa@nvidia.com, kuba@kernel.org, pabeni@redhat.com, davem@davemloft.net On Tue, Oct 17, 2023 at 12:08:30PM +0300, Nikolay Aleksandrov wrote: > On 10/16/23 16:12, Ido Schimmel wrote: > > Add MDB get attributes that correspond to the MDB set attributes used in > > RTM_NEWMDB messages. Specifically, add 'MDBA_GET_ENTRY' which will hold > > a 'struct br_mdb_entry' and 'MDBA_GET_ENTRY_ATTRS' which will hold > > 'MDBE_ATTR_*' attributes that are used as indexes (source IP and source > > VNI). > > > > An example request will look as follows: > > > > [ struct nlmsghdr ] > > [ struct br_port_msg ] > > [ MDBA_GET_ENTRY ] > > struct br_mdb_entry > > [ MDBA_GET_ENTRY_ATTRS ] > > [ MDBE_ATTR_SOURCE ] > > struct in_addr / struct in6_addr > > [ MDBE_ATTR_SRC_VNI ] > > u32 > > > > Could you please add this info as a comment above the enum? > Similar to the enum below it. It'd be nice to have an example > of what's expected. Yes, will add in v2 Thanks