From: Rami Rosen Date: Mon, 27 Feb 2017 04:53:59 +0000 (-0500) Subject: net/i40e: fix a typo in flow X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d04e7d3d560442e2a4fa66ac7b6a4e43e803042b;p=dpdk.git net/i40e: fix a typo in flow 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 --- diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c index c6e4d877c7..f163ce5643 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,