From patchwork Fri Mar 3 07:26:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xing, Beilei" X-Patchwork-Id: 21232 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 50909F958; Fri, 3 Mar 2017 08:28:04 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id D20782B93; Fri, 3 Mar 2017 08:27:31 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Mar 2017 23:27:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,235,1484035200"; d="scan'208";a="830441991" Received: from unknown (HELO dpdk9.sh.intel.com) ([10.239.129.31]) by FMSMGA003.fm.intel.com with ESMTP; 02 Mar 2017 23:27:29 -0800 From: Beilei Xing To: jingjing.wu@intel.com Cc: helin.zhang@intel.com, dev@dpdk.org, Rami Rosen , stable@dpdk.org Date: Fri, 3 Mar 2017 15:26:12 +0800 Message-Id: <1488525977-15321-8-git-send-email-beilei.xing@intel.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1488525977-15321-1-git-send-email-beilei.xing@intel.com> References: <1488525977-15321-1-git-send-email-beilei.xing@intel.com> Subject: [dpdk-dev] [PATCH 1/6] net/i40e: fix a typo in flow 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Rami Rosen This patch fixes a trivial typo in i40e_flow.c. Fixes: 47c6782344b7 ("net/i40e: fix tunnel filter") Fixes: d416530e6358 ("net/i40e: parse tunnel filter") Cc: stable@dpdk.org Signed-off-by: Rami Rosen Acked-by: John McNamara Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_flow.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c index c6e4d87..f163ce5 100644 --- a/drivers/net/i40e/i40e_flow.c +++ b/drivers/net/i40e/i40e_flow.c @@ -1309,7 +1309,7 @@ i40e_flow_parse_vxlan_pattern(const struct rte_flow_item *pattern, case RTE_FLOW_ITEM_TYPE_IPV4: filter->ip_type = RTE_TUNNEL_IPTYPE_IPV4; /* IPv4 is used to describe protocol, - * spec amd mask should be NULL. + * spec and mask should be NULL. */ if (item->spec || item->mask) { rte_flow_error_set(error, EINVAL, @@ -1322,7 +1322,7 @@ i40e_flow_parse_vxlan_pattern(const struct rte_flow_item *pattern, case RTE_FLOW_ITEM_TYPE_IPV6: filter->ip_type = RTE_TUNNEL_IPTYPE_IPV6; /* IPv6 is used to describe protocol, - * spec amd mask should be NULL. + * spec and mask should be NULL. */ if (item->spec || item->mask) { rte_flow_error_set(error, EINVAL, @@ -1334,7 +1334,7 @@ i40e_flow_parse_vxlan_pattern(const struct rte_flow_item *pattern, break; case RTE_FLOW_ITEM_TYPE_UDP: /* UDP is used to describe protocol, - * spec amd mask should be NULL. + * spec and mask should be NULL. */ if (item->spec || item->mask) { rte_flow_error_set(error, EINVAL,