From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexei Starovoitov Subject: Re: [PATCH bpf-next 06/10] [bpf]: make bnxt compatible w/ bpf_xdp_adjust_tail Date: Tue, 17 Apr 2018 16:07:08 -0700 Message-ID: <20180417230706.6xcms4dgtxf67ost@ast-mbp> References: <20180417065131.3632-1-tehnerd@tehnerd.com> <20180417065131.3632-7-tehnerd@tehnerd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Alexei Starovoitov , Daniel Borkmann , Michael Chan , netdev@vger.kernel.org To: "Nikita V. Shirokov" Return-path: Received: from mail-pl0-f44.google.com ([209.85.160.44]:47098 "EHLO mail-pl0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751857AbeDQXHL (ORCPT ); Tue, 17 Apr 2018 19:07:11 -0400 Received: by mail-pl0-f44.google.com with SMTP id 59-v6so12830572plc.13 for ; Tue, 17 Apr 2018 16:07:10 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20180417065131.3632-7-tehnerd@tehnerd.com> Sender: netdev-owner@vger.kernel.org List-ID: On Mon, Apr 16, 2018 at 11:51:27PM -0700, Nikita V. Shirokov wrote: > w/ bpf_xdp_adjust_tail helper xdp's data_end pointer could be changed as > well (only "decrease" of pointer's location is going to be supported). > changing of this pointer will change packet's size. > for bnxt driver we will just calculate packet's length unconditionally > > Signed-off-by: Nikita V. Shirokov Acked-by: Alexei Starovoitov