From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f43.google.com ([209.85.160.43]:46269 "EHLO mail-pl0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752527AbeCXRoQ (ORCPT ); Sat, 24 Mar 2018 13:44:16 -0400 Received: by mail-pl0-f43.google.com with SMTP id f5-v6so9342315plj.13 for ; Sat, 24 Mar 2018 10:44:16 -0700 (PDT) Date: Sat, 24 Mar 2018 10:44:11 -0700 From: Alexei Starovoitov To: Jakub Kicinski Cc: daniel@iogearbox.net, oss-drivers@netronome.com, netdev@vger.kernel.org Subject: Re: [PATCH bpf] nfp: bpf: fix check of program max insn count Message-ID: <20180324174410.ekuiq26k2yfjvvbl@ast-mbp> References: <20180324030013.26436-1-jakub.kicinski@netronome.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180324030013.26436-1-jakub.kicinski@netronome.com> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, Mar 23, 2018 at 08:00:13PM -0700, Jakub Kicinski wrote: > NFP program allocation length is in bytes and NFP program length > is in instructions, fix the comparison of the two. > > Fixes: 9314c442d7dd ("nfp: bpf: move translation prepare to offload.c") > Signed-off-by: Jakub Kicinski > Reviewed-by: Jiong Wang Applied to bpf tree, thanks Jakub.