From patchwork Mon Sep 14 17:32:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tony Nguyen X-Patchwork-Id: 260904 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=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham 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 5DDAEC43461 for ; Mon, 14 Sep 2020 17:33:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1DBD220E65 for ; Mon, 14 Sep 2020 17:33:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726358AbgINRc7 (ORCPT ); Mon, 14 Sep 2020 13:32:59 -0400 Received: from mga09.intel.com ([134.134.136.24]:61353 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726239AbgINRci (ORCPT ); Mon, 14 Sep 2020 13:32:38 -0400 IronPort-SDR: 6cakbeBw9izHUeRGP819DgQkn9958vIZNJ+jB0T0RFkBpsqVDKBU9e2faXDtvXKize8TK7Wv+b LAAo/6qTpM5Q== X-IronPort-AV: E=McAfee;i="6000,8403,9744"; a="160056110" X-IronPort-AV: E=Sophos;i="5.76,426,1592895600"; d="scan'208";a="160056110" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2020 10:32:31 -0700 IronPort-SDR: vCgNck1gV4po1b8ZlTzcAOwUDgBHLhgcUCSDTSCES9oA7WrNpMy+9DuPWS5P49yegjxp5INWDU h/1yHvsTSBUw== X-IronPort-AV: E=Sophos;i="5.76,426,1592895600"; d="scan'208";a="319137308" Received: from jtkirshe-desk1.jf.intel.com ([134.134.177.86]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2020 10:32:31 -0700 From: Tony Nguyen To: davem@davemloft.net Cc: Tony Nguyen , netdev@vger.kernel.org, nhorman@redhat.com, sassmann@redhat.com, jeffrey.t.kirsher@intel.com Subject: [net-next v2 0/5][pull request] 40GbE Intel Wired LAN Driver Updates 2020-09-14 Date: Mon, 14 Sep 2020 10:32:19 -0700 Message-Id: <20200914173224.692707-1-anthony.l.nguyen@intel.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This series contains updates to i40e driver only. Li RongQing removes binding affinity mask to a fixed CPU and sets prefetch of Rx buffer page to occur conditionally. Björn provides AF_XDP performance improvements by not prefetching HW descriptors, using 16 byte descriptors, and moving buffer allocation out of Rx processing loop. v2: Define prefetch_page_address in a common header for patch 2. Dropped, previous, patch 5 as it is being reworked to be more generalized. The following are changes since commit e059c6f340f6fccadd3db9993f06d4cc51305804: tulip: switch from 'pci_' to 'dma_' API and are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue 40GbE Björn Töpel (3): i40e, xsk: remove HW descriptor prefetch in AF_XDP path i40e: use 16B HW descriptors instead of 32B i40e, xsk: move buffer allocation out of the Rx processing loop Li RongQing (2): i40e: not compute affinity_mask for IRQ i40e: optimise prefetch page refcount drivers/net/ethernet/intel/i40e/i40e.h | 2 +- .../net/ethernet/intel/i40e/i40e_debugfs.c | 10 ++++---- drivers/net/ethernet/intel/i40e/i40e_main.c | 16 ++++--------- drivers/net/ethernet/intel/i40e/i40e_trace.h | 6 ++--- drivers/net/ethernet/intel/i40e/i40e_txrx.c | 21 ++++++++++++---- drivers/net/ethernet/intel/i40e/i40e_txrx.h | 2 +- .../ethernet/intel/i40e/i40e_txrx_common.h | 13 ---------- drivers/net/ethernet/intel/i40e/i40e_type.h | 5 +++- drivers/net/ethernet/intel/i40e/i40e_xsk.c | 24 ++++++++++++------- include/linux/prefetch.h | 8 +++++++ 10 files changed, 59 insertions(+), 48 deletions(-)