From mboxrd@z Thu Jan 1 00:00:00 1970 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=-9.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 269F3C11F67 for ; Tue, 29 Jun 2021 19:10:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0D8B261DE3 for ; Tue, 29 Jun 2021 19:10:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235309AbhF2TNH (ORCPT ); Tue, 29 Jun 2021 15:13:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233916AbhF2TNG (ORCPT ); Tue, 29 Jun 2021 15:13:06 -0400 Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68C45C061760 for ; Tue, 29 Jun 2021 12:10:38 -0700 (PDT) Received: by mail-oi1-x236.google.com with SMTP id d19so27444733oic.7 for ; Tue, 29 Jun 2021 12:10:38 -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=y79oU7iLPMZxXNvTSmBEBP8UKiUAbDjif+iOgsBtLDo=; b=vTg6OiOVnGjwslsgjCT4bExZN/seEnfVikGmCa/dbhs9ovyfphpnHfQXFCZtLJF12/ ivppTDynCXxx1TR2uBphOYWynKe3sCyiEdtibVW3CXRENzSJHSk7kus67g23hKp3aR7O 22JZ1J5f2Bh4IaUnkeTK6mrFKZd4A/KqP/EGJ2gsTMgBqM4ae11S40WLsDxKQAkWg5u7 HSOFefVnUJXZieoaT4s0sVUqDhXvdZe7l4AnJKzYdTio40LEZ3ya1NBfs5M0xr2nRMvA H98GD22KO5++S6L5golfBkClp9ZqlK4ijIM55OViaAZs2RbdcX/tX/0isxT52MHRYTh2 rK+Q== 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=y79oU7iLPMZxXNvTSmBEBP8UKiUAbDjif+iOgsBtLDo=; b=HSlyqgYDtAcrTaezBpPrButEbRl54j8iA/u0P+x169e57rEYALMdAlynJ2VaB4fhAs cg521iyS0i/uK2Dzv4Hz+/n7cS/5yoe4Jbb5bxh9ybPk8nexYXCxOTJ1cv7k0CcdbzYR OVl8beL2PqXxj4ioaI2833BxLVp811YacZlQanBSqxDfQUgFOdJa94ki77LsHsTc3FFy 9axzHIiYddZ0YQM0v37wE3ZbPpYhwZYOVAqel2L4LhW3KQOJ85zpZez4Zjbj2eOA17/K rhKtvvsLrkvrwNduyH6uiST53bKWyCDfFe/r23t2PKOr/LiuFUlY06IgMPetSMj5FTa2 kPEA== X-Gm-Message-State: AOAM53034DSRQEpzr+ZtfTLgg6UR5hzgCDTIzhSxkEturJ7IPliABajf VhZPdm1sOP4kEcSihsdL53M= X-Google-Smtp-Source: ABdhPJyVcjrHDmwa5m9rapRB/BodCk/Oz9yXRs/0RlA5V6cloFJVW8QuVwJ54swOz447vGSHrVYbAQ== X-Received: by 2002:aca:5bd6:: with SMTP id p205mr255884oib.179.1624993837288; Tue, 29 Jun 2021 12:10:37 -0700 (PDT) Received: from Davids-MacBook-Pro.local ([8.48.134.38]) by smtp.googlemail.com with ESMTPSA id g25sm1912482oov.41.2021.06.29.12.10.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 29 Jun 2021 12:10:37 -0700 (PDT) Subject: Re: [PATCH 1/3] bpf: Add support for mark with bpf_fib_lookup To: Greg KH , Rumen Telbizov Cc: bpf@vger.kernel.org, Daniel Borkmann , Jesper Dangaard Brouer References: From: David Ahern Message-ID: Date: Tue, 29 Jun 2021 13:10:35 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org On 6/29/21 11:50 AM, Greg KH wrote: > On Tue, Jun 29, 2021 at 10:37:34AM -0700, Rumen Telbizov wrote: >> Add support for policy routing via marks to the bpf_fib_lookup >> helper. The bpf_fib_lookup struct is constrained to 64B for >> performance. Since the smac and dmac entries are used only for >> output, put them in an anonymous struct and then add a union >> around a second struct that contains the mark to use in the FIB >> lookup. >> >> Signed-off-by: David Ahern >> Signed-off-by: Rumen Telbizov > > Did David author this, or did Rumen? > Both. Rumen's first patch set and hitting some bumps.