From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id A087B69C5 for ; Mon, 13 Mar 2017 05:04:55 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Mar 2017 21:04:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,156,1486454400"; d="scan'208";a="1121703627" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.239.129.167]) by fmsmga001.fm.intel.com with ESMTP; 12 Mar 2017 21:04:53 -0700 From: Qi Zhang To: jingjing.wu@intel.com, helin.zhang@intel.com Cc: dev@dpdk.org, Qi Zhang Date: Mon, 13 Mar 2017 00:55:41 -0400 Message-Id: <20170313045543.65464-1-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170303015924.68986-1-qi.z.zhang@intel.com> References: <20170303015924.68986-1-qi.z.zhang@intel.com> Subject: [dpdk-dev] [PATCH v2 0/2] net/i40e: enable VF untag drop X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Mar 2017 04:04:56 -0000 Add a new API to enable untag drop for a specific VF. This is an experimental API. v2: - Add a flag "untag_drop" in i40e_vsi to help track the untag drop status, so it prevent error from i40e_aq_remove_vlan when call rte_pmd_i40e_set_vf_vlan_untag_drop twice. Due to hardware limitation, the error code from i40e_aq_remove_vlan is not able to help distinct a specific double removal error from other errors. Qi Zhang (2): net/i40e: enable VF untag drop app/testpmd: enable VF untag drop in testpmd app/test-pmd/cmdline.c | 104 ++++++++++++++++++++++++++++++++++++++++ drivers/net/i40e/i40e_ethdev.c | 54 +++++++++++++++++++++ drivers/net/i40e/i40e_ethdev.h | 1 + drivers/net/i40e/rte_pmd_i40e.h | 18 +++++++ 4 files changed, 177 insertions(+) -- 2.9.3