Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E648C43219 for ; Sun, 28 Apr 2019 15:06:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6DCC0206A3 for ; Sun, 28 Apr 2019 15:06:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Xs9ws47x" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726830AbfD1PGc (ORCPT ); Sun, 28 Apr 2019 11:06:32 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:40644 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726802AbfD1PGc (ORCPT ); Sun, 28 Apr 2019 11:06:32 -0400 Received: by mail-pg1-f196.google.com with SMTP id d31so3935996pgl.7 for ; Sun, 28 Apr 2019 08:06:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=+LloPO4zPrle+0AFtRHqx3LCpNnrG3XtsHsniOnreT8=; b=Xs9ws47xpobPJJKku1N65uJbHLATQMtkFlYHZ1mXRUfqtB2cKwr4d5+783mXdXdJlo EwbgcbE7hNt2fO3eYwKwAYXzGdmev3nWYpHbM2XGCKdluKkNml2UXwjrMOkqkQMR/BqF 5xZG6EG79Rbjl7DN5Km7EoI1p4BOkdFYggeGnEMC7IaPiPmObN4z0OeNzZczx/BiFE+2 yMMsmk6Yc6yApiZ4tU7b7dH1FUCCdFKYAEniTd4o/Y4799ZzDWKF/y+PDJWTa+rDtIqq A67xJjuz44A+BASVzZKM2eCUgXUkkfC2j5MpcZQNPZ4rw5r37jkAlKRW70THxv6yKJTF ecaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=+LloPO4zPrle+0AFtRHqx3LCpNnrG3XtsHsniOnreT8=; b=IP5dgB7hD7I4m7D3zD+CacjpymWtGu68o+OoSXXAi0Gz8REdQ7xcXPFQ+as17G/rhw dhL8oBVQDe3qb1HEdxnBNDA29epjT4KFe3LAqmOpIf9VgjWlaasNoyiSErcd+hQetQ8z zvS4xIAz0j6HduMwRIsGdTd9QmCoPPmGmoClFgVpojZ/uPfZnMrUnE2IeZq6g4Miclel dofvzOwnMXSdc17kTyKMl1HDoEUjPO6KxvUKABbxPb0nAjSJFC+JPthNQQGtEyjh0lD/ n6l8F8pnohzBZW3cCc/dyBBHmtVQz57tB4SG+/Rr34TYMWp8pOdPLb8u/Xqy0Z5gSnaV Rm6w== X-Gm-Message-State: APjAAAXEtlHTjiLOD8o7xxQ6xNgRbJwXczwGO7u4f6MYVf15rUolVCs3 N0kdYnkzOIMp8aKn/beLkyk= X-Google-Smtp-Source: APXvYqwOgnIDGuJ696wGNXqbYBnMTl/xQUusjTyJxprYh0BSkgCLnPyFCGDa+5a7bMFLVfcVXgYJhA== X-Received: by 2002:a62:fb16:: with SMTP id x22mr19149924pfm.140.1556463991576; Sun, 28 Apr 2019 08:06:31 -0700 (PDT) Received: from [192.168.86.235] (c-73-241-150-70.hsd1.ca.comcast.net. [73.241.150.70]) by smtp.gmail.com with ESMTPSA id l2sm35793315pgl.2.2019.04.28.08.06.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Apr 2019 08:06:30 -0700 (PDT) Subject: Re: [PATCH v2 net-next 0/7] ipv4 ipv6: Move location of pcpu route cache and exceptions To: David Ahern , davem@davemloft.net, netdev@vger.kernel.org Cc: idosch@mellanox.com, David Ahern References: <20190428022734.21965-1-dsahern@kernel.org> From: Eric Dumazet Message-ID: <5db90ce0-d24a-4317-5d68-5169d496609a@gmail.com> Date: Sun, 28 Apr 2019 08:06:29 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190428022734.21965-1-dsahern@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On 4/27/19 7:27 PM, David Ahern wrote: > From: David Ahern > > This series moves IPv4 pcpu cached routes from fib_nh to fib_nh_common > to make the caches avaialable for IPv6 nexthops (fib6_nh) with IPv4 > routes. This allows a fib6_nh struct to be used with both IPv4 and > and IPv6 routes. > > In addition pcpu caches and exception entries for IPv6 routes are > moved from fib6_info to fib6_nh since they are really a function of > the device and gateway. During the move of each, functions are > refactored such that the core logic is in new helpers that take > a fib6_nh versus a fib6_info. > I would prefer we fix the existing bugs before moving the code around, otherwise stable teams work is going to be tough. We have dozens of syzbot reports involving all this stuff.