From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexei Starovoitov Subject: Re: [PATCH bpf-next 05/10] [bpf]: make mlx4 compatible w/ bpf_xdp_adjust_tail Date: Tue, 17 Apr 2018 16:06:45 -0700 Message-ID: <20180417230644.s4pre4rc263rtptn@ast-mbp> References: <20180417065131.3632-1-tehnerd@tehnerd.com> <20180417065131.3632-6-tehnerd@tehnerd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Alexei Starovoitov , Daniel Borkmann , Tariq Toukan , netdev@vger.kernel.org To: "Nikita V. Shirokov" Return-path: Received: from mail-pf0-f175.google.com ([209.85.192.175]:37659 "EHLO mail-pf0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752743AbeDQXGr (ORCPT ); Tue, 17 Apr 2018 19:06:47 -0400 Received: by mail-pf0-f175.google.com with SMTP id p6so12863986pfn.4 for ; Tue, 17 Apr 2018 16:06:47 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20180417065131.3632-6-tehnerd@tehnerd.com> Sender: netdev-owner@vger.kernel.org List-ID: On Mon, Apr 16, 2018 at 11:51:26PM -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 mlx4 driver we will just calculate packet's length unconditionally > (the same way as it's already being done in mlx5) > > Signed-off-by: Nikita V. Shirokov Acked-by: Alexei Starovoitov