From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754098AbdFNAWl (ORCPT ); Tue, 13 Jun 2017 20:22:41 -0400 Received: from www62.your-server.de ([213.133.104.62]:40341 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753311AbdFNAWk (ORCPT ); Tue, 13 Jun 2017 20:22:40 -0400 Message-ID: <594081CA.3060801@iogearbox.net> Date: Wed, 14 Jun 2017 02:22:34 +0200 From: Daniel Borkmann User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: David Daney , Alexei Starovoitov , "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org CC: linux-mips@linux-mips.org, ralf@linux-mips.org Subject: Re: [PATCH 0/4] bpf: Changes needed (or desired) for MIPS support References: <20170613234938.4823-1-david.daney@cavium.com> In-Reply-To: <20170613234938.4823-1-david.daney@cavium.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: daniel@iogearbox.net Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/14/2017 01:49 AM, David Daney wrote: > This is a grab bag of changes to the bpf testing infrastructure I > developed working on MIPS eBPF JIT support. The change to > bpf_jit_disasm is probably universally beneficial, the others are more > MIPS specific. I think these could go independently through net-next tree? Thanks, Daniel > David Daney (4): > tools: bpf_jit_disasm: Handle large images. > test_bpf: Add test to make conditional jump cross a large number of > insns. > bpf: Add MIPS support to samples/bpf. > samples/bpf: Fix tracex5 to work with MIPS syscalls. > > lib/test_bpf.c | 32 ++++++++++++++++++++++++++++++++ > samples/bpf/Makefile | 13 +++++++++++++ > samples/bpf/bpf_helpers.h | 13 +++++++++++++ > samples/bpf/syscall_nrs.c | 12 ++++++++++++ > samples/bpf/tracex5_kern.c | 11 ++++++++--- > tools/net/bpf_jit_disasm.c | 37 ++++++++++++++++++++++++++----------- > 6 files changed, 104 insertions(+), 14 deletions(-) > create mode 100644 samples/bpf/syscall_nrs.c >