From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 7FF231A0053 for ; Wed, 12 Nov 2014 05:40:08 +1100 (AEDT) Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2001:4f8:3:36:211:85ff:fe63:a549]) by ozlabs.org (Postfix) with ESMTP id 4484414010F for ; Wed, 12 Nov 2014 05:40:07 +1100 (AEDT) Date: Tue, 11 Nov 2014 13:40:02 -0500 (EST) Message-Id: <20141111.134002.8147781185003778.davem@davemloft.net> To: kda@linux-powerpc.org Subject: Re: [PATCH v2 net-next] PPC: bpf_jit_comp: add SKF_AD_HATYPE instruction From: David Miller In-Reply-To: <1415599183-3883-1-git-send-email-kda@linux-powerpc.org> References: <1415599183-3883-1-git-send-email-kda@linux-powerpc.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Cc: felix@linux.vnet.ibm.com, netdev@vger.kernel.org, dborkman@redhat.com, alexei.starovoitov@gmail.com, linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Denis Kirjanov Date: Mon, 10 Nov 2014 08:59:43 +0300 > Add BPF extension SKF_AD_HATYPE to ppc JIT to check > the hw type of the interface > > Before: > [ 57.723666] test_bpf: #20 LD_HATYPE > [ 57.723675] BPF filter opcode 0020 (@0) unsupported > [ 57.724168] 48 48 PASS > > After: > [ 103.053184] test_bpf: #20 LD_HATYPE 7 6 PASS > > CC: Alexei Starovoitov > CC: Daniel Borkmann > CC: Philippe Bergheaud > Signed-off-by: Denis Kirjanov > > v2: address Alexei's comments Applied, thanks.