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=-13.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,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 327A4C43381 for ; Mon, 25 Mar 2019 20:29:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0D60820848 for ; Mon, 25 Mar 2019 20:29:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730333AbfCYU3z (ORCPT ); Mon, 25 Mar 2019 16:29:55 -0400 Received: from mga05.intel.com ([192.55.52.43]:35049 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730006AbfCYU3z (ORCPT ); Mon, 25 Mar 2019 16:29:55 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Mar 2019 13:29:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,270,1549958400"; d="scan'208";a="155082570" Received: from jtkirshe-desk1.jf.intel.com ([134.134.177.96]) by fmsmga002.fm.intel.com with ESMTP; 25 Mar 2019 13:29:54 -0700 From: Jeff Kirsher To: davem@davemloft.net Cc: Jeff Kirsher , netdev@vger.kernel.org, nhorman@redhat.com, sassmann@redhat.com Subject: [net-next 00/15][pull request] 100GbE Intel Wired LAN Driver Updates 2019-03-25 Date: Mon, 25 Mar 2019 13:29:38 -0700 Message-Id: <20190325202953.32095-1-jeffrey.t.kirsher@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This series contains updates to the ice driver only. Victor updates the ice driver to be able to update the VSI queue configuration dynamically, by providing the ability to increase or decrease the VSI's number of queues. Michal fixes an issue when the VM starts or the VF driver is reloaded, the VLAN switch rule was lost (i.e. not added), so ensure it gets added in these cases. Brett updates the driver to support link events over the admin receive queue, instead of polling link events. Maciej refactors the code a bit to introduce a new function to fetch the receiver buffer and do the DMA synchronization to reduce the code duplication. Also added ice_can_reuse_rx_page() to verify whether the page can be reused so that in the future, we can use this check elsewhere in the driver. Additional driver optimizations so that we can drop the ice_pull_tail() altogether. Added support for bulk updates of refcount instead of doing it one by one. Refactored the page counting and buffer recycling so that we can use this code to clean up receive buffers when there is no skb allocated, like XDP. Added DMA_ATTR_WEAK_ORDERING and DMA_ATTR_SKIP_CPU_SYNC attributes to the DMA API during the mapping operations on the receive side, so that nonx86 platforms will be able to sync with what is being used (2k buffers) instead of the entire page. Dave fixes the driver to perform the most intrusive of the resets requested and clear the other request bits so that we do not end up with repeated reset, after reset. Bruce adds a iterator macro to clean up several for() loops. Chinh modifies the packet flags to be more generic so that they can be used for both receive and transmit. The following are changes since commit 68cc2999f6926590c7783f2de12ba467ecad8c7d: Merge branch 'devlink-small-spring-cleanup' and are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue 100GbE Alan Brady (1): ice: use irq_num var in ice_vsi_req_irq_msix Brett Creeley (1): ice: Enable link events over the ARQ Bruce Allan (1): ice: add and use new ice_for_each_traffic_class() macro Chinh T Cao (1): ice: Create a generic name for the ice_rx_flg64_bits structure Dave Ertman (1): ice: Prevent unintended multiple chain resets Maciej Fijalkowski (7): ice: Retrieve rx_buf in separate function ice: Pull out page reuse checks onto separate function ice: Get rid of ice_pull_tail ice: Introduce bulk update for page count ice: Gather the rx buf clean-up logic for better reuse ice: Limit the ice_add_rx_frag to frag addition ice: map Rx buffer pages with DMA attributes Michal Swiatkowski (1): ice: Restore VLAN switch rule if port VLAN existed before Preethi Banala (1): ice: change VF VSI tc info along with num_queues Victor Raj (1): ice: update VSI config dynamically drivers/net/ethernet/intel/ice/ice_common.c | 56 ++- drivers/net/ethernet/intel/ice/ice_common.h | 6 + .../net/ethernet/intel/ice/ice_lan_tx_rx.h | 34 +- drivers/net/ethernet/intel/ice/ice_lib.c | 4 +- drivers/net/ethernet/intel/ice/ice_main.c | 85 ++++- drivers/net/ethernet/intel/ice/ice_sched.c | 77 +--- drivers/net/ethernet/intel/ice/ice_txrx.c | 351 ++++++++++-------- drivers/net/ethernet/intel/ice/ice_txrx.h | 4 + drivers/net/ethernet/intel/ice/ice_type.h | 3 + .../net/ethernet/intel/ice/ice_virtchnl_pf.c | 7 +- 10 files changed, 368 insertions(+), 259 deletions(-) -- 2.20.1