Message ID | 20211129192300.14188-1-anthony.l.nguyen@intel.com |
---|---|
Headers | show
Return-Path: <intel-wired-lan-bounces@osuosl.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver=<UNKNOWN>) Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4J2wJm6VqQz9sRR for <incoming@patchwork.ozlabs.org>; Tue, 30 Nov 2021 06:24:24 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 533F7607CB; Mon, 29 Nov 2021 19:24:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07Flv5RHvcJa; Mon, 29 Nov 2021 19:24:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 6E53E6071A; Mon, 29 Nov 2021 19:24:21 +0000 (UTC) X-Original-To: intel-wired-lan@lists.osuosl.org Delivered-To: intel-wired-lan@lists.osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 322F81BF3A3 for <intel-wired-lan@lists.osuosl.org>; Mon, 29 Nov 2021 19:24:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 1B36E81A30 for <intel-wired-lan@lists.osuosl.org>; Mon, 29 Nov 2021 19:24:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dCmtB3b7MHW5 for <intel-wired-lan@lists.osuosl.org>; Mon, 29 Nov 2021 19:24:19 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by smtp1.osuosl.org (Postfix) with ESMTPS id 0C01E80FA6 for <intel-wired-lan@lists.osuosl.org>; Mon, 29 Nov 2021 19:24:18 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6200,9189,10183"; a="259993345" X-IronPort-AV: E=Sophos;i="5.87,273,1631602800"; d="scan'208";a="259993345" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2021 11:24:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,273,1631602800"; d="scan'208";a="558967531" Received: from unknown (HELO anguy11-linux.jf.intel.com) ([10.166.244.133]) by fmsmga008.fm.intel.com with ESMTP; 29 Nov 2021 11:24:14 -0800 From: Tony Nguyen <anthony.l.nguyen@intel.com> To: intel-wired-lan@lists.osuosl.org Date: Mon, 29 Nov 2021 11:22:54 -0800 Message-Id: <20211129192300.14188-1-anthony.l.nguyen@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Intel-wired-lan] [PATCH net-next 0/6] iavf: Add support for VIRTCHNL_VF_OFFLOAD_VLAN_V2 X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development <intel-wired-lan.osuosl.org> List-Unsubscribe: <https://lists.osuosl.org/mailman/options/intel-wired-lan>, <mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe> List-Archive: <http://lists.osuosl.org/pipermail/intel-wired-lan/> List-Post: <mailto:intel-wired-lan@osuosl.org> List-Help: <mailto:intel-wired-lan-request@osuosl.org?subject=help> List-Subscribe: <https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, <mailto:intel-wired-lan-request@osuosl.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" <intel-wired-lan-bounces@osuosl.org> |
Series |
iavf: Add support for VIRTCHNL_VF_OFFLOAD_VLAN_V2
|
expand
|
From: Brett Creeley <brett.creeley@intel.com> This patch series adds support in the iavf driver for communicating and using VIRTCHNL_VF_OFFLOAD_VLAN_V2. The current VIRTCHNL_VF_OFFLOAD_VLAN is very limited and covers all 802.1Q VLAN offloads and filtering with no granularity. The new VIRTCHNL_VF_OFFLOAD_VLAN_V2 adds more granularity, flexibility, and support for 802.1ad offloads and filtering. This includes the VF negotiating which VLAN offloads/filtering it's allowed, where VLAN tags should be inserted and/or stripped into and from descriptors, and the supported VLAN protocols. Brett Creeley (6): virtchnl: Add support for new VLAN capabilities iavf: Add support for VIRTCHNL_VF_OFFLOAD_VLAN_V2 negotiation iavf: Add support VIRTCHNL_VF_OFFLOAD_VLAN_V2 during netdev config iavf: Add support for VIRTCHNL_VF_OFFLOAD_VLAN_V2 hotpath iavf: Add support for VIRTCHNL_VF_OFFLOAD_VLAN_V2 offload enable/disable iavf: Restrict maximum VLAN filters for VIRTCHNL_VF_OFFLOAD_VLAN_V2 drivers/net/ethernet/intel/iavf/iavf.h | 45 +- drivers/net/ethernet/intel/iavf/iavf_main.c | 767 +++++++++++++++--- drivers/net/ethernet/intel/iavf/iavf_txrx.c | 72 +- drivers/net/ethernet/intel/iavf/iavf_txrx.h | 30 +- .../net/ethernet/intel/iavf/iavf_virtchnl.c | 534 ++++++++++-- include/linux/avf/virtchnl.h | 378 +++++++++ 6 files changed, 1609 insertions(+), 217 deletions(-)