From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 925351A0065 for ; Thu, 30 Oct 2014 15:44:44 +1100 (AEDT) Message-ID: <1414644283.12600.7.camel@concordia> Subject: Re: [PATCH] PPC: bpf_jit_comp: add SKF_AD_PKTTYPE instruction From: Michael Ellerman To: Denis Kirjanov Date: Thu, 30 Oct 2014 15:44:43 +1100 In-Reply-To: References: <1414351406-4122-1-git-send-email-kda@linux-powerpc.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org, Matt Evans , netdev@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2014-10-29 at 13:21 +0400, Denis Kirjanov wrote: > Any feedback from PPC folks? Hi Denis, I had a look at this, but I don't know enough about BPF to comment. Maybe you can explain what a BPF_ANC | SKF_AD_PKTTYPE means and perhaps then we can guess if the code is correct. I think testing it is the best option :) cheers