From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id BEA82A492 for ; Fri, 12 Jan 2018 22:02:41 +0100 (CET) Received: by mail-wm0-f68.google.com with SMTP id x4so3988932wmc.0 for ; Fri, 12 Jan 2018 13:02:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=GPZYvVbRFZitdYU0bY5wTWI+lbJk0PzOpFLHmUGt7YA=; b=lqkLZ3pE8SK9IazfwltU0TxMJkqR5c/JSDbFD3ufetfhJjF/LvOZ2aGfMMYFpXBG/g y2illIwhChH2m6iyKHhAs6UrMPEZJe4Aw85KdOgntaUK9MYXPcB8i/kJep2lCY3vata0 Vb4+i49hZjIv07WHvC0hBJcp3IkDiITeUAH0KR7vdKhZ81CwaSeOVYeCje+aty2UHtFr sVnpxm4QFlOJ9ilTtzOVgw21V9i4LBM30PY6V4cq4fgup/LBM9diEMPvC28gK51pgfoK jK8FOOtc1pP2xBMEC07FBdYqFtU6yG7u/0nouelu7NhRFbJS4scdkn0hI268pjfTQvxM s3aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=GPZYvVbRFZitdYU0bY5wTWI+lbJk0PzOpFLHmUGt7YA=; b=IVcgOTlOTi38Ic+BJC1v1dAvKFHdDQUui/4eh/X5gP9ZMSuepWtd2XxcQCQHlJGFzI XAtHMLhBaxPn4Cci7Dn73gsSE1eKEFH1ULDqrqF/0BvGRg/coMNbSOEmpd34wtILOQuP gBqr0ZDmwQ+DA4UXmpMnjC33Yki+j9LekLXtS2v7KcqssuHWxNVLgwew1IW4u/U4S1tr ay8gIsP20tzI9Oxxw6SWZAOFqo+8TJCJNnnnMlP/pWBG9FJ/92s8WyO329hfZFtvmEV/ 6fJ7Xgs2t1vrlrzY/at4s/DwI889uhlJ5M9og5N4WXApVFwQWIfUkEuNtl6tYpNTyepC JNsQ== X-Gm-Message-State: AKwxytfVZnHeblpIAU/lUD3Uh2TAO1Uc49vCCy0oFGwY7DbJh9hLZVz7 NmAoBchajmfk0zJvL+KoVehXMA== X-Google-Smtp-Source: ACJfBot2EEQmRyz9rMxK29Qw/j32b+aNB+2e5tia52fNp7UlN6/um3ddLbx3v6AllfVAbZhIUUIiEQ== X-Received: by 10.80.215.23 with SMTP id t23mr12701283edi.85.1515790961368; Fri, 12 Jan 2018 13:02:41 -0800 (PST) Received: from nslrack08.ssvl.kth.se ([2001:6b0:32:13:eef4:bbff:fed5:fe0d]) by smtp.gmail.com with ESMTPSA id k11sm5769559eda.22.2018.01.12.13.02.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Jan 2018 13:02:40 -0800 (PST) From: Georgios Katsikas To: olivier.matz@6wind.com Cc: dev@dpdk.org, Georgios Katsikas Date: Fri, 12 Jan 2018 22:01:26 +0100 Message-Id: <1515790887-64502-2-git-send-email-george.dit@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1515790887-64502-1-git-send-email-george.dit@gmail.com> References: <1515790887-64502-1-git-send-email-george.dit@gmail.com> Subject: [dpdk-dev] [PATCH 2/3] app/testpmd: Added new line and parenthesized macros 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: Fri, 12 Jan 2018 21:02:42 -0000 Signed-off-by: Georgios Katsikas --- lib/librte_cmdline/cmdline_flow.h | 2 +- lib/librte_ether/rte_flow.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/librte_cmdline/cmdline_flow.h b/lib/librte_cmdline/cmdline_flow.h index 45219d5..7066254 100644 --- a/lib/librte_cmdline/cmdline_flow.h +++ b/lib/librte_cmdline/cmdline_flow.h @@ -1849,4 +1849,4 @@ static const struct token token_list[] = { } #endif -#endif /* _CMDLINE_FLOW_H_ */ \ No newline at end of file +#endif /* _CMDLINE_FLOW_H_ */ diff --git a/lib/librte_ether/rte_flow.h b/lib/librte_ether/rte_flow.h index a63153e..c2184b6 100644 --- a/lib/librte_ether/rte_flow.h +++ b/lib/librte_ether/rte_flow.h @@ -854,7 +854,7 @@ struct rte_flow_item { /** Generate flow_item[] entry. */ #define MK_FLOW_ITEM(t, s) \ - [RTE_FLOW_ITEM_TYPE_ ## t] = { \ + [(RTE_FLOW_ITEM_TYPE_ ## t)] = { \ .name = # t, \ .size = s, \ } @@ -1167,7 +1167,7 @@ struct rte_flow_action { /** Generate flow_action[] entry. */ #define MK_FLOW_ACTION(t, s) \ - [RTE_FLOW_ACTION_TYPE_ ## t] = { \ + [(RTE_FLOW_ACTION_TYPE_ ## t)] = { \ .name = # t, \ .size = s, \ } -- 2.7.4