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=-11.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 AA120C11F69 for ; Wed, 30 Jun 2021 05:42:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 797CC61418 for ; Wed, 30 Jun 2021 05:42:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231683AbhF3Fhj (ORCPT ); Wed, 30 Jun 2021 01:37:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:58878 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229510AbhF3Fhh (ORCPT ); Wed, 30 Jun 2021 01:37:37 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 51A6661C65; Wed, 30 Jun 2021 05:35:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1625031309; bh=VBctbRohZEP0Od52mE6m6uhQBMkSeCuEYjH5LmodY+o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YuByqsHZKmnU5z0p9CS/OZ2VxZTBlFj6nDRgsR0M/C/jASN/WsMuo1tUBNfa9E8wy 9n6p7e8QiGl9O+PLSp3+P35ZAeGl7VtUAH+PdGoDhQHggV7hNgzPc/k1xq4HNrTWQm 99jnBEBFO2atCnByL0MqZNnaH/TD/wIzayIaT4d0= Date: Wed, 30 Jun 2021 07:35:05 +0200 From: Greg KH To: Rumen Telbizov Cc: bpf@vger.kernel.org, dsahern@gmail.com, David Ahern Subject: Re: [PATCH 1/3] bpf: Add support for mark with bpf_fib_lookup Message-ID: References: <20210629185537.78008-1-rumen.telbizov@menlosecurity.com> <20210629185537.78008-2-rumen.telbizov@menlosecurity.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210629185537.78008-2-rumen.telbizov@menlosecurity.com> Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org On Tue, Jun 29, 2021 at 11:55:35AM -0700, Rumen Telbizov wrote: > From: David Ahern > > 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: Rumen Telbizov > --- Any reason that David didn't also sign off on this? thanks, greg k-h