From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=198.175.65.11 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796044652; b=TTfxM+JPAnq6iTecaCaPzUeSkaSRM50oGKFB6Il0sCNWIaG3V2VsAok0XoDvPQwNgSYJ B31BabANn5OaeKV0xR4DiDDHuPV/r5/sQkEJAuIxsRF1oI+EUhnsr3xKylFkbgxnxdE6r ce2fDSYVtLWTKFEV3CEcFXCrnAELul/8/vcwEpts75gh+fB22k2KWYWZn5pKEWeXs6Ie1 T4+S/VcRH1plHwU9VoOd0FCiH7lrPCaTTXs/lxsCuUMvv413pfQdJMURhmy0X3WKxYJUf PkgfpFQe1OqYVVmhxO7HjPFOv78vbY35cLAjrO+RAcRQSytkrNmO6FNaAVOAniP9TRA== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796044652; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Received: Received:Received:Received:Message-ID:Date:User-Agent:Subject:To:CC: References:From:Content-Language:In-Reply-To:Content-Type: Content-Transfer-Encoding:X-ClientProxiedBy:MIME-Version: X-MS-PublicTrafficType:X-MS-TrafficTypeDiagnostic: X-MS-Office365-Filtering-Correlation-Id:X-MS-Exchange-SenderADCheck: X-MS-Exchange-AntiSpam-Relay:X-Microsoft-Antispam: X-Microsoft-Antispam-Message-Info:X-Forefront-Antispam-Report: X-MS-Exchange-AntiSpam-MessageData-ChunkCount: X-MS-Exchange-AntiSpam-MessageData-0:X-Exchange-RoutingPolicyChecked: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-OriginalArrivalTime: X-MS-Exchange-CrossTenant-FromEntityHeader: X-MS-Exchange-CrossTenant-Id:X-MS-Exchange-CrossTenant-MailboxType: X-MS-Exchange-CrossTenant-UserPrincipalName: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; bh=nWf5EBWCs/E8xaP4ibJbDA6bixgceSordxps9yHeYYw=; b=C4x8qU1Nx8AvZiI4L/luo6Q0KXBsVnZemlOPeCI1v0tAlaoZPAtZWZ/i9Kbh1kd6ZZLP v4S3PqDZ3gn21cqOvfilrLzrzdhwejgtC5nELTSyYYftXqJr1vbj2+LtYNhdOO5u1BZMj NG76EGgIDvUEWz05dw7sIzu1XTDJ/Fufi+TZ5/GbW0Siwn27DzkrvLaF81+/Nu3IRT8E+ fNSEZcwVEI8qXZc3OLrrPjsY2/1PgoctxM5aPGE27AAQlyKX/wnW/VU+IjLwUOC6Ifo9G 6+jxAqYbKembUkPLap08RtNLKPYGRahYZUlrkiFNAi4fAYt8t4zhgPRuK2IT8/0ZWHw== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=GB9AzAMq; arc=pass header.oldest-pass=0 smtp.remote-ip=198.175.65.11 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 647E9606A327 for ; Mon, 30 Nov 2026 13:17:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 647E9606A327 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=GB9AzAMq DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796044650; x=1827580650; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=nWf5EBWCs/E8xaP4ibJbDA6bixgceSordxps9yHeYYw=; b=GB9AzAMqvT4FRUiDsDGcvv7zxijxQONKfYY/SR5kzM1SIWaIwlqhSwrC gbEknhq5y17dt5s5djc19BtYDx/ejUmoNVyyDPiPNOVilEQB1Ny89w924 dO4/+dY7UHKv/2dpAUTK2YRAeagIo2CYG/jXstBv0VZUXQ70SOSmK3trn xjgCfJdnf638OA1wt+E+uIcSP3C0H+O8Py8z1T/EO7gHUcDcpaDghY2wT zw82ksaaXs9721Q+TDZi5AmqcpZRDRSc3qhA0WIrPX42wWpDZFIbSsJ93 ZYGv6OIrn2dBdGCVgwpLqHvCiInfYiV+etKF0LfBTUz0W6uPBWe9p+xvM w==; X-CSE-ConnectionGUID: 2pO5VN8LSa+Sq4FJ1cXUQQ== X-CSE-MsgGUID: S/vIMrgcRC2yqSczFlAigA== X-IronPort-AV: E=McAfee;i="6800,10657,11982"; a="4761784" X-IronPort-AV: E=Sophos;i="6.27,242,1787036400"; d="scan'208";a="4761784" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2026 05:17:29 -0800 X-CSE-ConnectionGUID: GV9sb1DGRtCT1V3MeFUO8w== X-CSE-MsgGUID: 4kMYNngiRR+vQuKqrRa/rA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,242,1787036400"; d="scan'208";a="13181261" Received: from orsmsx901.amr.corp.intel.com ([10.22.229.23]) by fmviesa002.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2026 05:17:29 -0800 Received: from ORSMSX901.amr.corp.intel.com (10.22.229.23) by ORSMSX901.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Mon, 30 Nov 2026 05:17:28 -0800 Received: from ORSEDG901.ED.cps.intel.com (10.7.248.11) by ORSMSX901.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57 via Frontend Transport; Mon, 30 Nov 2026 05:17:28 -0800 Received: from MW6PR02CU001.outbound.protection.outlook.com (52.101.48.23) by edgegateway.intel.com (134.134.137.111) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.57; Mon, 30 Nov 2026 05:17:28 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ooCzFoiEvVPGDI/G11hj+5XCq1KclR4xB/oDc4HNkwc21kmrXvCknwllMbCr3VwLI14w4nfQ2yROZAyt4c4Tb0Ct+kQl61LiI/ViqHyGCT3Q8CuSe2DurViFhISsCfMXjHain7uLM1y8l+tqdSMaSWOIYUhs3G6h55lfG7sI/eTm89CF60SN3MxG2mBtipKbeoQ9FiGVKFxTqkgpt4W2URZJlaRNDDbpHIRUA1w5mKQSLuOaRz6hdOx9hxo8E7u7mKlcvchZ8tSVHWsgNgZ6s1kAzXhGf27czipI6X9E2xh7c05U0JOndRuQnrMYUmxsA7UcPP77/xYxSGpsb7Uhrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nWf5EBWCs/E8xaP4ibJbDA6bixgceSordxps9yHeYYw=; b=WB4jU+u9SrT5Y1QgWB0t5TQUJHHEC3zNbVDQ0Xa0a7TAY0gcVIHT5XCGXJFA8er6tdKNE/AuxjLrmAjr4Hncy03V7ijri0UmyBcqaGhsXTU0u/KWPwMecI3ahkiMWj4FouZhmBxeCOgd37Y7hahM12xs5ZLnz2SR0+Cl6Vv9lm/vfdf6WmnfRz+CCfCUZMUsZPzZV2x9KbR1c9gdX1Br/hDloqKLd95rM3iaJyrN2R0MqUY2kkW/VYfngSM8yZGYwTmeOdoADkQxOIwN2aVvX+qbDslnOcdxN8CcqoHYomjupeD6E0tS2/6IEhYY4p88RnHtf5IjyyKIsHziS4pHCg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from LV3PR11MB8508.namprd11.prod.outlook.com (2603:10b6:408:1b4::8) by LVTPR11MB9888.namprd11.prod.outlook.com (2603:10b6:408:3c3::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.662.12; Mon, 30 Nov 2026 13:17:27 +0000 Received: from LV3PR11MB8508.namprd11.prod.outlook.com ([fe80::a1e8:1786:e5d1:8e51]) by LV3PR11MB8508.namprd11.prod.outlook.com ([fe80::a1e8:1786:e5d1:8e51%5]) with mapi id 15.21.0662.012; Mon, 30 Nov 2026 13:17:26 +0000 Message-ID: <879a7c6b-6000-4c64-9efd-78642bbb4917@intel.com> Date: Mon, 30 Nov 2026 14:24:21 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v2 00/13] net: Report requester's port ID in FDB notifications To: Petr Machata , "David S. Miller" , Eric Dumazet , Jakub Kicinski , "Paolo Abeni" , Simon Horman , CC: Andrew Lunn , Nikolay Aleksandrov , , Ido Schimmel , Andy Roulin , , Tony Nguyen References: From: Przemek Kitszel Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: WA0P291CA0024.POLP291.PROD.OUTLOOK.COM (2603:10a6:1d0:1::26) To LV3PR11MB8508.namprd11.prod.outlook.com (2603:10b6:408:1b4::8) X-Mailing-List: bridge@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV3PR11MB8508:EE_|LVTPR11MB9888:EE_ X-MS-Office365-Filtering-Correlation-Id: 60f64fd5-db26-4648-30b7-08df4ee4474c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|1800799024|366016|23010399003|11063799006|261009223027099003|18002099003|22082099003|10067099003|56012099006|261028144727099003|261026121527099003|261026140227099003|261022105027099003|261021123027099003; X-Microsoft-Antispam-Message-Info: eVk2cFzGa30zSsOX9SJweke6X+vaVJRvkTUyv6WMs9yc7dweevWQDIaFTpvZDMvtI0oiBN6VWcHtx1tRyMAZ2Ildfw3gyRLK3OXbUNSzFYkDSOGVebNwrhJlRrW4mJY1JdPejBCZDYCEgAsi7brooU1N23+V1XYNhrR+1pRGteugxH6XTrgukWcTMYwW8GFwbtmhXAIhK2GY3RN6fP2rW1i1h7z0KtkSnROJqtyOT0jhp/WvwyRM/xFD7HZ2JQ8boTRw4r4GhMbucKu5/R3thyWXfI9HWSI5kyPgS6SyhlMd1GhL3PRl9YHNImSe/N3LClaNhqx91ctHt/ZrMBwWw5jdmQWdcc5edVTKf2vP1Wmmh4aiSHb3m6dkCUOEM79Yg6tgEObGF9gwomXIp6VtNaeDT4f/k8moemADq47AzyaOrDoYRc6aCzQf2BQz7IwM14C79T/B1CIh9DeViCzOqVhAU3Ggywm5NrPst920D5AOBmkXKhB+rWs3ohwoBROzj6+3PH/hur/mfI2q8tvWPJsV3NsGtbG+FwS5XNMLmgotMyhL5dxwvYIqng5UfcWTJx124SKL5xnzkMaZ3/mcMbRbVa8aYcJbXoRdSSIHx17scXaR0nl9L2VP4gyYRVQkvi+C3aWYr3QzD8JQtK1QZAGnzJaZvPeBJ9y+fwJNsj4= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:LV3PR11MB8508.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(7416014)(1800799024)(366016)(23010399003)(11063799006)(261009223027099003)(18002099003)(22082099003)(10067099003)(56012099006)(261028144727099003)(261026121527099003)(261026140227099003)(261022105027099003)(261021123027099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?elRiUFdHOVVPNnpva0VubDNCbEg5aEN6cWU4dm1iaGVRbE5SaVphZE0yME1D?= =?utf-8?B?V003WlF4a2JwcVNaSUErSHV6VDNDSHUxdnNUSTh1K055TVNEbm8vR2JIem5y?= =?utf-8?B?SDJpaXJWYzA4Z3hkN2NQUmdwcTRvU1BIT2xjRlNCdll2c2ROK25LdVVoWk1K?= =?utf-8?B?VDdEcFdqTDhJazBiS1lSdytHYUhJTW52c09ScmdBOTZoQnVCeGpNMTg4TzZq?= =?utf-8?B?K0pGRVI3dkdzMURJZldINjBmL0wrVVNKQklPbU5jMVdYQkFqcjRaQ3V5REhm?= =?utf-8?B?S3NLQU9oclNNTlcySEZSOU5ISkNONFlhRjB2K3B6L3krdzVFL085VTAwZnIv?= =?utf-8?B?UzFmWlZIZnZRSDBMeUZ4bjlCSEh2SFNjSXBMM0ppNG9ZSlhjV3UyZGhLMFMv?= =?utf-8?B?UURuazJJNG53WDNGT2NRR21GTGw4YUI3TW91LzFEcGlRamRZcHF0NlhKVXZw?= =?utf-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VJIMVdtMXVlUTBVdnA5?= =?utf-8?B?ZjRtMTltWmR1ay9WL2FXcDNseG5ZMExnU01lNEM1QVY1ZExIVTdGOWRaODBp?= =?utf-8?Q?lpXaof857Uc+Mgjg=3D?= X-Exchange-RoutingPolicyChecked: Ct9sAJqzfUeU9tQqtwP2m6EobtWYvXN8z7X3FKwxqtdt98DBE79L6kWCsvRIF0JARJ7Hml9jdemG9sXNzEdVRwT12wz3NfxZUpqWcSmrnKPRzz8AugnVKWOfsYL/Ou0erlhCRGCePdXLYXz03tAxHMHPVAJa641tRmbFr/qW0zGZo3ur37/w2XY7fVuiZ8wl1sjeIryQwgPs4PO6P98jn6s6K7iACq1KMOk0Gm+w+sFtJ9lqP/uHcijX43W+2K8wuhwu8FKPfyw9Q0QvOOBe101FxVZQto+xt4GTecQPqFckp3fRv14iI+8u7t4zO+kWv5PeeI+NbbMJBZFLtXZI2g== X-MS-Exchange-CrossTenant-Network-Message-Id: 60f64fd5-db26-4648-30b7-08df4ee4474c X-MS-Exchange-CrossTenant-AuthSource: LV3PR11MB8508.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2026 13:17:26.7863 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: JM4VALogOciPfrvFVLur8MWvVXOI+OxxyQ3EqgT2eKkh0XS397QWVJZHmiFE7YVRL/fZgp82gqM29XJxXZ4VHcj+Ro7hBcJ9ux6dYp0k8WU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: LVTPR11MB9888 X-OriginatorOrg: intel.com On 11/30/26 2:03 PM, Petr Machata wrote: > Every netlink message carries a port ID in the nlmsg_pid header field. The > port ID identifies a netlink socket. In a request it is the port ID of the > socket that sent it. When a change that results from a request is > announced to the multicast listeners, the kernel puts the port ID of the > requester in nlmsg_pid of the notification. For changes that the kernel > initiates by itself, such as aging, nlmsg_pid is zero. > > This is used by applications that both configure the kernel and listen to > notifications from it. By comparing nlmsg_pid to the port ID of their own > socket, they can tell their own changes apart from those made by someone > else, and ignore the former. Commit 7b8f7a402d4c ("neighbour: fix nlmsg_pid > in notifications") fixed this for IP neighbours, citing quagga as one such > application. Routes and nexthops report the port ID as well. > > For FDB entries, the notifications (RTM_NEWNEIGH and RTM_DELNEIGH with the > AF_BRIDGE family) always carry zero, whoever caused them, so applications > that manage FDB cannot do this sort of filtering. Hence this patchset. > > The patchset goes through the following steps: > > - FDB notifications are generated in two places. The bridge and VXLAN > drivers send their own from ndo_fdb_add, _del and _del_bulk, but these > NDOs are not given the port ID of the requester. For other drivers that > implement ndo_fdb_add / _del, the rtnetlink core sends a default > notification on their behalf. It has the port ID at hand, but does not > pass it on. > > The obvious way to get the port ID to the bridge and VXLAN is to add it > to the NDO prototypes. But ndo_fdb_add and _del already carry many > arguments, and one more would further complicate the already unwieldy > prototypes, as well as require adjustments in every driver. Instead, in > patch #1, convert the prototypes of ndo_fdb_add, _del and _get to take a > new struct ndo_fdb_parms. ndo_fdb_get already has the port ID, but it > shares most of its arguments with the other two, so it makes sense to > treat them alike. [..] > drivers/net/ethernet/intel/i40e/i40e_main.c | 29 +- > drivers/net/ethernet/intel/ice/ice_main.c | 43 ++- > drivers/net/ethernet/intel/igb/igb_main.c | 14 +- > drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 14 +- Acked-by: Przemek Kitszel