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=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 2668AECE58D for ; Wed, 9 Oct 2019 08:03:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 08615206B6 for ; Wed, 9 Oct 2019 08:03:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725440AbfJIIDs (ORCPT ); Wed, 9 Oct 2019 04:03:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33868 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725914AbfJIIDs (ORCPT ); Wed, 9 Oct 2019 04:03:48 -0400 Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A2E69C08EC02 for ; Wed, 9 Oct 2019 08:03:47 +0000 (UTC) Received: by mail-lj1-f197.google.com with SMTP id w26so166700ljh.9 for ; Wed, 09 Oct 2019 01:03:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=e6PDWY+jCDc15XxVDO6PNOmfYxpRrFsL3Dg/nclfQ5Q=; b=C8rIFG7aEV6S41l2AenndLuO7H+e86rzJrsmHK45ZFsYBIOL4CCltegmS41ywnFcx0 iwgCGklxmuj77jGqldIAHDF6o1KYh796IpnI++GDGLTu5t/2VwJI6O0tnxiHND0gbJ+V yW2hnRXQljJGQ5aQ8Qsxz+6OcN9Na+hOZPLnbEv2Uz3XLRVzn73vVPZwS8PaT5DSxUeQ t1mxc+O8slMMAeq4EpSE2SGmG3OBqIjB2h59C5a+Tqg5fwIdkM0r6N4IpD45RK5UOjc6 8JPVPshakDh62CXJQ/mdj5vFGbeanTrMeKJALhcRK6xY1SZiFXRRRcyqyEOfEd/99jhs pODg== X-Gm-Message-State: APjAAAXdSjhdLrqJAADbaaUeKWbcYk7J7Ot6r7wD16F7X9CQoQfCQ/0R uaNz3Llnb7foayYzAqwAaB3KpfxT/qb73Q5ngcfN9uE4t6z2e8WnTbm9KzT82gp6AwY5z9gjGb6 qxQ9RE1ZXzdwM X-Received: by 2002:a19:4849:: with SMTP id v70mr1266869lfa.40.1570608226002; Wed, 09 Oct 2019 01:03:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqw8KUkRcnDDp+F0kxjHINAA1UwC3GB9awdIdon0aDan85L+Ki3CJuQUEi/AcdLBoEiIYovPxA== X-Received: by 2002:a19:4849:: with SMTP id v70mr1266855lfa.40.1570608225842; Wed, 09 Oct 2019 01:03:45 -0700 (PDT) Received: from alrua-x1.borgediget.toke.dk ([2a00:7660:6da:443::2]) by smtp.gmail.com with ESMTPSA id v7sm291317lfd.55.2019.10.09.01.03.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2019 01:03:45 -0700 (PDT) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id E105318063D; Wed, 9 Oct 2019 10:03:43 +0200 (CEST) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Alexei Starovoitov Cc: Daniel Borkmann , Alexei Starovoitov , Martin KaFai Lau , Song Liu , Yonghong Song , Marek Majkowski , Lorenz Bauer , Alan Maguire , Jesper Dangaard Brouer , David Miller , netdev@vger.kernel.org, bpf@vger.kernel.org Subject: Re: [PATCH bpf-next v3 1/5] bpf: Support chain calling multiple BPF programs after each other In-Reply-To: <20191009015117.pldowv6n3k5p3ghr@ast-mbp.dhcp.thefacebook.com> References: <157046883502.2092443.146052429591277809.stgit@alrua-x1> <157046883614.2092443.9861796174814370924.stgit@alrua-x1> <20191007204234.p2bh6sul2uakpmnp@ast-mbp.dhcp.thefacebook.com> <87sgo3lkx9.fsf@toke.dk> <20191009015117.pldowv6n3k5p3ghr@ast-mbp.dhcp.thefacebook.com> X-Clacks-Overhead: GNU Terry Pratchett Date: Wed, 09 Oct 2019 10:03:43 +0200 Message-ID: <87o8yqjqg0.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain Sender: bpf-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org Alexei Starovoitov writes: > Please implement proper indirect calls and jumps. I am still not convinced this will actually solve our problem; but OK, I can give it a shot. However, I don't actually have a clear picture of what exactly is missing to add this support. Could you please provide a pointer or two? -Toke