From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH iproute2 v2] ip: add support for seg6local End.BPF action Date: Wed, 18 Jul 2018 15:57:53 -0700 Message-ID: <20180718155753.5b649f4b@xeon-e3> References: <20180717144952.4540-1-m.xhonneux@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, dlebrun@google.com To: Mathieu Xhonneux Return-path: Received: from mail-pf0-f194.google.com ([209.85.192.194]:41025 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729180AbeGRXiC (ORCPT ); Wed, 18 Jul 2018 19:38:02 -0400 Received: by mail-pf0-f194.google.com with SMTP id c21-v6so2883623pfn.8 for ; Wed, 18 Jul 2018 15:57:56 -0700 (PDT) In-Reply-To: <20180717144952.4540-1-m.xhonneux@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, 17 Jul 2018 14:49:52 +0000 Mathieu Xhonneux wrote: > This patch adds support for the End.BPF action of the seg6local > lightweight tunnel. Functions from the BPF lightweight tunnel are > re-used in this patch. Example: > > $ ip -6 route add fc00::18 encap seg6local action End.BPF endpoint > obj my_bpf.o sec my_func dev eth0 > > $ ip -6 route show fc00::18 > fc00::18 encap seg6local action End.BPF endpoint my_bpf.o:[my_func] > dev eth0 metric 1024 pref medium > > v2: - re-use of print_encap_bpf_prog instead of fprintf > - introduction of "endpoint" keyword for more consistency with > others parameters > > Signed-off-by: Mathieu Xhonneux Ok. Applied