[{"id":3687853,"web_url":"http://patchwork.ozlabs.org/comment/3687853/","msgid":"<afyhqwDyy9itZG41@cicciput>","list_archive_url":null,"date":"2026-05-07T14:28:59","subject":"ACK: [SRU][N:linux-bluefield][PATCH v1 0/3] UBUNTU: SAUCE: ipv4:\n Provide a FIB flushing signal from nexthop removal functions","submitter":{"id":91694,"url":"http://patchwork.ozlabs.org/api/people/91694/","name":"Alessio Faina","email":"alessio.faina@canonical.com"},"content":"On Thu, May 07, 2026 at 02:20:15PM +0300, Stav Aviram wrote:\n> BugLink: https://bugs.launchpad.net/bugs/2151772\n> \n> SRU Justification:\n> \n> [IMPACT]\n> Fix a performance issue in the IPv4 routing table causing severe RTNL lock\n> contention which in some complicated deployments (multiple VXLAN interfaces,\n> 128K+ routes, 128K+ nexthops) causes systemd-networkd to fail to renew DHCP\n> addresses in time, which then makes those interfaces become unmanaged.\n> \n> [FIX]\n> The fixes optimize nexthop removal when an interface goes down by batching\n> FIB table flushing. Previously, for each nexthop being removed, the FIB table\n> was flushed to remove all routing table entries pointing to the nexthop being\n> removed. This flushing is a sequential walk of the entire FIB trie, and for N\n> nexthops being removed and R routes installed results in O(N x R) performance.\n> The fix postpones flushing until all nexthops are marked dead and then does a\n> single FIB flush to remove all affected routing entries. This improves the\n> performance to O(N + R).\n> Upstream patches being submitted here: https://lore.kernel.org/netdev/20260507075606.322405-1-cratiu@nvidia.com/T/#t\n> Those patches don't apply cleanly on 6.8 due to other missing functionality, dedicated 6.8. patches will be provided in this ticket.\n> \n> [TEST CASE]\n> Successfully built the adjusted upstream patches on linux-bluefield-6.8\n> master-next branch.\n> \n> [Regression Potential]\n> Low risk. The latest upstream patches don't apply cleanly on 6.8 due to\n> missing functionality, but the modifications to make the patches apply are\n> trivial and don't impact the logical flow of batching the cleanup.\n> \n> Cosmin Ratiu (3):\n>   UBUNTU: SAUCE: ipv4: Provide a FIB flushing signal from nexthop\n>     removal functions\n>   UBUNTU: SAUCE: ipv4: Flush the FIB once on multiple nexthop removal\n>   UBUNTU: SAUCE: ipv4: Add __must_check to nexthop removal functions\n> \n>  net/ipv4/nexthop.c | 93 +++++++++++++++++++++++++++++-----------------\n>  1 file changed, 58 insertions(+), 35 deletions(-)\n> \n> -- \n> 2.38.1\n> \n> \n> -- \n> kernel-team mailing list\n> kernel-team@lists.ubuntu.com\n> https://lists.ubuntu.com/mailman/listinfo/kernel-team\n\nAcked-by: Alessio Faina <alessio.faina@canonical.com>","headers":{"Return-Path":"<kernel-team-bounces@lists.ubuntu.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (4096-bit key;\n unprotected) header.d=canonical.com header.i=@canonical.com\n header.a=rsa-sha256 header.s=20251003 header.b=X+nj9W7m;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com\n (client-ip=185.125.189.65; helo=lists.ubuntu.com;\n envelope-from=kernel-team-bounces@lists.ubuntu.com;\n receiver=patchwork.ozlabs.org)"],"Received":["from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4gBF4Y02wPz1y04\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 08 May 2026 00:29:16 +1000 (AEST)","from localhost ([127.0.0.1] helo=lists.ubuntu.com)\n\tby lists.ubuntu.com with esmtp (Exim 4.86_2)\n\t(envelope-from <kernel-team-bounces@lists.ubuntu.com>)\n\tid 1wKzip-0003Ew-Td; Thu, 07 May 2026 14:29:04 +0000","from smtp-relay-internal-0.internal ([10.131.114.225]\n helo=smtp-relay-internal-0.canonical.com)\n by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.86_2) (envelope-from <alessio.faina@canonical.com>)\n id 1wKzio-0003En-Bh\n for kernel-team@lists.ubuntu.com; Thu, 07 May 2026 14:29:02 +0000","from mail-ej1-f69.google.com (mail-ej1-f69.google.com\n [209.85.218.69])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 3F0533FBF2\n for <kernel-team@lists.ubuntu.com>; Thu,  7 May 2026 14:29:02 +0000 (UTC)","by mail-ej1-f69.google.com with SMTP id\n a640c23a62f3a-b8704795d25so84590466b.2\n for <kernel-team@lists.ubuntu.com>; Thu, 07 May 2026 07:29:02 -0700 (PDT)","from localhost (93-35-115-10.ip54.fastwebnet.it. [93.35.115.10])\n by smtp.gmail.com with ESMTPSA id\n a640c23a62f3a-bc81d5eb458sm87146966b.22.2026.05.07.07.29.00\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 07 May 2026 07:29:00 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com;\n s=20251003; t=1778164142;\n bh=dK65FlECPNddiaKrAKr7QT3VnFtBrD5V0u0ent3xB2Q=;\n h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:\n Content-Type:In-Reply-To;\n b=X+nj9W7m0yXku7r6qzy+F1f2bS+VXKiZGMptrgyRWI2qKxoN8Yc+16/zfJEWRnGXl\n JX/rI/3DwrwzhDsyTNnb8h+BqCc2LTo+ikveBlRUybwt5DZEYKTmoURQntgpdgYjwm\n Qt4ym+tBRDQj8muplAJuhau99PvqXOWDrFgUTMUyRt9lzoge0FR37EVkYkSycsyWxz\n EnSEIks8jOs5ZIPHFhpp1UNt7AmkUE0kf0031+Vn57ekliHg/6zHtgf+UgNXXHS2mk\n vo/Oe5zhImQywT8CVu2Lf1N6eYNedCD1MmfK4Z153Fli/hLrPZV6x1pp7oCafXixcE\n NqRmDfPnkKPz79m/4mL7jtZj5xX3YO/c5XHur8OxRx/WfShr/Knz4hDIUAmxPWhb2j\n XG+PW1RpvqBCZ4C5MOMndaH6qmXT+Jg8MAu+/b3GRuFdAM2r+tr7iNcILIo3sm9Jp6\n nTlThT0qjP/pRRthgv1xttqLLKpq+bpJgjmgE3AE6B+8jIIxfLe0VvTi47ozIMy5Dy\n bMwghSILmuiomfUf5zRctZN8PQa+zbOYXGacRYRjUIvBNlpTy6YwFaGfOcSy8+XKci\n 1rbf0SLM4I0jCNr0T7M86SB6SMncKqj1rGug70EDqtgOPUojG1njaqwpg7wCaaFSZq\n EM0lewUrrIqBis8WtRf8hhro=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1778164142; x=1778768942;\n h=in-reply-to:content-disposition:mime-version:references:message-id\n :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=dK65FlECPNddiaKrAKr7QT3VnFtBrD5V0u0ent3xB2Q=;\n b=BQERTu7N6tHHfxgnggL+394RtbZFSjv1B2Z79TFbekw8c/AB1clRCoTCRuvaVIV2vd\n hqR3RdjtRnf7nhv1sRVZVag06u7u5t3iQUBu8P1BIm96Tc1gd/39ejx0YmV+0mgqtcQK\n HdOrDQutlKvtQw0hcepU+t9SxTSVHBNTcsOb4qGIdTbOyCllq09/7YXRyav/U+5GNPqq\n LdD8wmYuz0akE6FVTPePdSgMfOU7VJg6QWiZc4Lhpsjv2dBZoYjwO13u3WLuu0sArPKV\n kBTSOnK+PAuBPfQJp+cmPHpAss5Ktkz7Iloeg/wpx851CoJxUgRTPW6bwS6JYNEQ1keF\n CXbw==","X-Gm-Message-State":"AOJu0YwsB4gxpo6VHzZuGYrPMfexDq7ef0cX1h7vlLTEcaaF+yPuMkZa\n IflspLWTMyPabA5wFNVOnd4r3ifotkUBiL4f7xqCoCjM4M74nByTROU8mg+MEdmldNWw4USEFMd\n i3L9nLBEDxTNTO3HO74wPFTq9EwkXyTjUlJxqZZbX+E5uOJflpKv72JAxOJpvxQRBVpXdwGgTTa\n LEkeTg4tUES3282A==","X-Gm-Gg":"AeBDietAalgp1WpAAj1t1yamDPa5icvHA1iulKaZ93Uls8qhjvJ8V90cjZTU1wH+Em0\n BHdyisJ2CqdtjOmejDMs7DnBpbRuxGnmamD0vPDCNM4X+OF2OLQDB6C8vunqGzGQPEjCYU5bHCF\n dzmfiZaW5IRQSkpXnje8y/y/6G0yk0Gpm9Ek89wwGoceJbCq44+/Xgp5qL/wbFem4TjiyR7Vqbq\n yf+iS8oj3ewXy8n7S3IGXjRoNOw3H6z4cUR1+TbYfpMf8CyD3/KtBSHlCpxIEZ8gX8UUVo+HbVg\n /Bdb2sgvPhUfuuTyHxsJNOMB4V3bDG3/gIn8XqLWLnaDgwY1NJuZcDbZY0Kq4WdPoqyOrRGcxmi\n Qt9cz/ks9tVRvEnxf+yTTBkMZHvCV5oLnTmlEuxgvp2G+mgj2joXxPey7Zq2NraAfWP0NZL5AqD\n PD0Rb0flve1oxGjIP4X/AaLkPle6Y=","X-Received":["by 2002:a17:906:5998:b0:bca:4842:71b5 with SMTP id\n a640c23a62f3a-bca4851b724mr4376466b.38.1778164141640;\n Thu, 07 May 2026 07:29:01 -0700 (PDT)","by 2002:a17:906:5998:b0:bca:4842:71b5 with SMTP id\n a640c23a62f3a-bca4851b724mr4373766b.38.1778164140925;\n Thu, 07 May 2026 07:29:00 -0700 (PDT)"],"Date":"Thu, 7 May 2026 16:28:59 +0200","From":"Alessio Faina <alessio.faina@canonical.com>","To":"Stav Aviram <saviram@nvidia.com>","Subject":"ACK: [SRU][N:linux-bluefield][PATCH v1 0/3] UBUNTU: SAUCE: ipv4:\n Provide a FIB flushing signal from nexthop removal functions","Message-ID":"<afyhqwDyy9itZG41@cicciput>","References":"<cover.1778150607.git.saviram@nvidia.com>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<cover.1778150607.git.saviram@nvidia.com>","X-BeenThere":"kernel-team@lists.ubuntu.com","X-Mailman-Version":"2.1.20","Precedence":"list","List-Id":"Kernel team discussions <kernel-team.lists.ubuntu.com>","List-Unsubscribe":"<https://lists.ubuntu.com/mailman/options/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe>","List-Archive":"<https://lists.ubuntu.com/archives/kernel-team>","List-Post":"<mailto:kernel-team@lists.ubuntu.com>","List-Help":"<mailto:kernel-team-request@lists.ubuntu.com?subject=help>","List-Subscribe":"<https://lists.ubuntu.com/mailman/listinfo/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe>","Cc":"kernel-team@lists.ubuntu.com","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"kernel-team-bounces@lists.ubuntu.com","Sender":"\"kernel-team\" <kernel-team-bounces@lists.ubuntu.com>"}},{"id":3687891,"web_url":"http://patchwork.ozlabs.org/comment/3687891/","msgid":"<3d152a19-bdfb-4c4c-8eea-8403bcc7e501@canonical.com>","list_archive_url":null,"date":"2026-05-07T15:36:18","subject":"ACK: [SRU][N:linux-bluefield][PATCH v1 0/3] UBUNTU: SAUCE: ipv4:\n Provide a FIB flushing signal from nexthop removal functions","submitter":{"id":90485,"url":"http://patchwork.ozlabs.org/api/people/90485/","name":"Edoardo Canepa","email":"edoardo.canepa@canonical.com"},"content":"Acked-by: Edoardo Canepa <edoardo.canepa@canonical.com>\n\nOn 5/7/26 13:20, Stav Aviram wrote:\n> BugLink: https://bugs.launchpad.net/bugs/2151772\n>\n> SRU Justification:\n>\n> [IMPACT]\n> Fix a performance issue in the IPv4 routing table causing severe RTNL lock\n> contention which in some complicated deployments (multiple VXLAN interfaces,\n> 128K+ routes, 128K+ nexthops) causes systemd-networkd to fail to renew DHCP\n> addresses in time, which then makes those interfaces become unmanaged.\n>\n> [FIX]\n> The fixes optimize nexthop removal when an interface goes down by batching\n> FIB table flushing. Previously, for each nexthop being removed, the FIB table\n> was flushed to remove all routing table entries pointing to the nexthop being\n> removed. This flushing is a sequential walk of the entire FIB trie, and for N\n> nexthops being removed and R routes installed results in O(N x R) performance.\n> The fix postpones flushing until all nexthops are marked dead and then does a\n> single FIB flush to remove all affected routing entries. This improves the\n> performance to O(N + R).\n> Upstream patches being submitted here: https://lore.kernel.org/netdev/20260507075606.322405-1-cratiu@nvidia.com/T/#t\n> Those patches don't apply cleanly on 6.8 due to other missing functionality, dedicated 6.8. patches will be provided in this ticket.\n>\n> [TEST CASE]\n> Successfully built the adjusted upstream patches on linux-bluefield-6.8\n> master-next branch.\n>\n> [Regression Potential]\n> Low risk. The latest upstream patches don't apply cleanly on 6.8 due to\n> missing functionality, but the modifications to make the patches apply are\n> trivial and don't impact the logical flow of batching the cleanup.\n>\n> Cosmin Ratiu (3):\n>    UBUNTU: SAUCE: ipv4: Provide a FIB flushing signal from nexthop\n>      removal functions\n>    UBUNTU: SAUCE: ipv4: Flush the FIB once on multiple nexthop removal\n>    UBUNTU: SAUCE: ipv4: Add __must_check to nexthop removal functions\n>\n>   net/ipv4/nexthop.c | 93 +++++++++++++++++++++++++++++-----------------\n>   1 file changed, 58 insertions(+), 35 deletions(-)\n>","headers":{"Return-Path":"<kernel-team-bounces@lists.ubuntu.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (4096-bit key;\n unprotected) header.d=canonical.com header.i=@canonical.com\n header.a=rsa-sha256 header.s=20251003 header.b=BG7RqZ9w;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com\n (client-ip=185.125.189.65; helo=lists.ubuntu.com;\n envelope-from=kernel-team-bounces@lists.ubuntu.com;\n receiver=patchwork.ozlabs.org)"],"Received":["from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4gBGZB5Xcvz1yKd\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 08 May 2026 01:36:33 +1000 (AEST)","from localhost ([127.0.0.1] helo=lists.ubuntu.com)\n\tby lists.ubuntu.com with esmtp (Exim 4.86_2)\n\t(envelope-from <kernel-team-bounces@lists.ubuntu.com>)\n\tid 1wL0lz-0005e5-Bv; Thu, 07 May 2026 15:36:23 +0000","from smtp-relay-internal-1.internal ([10.131.114.114]\n helo=smtp-relay-internal-1.canonical.com)\n by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.86_2) (envelope-from <edoardo.canepa@canonical.com>)\n id 1wL0ly-0005bG-89\n for kernel-team@lists.ubuntu.com; Thu, 07 May 2026 15:36:22 +0000","from mail-wm1-f69.google.com (mail-wm1-f69.google.com\n [209.85.128.69])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 229A13F6CA\n for <kernel-team@lists.ubuntu.com>; Thu,  7 May 2026 15:36:22 +0000 (UTC)","by mail-wm1-f69.google.com with SMTP id\n 5b1f17b1804b1-48a5ae17f19so1069215e9.1\n for <kernel-team@lists.ubuntu.com>; Thu, 07 May 2026 08:36:22 -0700 (PDT)","from [192.168.0.180] (host-82-61-189-25.retail.telecomitalia.it.\n [82.61.189.25]) by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-48e538aaa0fsm161477495e9.7.2026.05.07.08.36.19\n (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n Thu, 07 May 2026 08:36:20 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com;\n s=20251003; t=1778168182;\n bh=aLAdhJ00PGgn+GZZGKv5s4KeOnC0oNrsrGXYNNPUYiw=;\n h=Message-ID:Date:MIME-Version:Subject:To:References:From:Cc:\n In-Reply-To:Content-Type;\n b=BG7RqZ9wiYWVssvNo82vGtJiMImwzdKRq8Z98DFlFNx1Zo5oCkSssRcutq5Ahw3dO\n BeJuUl72oY/T2vwM0qg9VDb49tNNGrk4eFMSA111z5HjOaA9l/Wqv68QUERgpMT3AX\n NdwHdRTHlyLySEU6VfxyfKZlNkhdc/bEJntWJRvrevIUCoUFxqMxKv0X3YcZA/f5Vt\n fhQcfWiuSr53XC6Z6fZeDzvd5RVBd8BkaVZGCnei+z3CO/uR9JQCU7HTsLeC0Clv/S\n h89UxVuJQWWbMlCMEZf1arbay2ZjqhQnXHC0l80v2g6tux+BpEi8nrrtDnFAHMukac\n kDyfHnfaERQop6bhdNWK7U9RvB9ug596FKujM5L4SLNGNJAzVL6sVNo+WuxlwZDEGO\n oNC8g4iu72n/resBpxMf6jYzu/hVivuNk/KGJXXo7T2hTyABUuL3cuvlB7c7BtbwPz\n 6NTNSqVsdTvmE14DBKkFkj1zteaQxIV/aCMxQhezkyuZANwTcmX+DwgSLK8RbHyqoD\n ZC4H6t0+F1reF5O8zhfJkiW8US3zMnPu2Xz7tVDBEuJX8JAp7UCTh1TqgLoPta5cm2\n /ervffY/tTYYO7Cn10hMpyC3h771dLuENzeoDNaKVRcWQJV0TaaiFtF2WQHuBX/aJ0\n hWNzTdeWBIPaR3/uHWpw0WoA=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1778168182; x=1778772982;\n h=in-reply-to:autocrypt:cc:content-language:from:references:to\n :subject:user-agent:mime-version:date:message-id:x-gm-gg\n :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;\n bh=aLAdhJ00PGgn+GZZGKv5s4KeOnC0oNrsrGXYNNPUYiw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fx06SsTBq4Ana8odDyj1","X-Received":["by 2002:a05:600c:524a:b0:489:6c28:dbb4 with SMTP id\n 5b1f17b1804b1-48e5329e323mr58191305e9.5.1778168181573;\n Thu, 07 May 2026 08:36:21 -0700 (PDT)","by 2002:a05:600c:524a:b0:489:6c28:dbb4 with SMTP id\n 5b1f17b1804b1-48e5329e323mr58191055e9.5.1778168181062;\n Thu, 07 May 2026 08:36:21 -0700 (PDT)"],"Message-ID":"<3d152a19-bdfb-4c4c-8eea-8403bcc7e501@canonical.com>","Date":"Thu, 7 May 2026 17:36:18 +0200","MIME-Version":"1.0","User-Agent":"Mozilla Thunderbird","Subject":"ACK: [SRU][N:linux-bluefield][PATCH v1 0/3] UBUNTU: SAUCE: ipv4:\n Provide a FIB flushing signal from nexthop removal functions","To":"Stav Aviram <saviram@nvidia.com>","References":"<cover.1778150607.git.saviram@nvidia.com>","From":"Edoardo Canepa <edoardo.canepa@canonical.com>","Content-Language":"en-US","Autocrypt":"addr=edoardo.canepa@canonical.com; keydata=\n xsFNBGe8ST0BEADYJHhojXYD38nREU7XXye+1ufXZlUvoDBZwcyqvaiaHj6r8sVdhnp2IDnq\n /Be+Z1NddlKmBBr9W6dSFKfqdK/MheuiG7Pp3Rt1KhqAPgDdQu3gga+YkG5/ALaUwbgj56Ov\n 4Xr1AGccuz4C0Qo0q4nuOGWeLars8Q4hovBc/itG7go1D4x9YPX5uBOin3ZeVtA3JIhiZ5Ud\n dUXaIqwpNJkE8o9EdGTFhVXok9vrGLlJpUfOJLIcx0WUe3n41N0t3k8UF+rPCOzRkY9WqyAx\n ZCIufFnAwCaGM1pKNLwz4PFb/YjfbKmvSItUhoCgF+Uk+SAwXhByEI/8lpbMkcMASNFigEqZ\n h8mpIL2X4arpaepZ8Xgr69QYRRbvfLVsruNdHjIrah4qYTLcIhd1gCfkVEX9kJxmGkFL4BGc\n goQcH8mPTB80nJQUYvA6TI6Nz/v9ghm52SEdwap8MQUqS0V7Vs+wc2XIoVwqcxvfCTQD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hUaQPtpoYGOJk\n CmUAi9HO2aeALLoMJUrLDQutDhEltXAxssp70EZCZ/HwxQ1bBnvfkMJhkp1mfA2zXGbNqEJC\n 6cnTWvd6NgUmNzMZkyeTAawsKUcJ7wrQngMe+jFelgeIeVVocMQrOgdKokbzjE60HQIvd/Cj\n vMSqEvpt5fYlAl3NAmnah216YSLJI68+6Nh2299anoDBCTquUAv/fhfcaCsK+IbHvv46Qmm4\n fdJk6gGOgOB2ybVeqFrakpGSFV4jP5R+I0oDi69CFbyllpFiClhLrSh8WDvXiUlREIO1LXjJ\n fKsjy8xLzes06RDbLWm8Ke07N//LzgThJVm+TWUsirje44HAKZSkWoVA82BcfYrubJL/1+8n\n VYnh8AQH0TRTaYWMLqd+0WWI036wj0fOvgmrKJWgurjSZuYW1ggrEWE2sk1AsS4HBBXEbavZ\n dY9caht83AICwsvW","In-Reply-To":"<cover.1778150607.git.saviram@nvidia.com>","X-BeenThere":"kernel-team@lists.ubuntu.com","X-Mailman-Version":"2.1.20","Precedence":"list","List-Id":"Kernel team discussions <kernel-team.lists.ubuntu.com>","List-Unsubscribe":"<https://lists.ubuntu.com/mailman/options/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe>","List-Archive":"<https://lists.ubuntu.com/archives/kernel-team>","List-Post":"<mailto:kernel-team@lists.ubuntu.com>","List-Help":"<mailto:kernel-team-request@lists.ubuntu.com?subject=help>","List-Subscribe":"<https://lists.ubuntu.com/mailman/listinfo/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe>","Cc":"kernel-team@lists.ubuntu.com","Content-Type":"multipart/mixed; boundary=\"===============4141314236487928574==\"","Errors-To":"kernel-team-bounces@lists.ubuntu.com","Sender":"\"kernel-team\" <kernel-team-bounces@lists.ubuntu.com>"}},{"id":3687939,"web_url":"http://patchwork.ozlabs.org/comment/3687939/","msgid":"<afzFtu69oBKMHOe0@cicciput>","list_archive_url":null,"date":"2026-05-07T17:02:46","subject":"APPLIED: [SRU][N:linux-bluefield][PATCH v1 0/3] UBUNTU: SAUCE: ipv4:\n Provide a FIB flushing signal from nexthop removal functions","submitter":{"id":91694,"url":"http://patchwork.ozlabs.org/api/people/91694/","name":"Alessio Faina","email":"alessio.faina@canonical.com"},"content":"On Thu, May 07, 2026 at 02:20:15PM +0300, Stav Aviram wrote:\n> BugLink: https://bugs.launchpad.net/bugs/2151772\n> \n> SRU Justification:\n> \n> [IMPACT]\n> Fix a performance issue in the IPv4 routing table causing severe RTNL lock\n> contention which in some complicated deployments (multiple VXLAN interfaces,\n> 128K+ routes, 128K+ nexthops) causes systemd-networkd to fail to renew DHCP\n> addresses in time, which then makes those interfaces become unmanaged.\n> \n> [FIX]\n> The fixes optimize nexthop removal when an interface goes down by batching\n> FIB table flushing. Previously, for each nexthop being removed, the FIB table\n> was flushed to remove all routing table entries pointing to the nexthop being\n> removed. This flushing is a sequential walk of the entire FIB trie, and for N\n> nexthops being removed and R routes installed results in O(N x R) performance.\n> The fix postpones flushing until all nexthops are marked dead and then does a\n> single FIB flush to remove all affected routing entries. This improves the\n> performance to O(N + R).\n> Upstream patches being submitted here: https://lore.kernel.org/netdev/20260507075606.322405-1-cratiu@nvidia.com/T/#t\n> Those patches don't apply cleanly on 6.8 due to other missing functionality, dedicated 6.8. patches will be provided in this ticket.\n> \n> [TEST CASE]\n> Successfully built the adjusted upstream patches on linux-bluefield-6.8\n> master-next branch.\n> \n> [Regression Potential]\n> Low risk. The latest upstream patches don't apply cleanly on 6.8 due to\n> missing functionality, but the modifications to make the patches apply are\n> trivial and don't impact the logical flow of batching the cleanup.\n> \n> Cosmin Ratiu (3):\n>   UBUNTU: SAUCE: ipv4: Provide a FIB flushing signal from nexthop\n>     removal functions\n>   UBUNTU: SAUCE: ipv4: Flush the FIB once on multiple nexthop removal\n>   UBUNTU: SAUCE: ipv4: Add __must_check to nexthop removal functions\n> \n>  net/ipv4/nexthop.c | 93 +++++++++++++++++++++++++++++-----------------\n>  1 file changed, 58 insertions(+), 35 deletions(-)\n> \n> -- \n> 2.38.1\n> \n> \n> -- \n> kernel-team mailing list\n> kernel-team@lists.ubuntu.com\n> https://lists.ubuntu.com/mailman/listinfo/kernel-team\n\nApplied to n:linux-bluefield\n\nThanks!\n- Alessio Faina","headers":{"Return-Path":"<kernel-team-bounces@lists.ubuntu.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (4096-bit key;\n unprotected) header.d=canonical.com header.i=@canonical.com\n header.a=rsa-sha256 header.s=20251003 header.b=YAgwlQLE;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com\n (client-ip=185.125.189.65; helo=lists.ubuntu.com;\n envelope-from=kernel-team-bounces@lists.ubuntu.com;\n receiver=patchwork.ozlabs.org)"],"Received":["from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4gBJV2216tz1y04\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 08 May 2026 03:03:05 +1000 (AEST)","from localhost ([127.0.0.1] helo=lists.ubuntu.com)\n\tby lists.ubuntu.com with esmtp (Exim 4.86_2)\n\t(envelope-from <kernel-team-bounces@lists.ubuntu.com>)\n\tid 1wL27f-0006ra-01; Thu, 07 May 2026 17:02:51 +0000","from smtp-relay-internal-1.internal ([10.131.114.114]\n helo=smtp-relay-internal-1.canonical.com)\n by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.86_2) (envelope-from <alessio.faina@canonical.com>)\n id 1wL27e-0006rT-4c\n for kernel-team@lists.ubuntu.com; Thu, 07 May 2026 17:02:50 +0000","from mail-wm1-f72.google.com (mail-wm1-f72.google.com\n [209.85.128.72])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id BCB003F856\n for <kernel-team@lists.ubuntu.com>; Thu,  7 May 2026 17:02:49 +0000 (UTC)","by mail-wm1-f72.google.com with SMTP id\n 5b1f17b1804b1-488ba2f4094so8217815e9.1\n for <kernel-team@lists.ubuntu.com>; Thu, 07 May 2026 10:02:49 -0700 (PDT)","from localhost (93-35-115-10.ip54.fastwebnet.it. [93.35.115.10])\n by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-48e5389da63sm138396705e9.4.2026.05.07.10.02.47\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 07 May 2026 10:02:47 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com;\n s=20251003; t=1778173369;\n bh=5K3KK3490XxMNz+gTB26NnGxGjB83v9L3WYdieXGO98=;\n h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:\n Content-Type:In-Reply-To;\n b=YAgwlQLEe3aHZ9FiqbwKF6A6pE/69PHg3/x4IV0bIKTtmUvNnRzSOXGTfCx0GWN3F\n 17+qGiuw9/jm/jMrwWq2G1DRdKAH0etUoQ+UYVADF41OC2DD6I6FsUOc6+2RUPiPVH\n DQcDy2b2roAA+tbvtsfYigjtqG1u/JzGYjg//vA475oQVcKTGbE6SBo6W3VUY6b1Cl\n 1FQlJkeqjbVpRySvt7WrBrLFH9o7nvm1AC2UWBk68ZsjPRTyID6/rzrYkkALTuF2D5\n HoXbzFiOALPySZ7pkf8CBbGr3+CjobUXX2riAOYdIu6mVNgJjaM1F8gfGWHWG7D+gZ\n oSCVY9IHaN+FniiaVc6J0LFzsFZacnkLjPv2xbReyOpm3i8Jgi2y+MdN54l1WDEW3d\n lYp23XHt2O0vRe6VTqUrKOkmJm+lW8Lau5CVDMX/JFE75KM51q/xOJwVPwi62gWgSk\n WdAE5HhfQzMlefglyJcY7aBmtLSTdRC+RgnZM0m6Rx9fp4PzdhvBnsYcvF4qxEZEUA\n PUYhdzdDSDdoxt4qGD1zkkjawvTuUDYOegkaHlMvXDIgXRdKws/B/zmie6n8LN6Y3x\n E6kGPLc8ZS6LK98hGW6ewkloD0aKy70bZ7Xo1BL+SPMcVFzbPpGHkb9YZojPW8T0Y8\n MRARgM89vLDHjeFcA9t4XNzs=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1778173369; x=1778778169;\n h=in-reply-to:content-disposition:mime-version:references:message-id\n :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=5K3KK3490XxMNz+gTB26NnGxGjB83v9L3WYdieXGO98=;\n b=Q0ZdxmZzkSVJvPhcTkSFHaxUyWE+F055hMq33vEt4avGTyDgSm5ecg3uij0kiUqjIZ\n 3pxCxGgdKRNr8g6K/ItTeEWLIXBroRn0jlqIwBHxmcgATUKamcnyflGnwP9R+Hn1kOg8\n ks0wuGYgvdoWWS2FGHweIu8KrPUoHLl5oj4QWMqhqzl7rvTSBysyL/VwjXxeP6wS1CFF\n gOSTzblu5bvJgHYd3lhgixvZn7d1qZoqiKBKfNToTb7HHa6L9iH27yytqsiCzQ/C5bdh\n rTUf6YGV1EOI2bGXZ2vc19xIXXESZE2+EJLY3IB3jCIIED5H7pZVejFepVbusycTZi4/\n pEWw==","X-Gm-Message-State":"AOJu0YyyCBmCyBXwvxUly9KaqwrbUSpGAX+ZfcYahARsZqDMROTCoRfG\n 4DgrBe6pSRWEg3n2ZR+uDjgZSf+AtX9idlRFIbKtBgRiPGh7+Ja2bmmiHmYikJ2M2jZTNNqo4wj\n UwD9MTLJmxSDRWe5qVtHlWbx3UDKA+6/0yb+bcZXPKFm4EQ/N1yIfC2Ufi85hiHGFHndttGUKiP\n xhk9MtUf91j1mq8A==","X-Gm-Gg":"AeBDieuNC/PnzWBBcTUFccqr7NvjbJMQCzNi00UuJ1dZo757Qvfg6X5PrSZiExiTl4a\n SD5rYAWLcm6tQJ4+nuNdH2c5Um7mn1Q5luUHpVEk95Uhw84352SkESuiNxzWbzzqt+Ovcygaf6l\n lnm3kWpQpLpp3OvziExHhVP6oeEs9GqOsxfv0FeGMGoq8wlkKAN4eQgQU/tQObRCKLF/isXJJvk\n ZiAYYW96ALWEI8HE3FT4l/Flv3+Z3r2uvkHu37kMjjznr65at/JPQADDc+zREyjOlSQKLZ+1lrI\n qJlP6+1we1gj/D7uKVgu4UVFFjxkl5LQDmNdHHzLThFbaDXreOBICMAI5f+5NCw35Pm0bfnTR/6\n Qkr40d22L31C/VJ5CNVctEPH65QxYMDcGA4iEHiOFmmB88JctKPXZKQ1RRx5VxxsHNshRwjHMKP\n pdNDpnJJFcYm0XxAVV","X-Received":["by 2002:a05:600c:8b8b:b0:488:c530:48a0 with SMTP id\n 5b1f17b1804b1-48e51f40e0dmr138974955e9.24.1778173369136;\n Thu, 07 May 2026 10:02:49 -0700 (PDT)","by 2002:a05:600c:8b8b:b0:488:c530:48a0 with SMTP id\n 5b1f17b1804b1-48e51f40e0dmr138974385e9.24.1778173368450;\n Thu, 07 May 2026 10:02:48 -0700 (PDT)"],"Date":"Thu, 7 May 2026 19:02:46 +0200","From":"Alessio Faina <alessio.faina@canonical.com>","To":"Stav Aviram <saviram@nvidia.com>","Subject":"APPLIED: [SRU][N:linux-bluefield][PATCH v1 0/3] UBUNTU: SAUCE: ipv4:\n Provide a FIB flushing signal from nexthop removal functions","Message-ID":"<afzFtu69oBKMHOe0@cicciput>","References":"<cover.1778150607.git.saviram@nvidia.com>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<cover.1778150607.git.saviram@nvidia.com>","X-BeenThere":"kernel-team@lists.ubuntu.com","X-Mailman-Version":"2.1.20","Precedence":"list","List-Id":"Kernel team discussions <kernel-team.lists.ubuntu.com>","List-Unsubscribe":"<https://lists.ubuntu.com/mailman/options/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe>","List-Archive":"<https://lists.ubuntu.com/archives/kernel-team>","List-Post":"<mailto:kernel-team@lists.ubuntu.com>","List-Help":"<mailto:kernel-team-request@lists.ubuntu.com?subject=help>","List-Subscribe":"<https://lists.ubuntu.com/mailman/listinfo/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe>","Cc":"kernel-team@lists.ubuntu.com","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"kernel-team-bounces@lists.ubuntu.com","Sender":"\"kernel-team\" <kernel-team-bounces@lists.ubuntu.com>"}}]