From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=FROM_EXCESS_BASE64, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 36DB6C49ED7 for ; Fri, 13 Sep 2019 11:16:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0E7B3208C0 for ; Fri, 13 Sep 2019 11:16:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387611AbfIMLQm (ORCPT ); Fri, 13 Sep 2019 07:16:42 -0400 Received: from mga09.intel.com ([134.134.136.24]:23912 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387588AbfIMLQm (ORCPT ); Fri, 13 Sep 2019 07:16:42 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Sep 2019 04:16:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,500,1559545200"; d="scan'208";a="210317965" Received: from sjuba-mobl.ger.corp.intel.com (HELO btopel-mobl.ger.intel.com) ([10.252.54.243]) by fmsmga004.fm.intel.com with ESMTP; 13 Sep 2019 04:16:38 -0700 Subject: Re: [PATCH bpf-next v2 0/3] AF_XDP fixes for i40e, ixgbe and xdpsock To: Ciara Loftus , netdev@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net, magnus.karlsson@intel.com, jonathan.lemon@gmail.com Cc: bruce.richardson@intel.com, bpf@vger.kernel.org, intel-wired-lan@lists.osuosl.org, kevin.laatz@intel.com References: <20190913103948.32053-1-ciara.loftus@intel.com> From: =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= Message-ID: <03e25d27-fe42-306d-880f-31b3d995afd3@intel.com> Date: Fri, 13 Sep 2019 13:16:37 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190913103948.32053-1-ciara.loftus@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: bpf-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org On 2019-09-13 12:39, Ciara Loftus wrote: > This patch set contains some fixes for AF_XDP zero copy in the i40e and > ixgbe drivers as well as a fix for the 'xdpsock' sample application when > running in unaligned mode. > > Patches 1 and 2 fix a regression for the i40e and ixgbe drivers which > caused the umem headroom to be added to the xdp handle twice, resulting in > an incorrect value being received by the user for the case where the umem > headroom is non-zero. > > Patch 3 fixes an issue with the xdpsock sample application whereby the > start of the tx packet data (offset) was not being set correctly when the > application was being run in unaligned mode. > > This patch set has been applied against commit a2c11b034142 ("kcm: use > BPF_PROG_RUN") > > --- > v2: > - Rearranged local variable order in i40e_run_xdp_zc and ixgbe_run_xdp_zc > to comply with coding standards. > Thanks Ciara! Acked-by: Björn Töpel > Ciara Loftus (3): > i40e: fix xdp handle calculations > ixgbe: fix xdp handle calculations > samples/bpf: fix xdpsock l2fwd tx for unaligned mode > > drivers/net/ethernet/intel/i40e/i40e_xsk.c | 4 ++-- > drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c | 4 ++-- > samples/bpf/xdpsock_user.c | 2 +- > 3 files changed, 5 insertions(+), 5 deletions(-) >