From patchwork Fri Mar 16 22:34:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Nguyen X-Patchwork-Id: 887197 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=osuosl.org (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=intel.com Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4030qR6MWCz9sSn for ; Sat, 17 Mar 2018 09:43:31 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id F0BA38582C; Fri, 16 Mar 2018 22:43:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hSlw0ggLGp5t; Fri, 16 Mar 2018 22:43:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 6679E86AFE; Fri, 16 Mar 2018 22:43:28 +0000 (UTC) X-Original-To: intel-wired-lan@lists.osuosl.org Delivered-To: intel-wired-lan@lists.osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id AA8761C218D for ; Fri, 16 Mar 2018 22:43:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A796E89702 for ; Fri, 16 Mar 2018 22:43:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r8CWpo5K9J9c for ; Fri, 16 Mar 2018 22:43:26 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by whitealder.osuosl.org (Postfix) with ESMTPS id 0AB90842E9 for ; Fri, 16 Mar 2018 22:43:26 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Mar 2018 15:43:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,317,1517904000"; d="scan'208";a="25375059" Received: from unknown (HELO anguy11-linux.jf.intel.com) ([10.166.244.153]) by orsmga007.jf.intel.com with ESMTP; 16 Mar 2018 15:43:24 -0700 From: Tony Nguyen To: intel-wired-lan@lists.osuosl.org Date: Fri, 16 Mar 2018 15:34:01 -0700 Message-Id: <20180316223406.7295-1-anthony.l.nguyen@intel.com> X-Mailer: git-send-email 2.13.6 Subject: [Intel-wired-lan] [PATCH 0/5] Enable XDP for ixgbevf X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.24 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: netdev@vger.kernel.org MIME-Version: 1.0 Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" This patch series implements support for XDP on ixgbevf; it is mainly based on the ixgbe implementation and supports the following actions: XDP_PASS, XDP_DROP, and XDP_TX. Tony Nguyen (5): ixgbevf: Add XDP support for pass and drop actions ixgbevf: Add support for XDP_TX action ixgbevf: Delay tail write for XDP packets ixgbevf: Add support for meta data ixgbevf: Add XDP queue stats reporting drivers/net/ethernet/intel/ixgbevf/ethtool.c | 68 ++- drivers/net/ethernet/intel/ixgbevf/ixgbevf.h | 30 +- drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 489 +++++++++++++++++++--- 3 files changed, 518 insertions(+), 69 deletions(-)