summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorThomas Monjalon <thomas.monjalon@6wind.com>2015-08-31 17:18:22 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2015-09-03 19:22:48 +0200
commit51c764c1d71f47ecc57a6b2d40a1040048b7ed9f (patch)
tree3dfbd8884611dc705472588cd916c396fb2bb877 /app
parentab351fe1c95cc56f3c73066b1697f5590ef5c301 (diff)
downloaddpdk-51c764c1d71f47ecc57a6b2d40a1040048b7ed9f.zip
dpdk-51c764c1d71f47ecc57a6b2d40a1040048b7ed9f.tar.gz
dpdk-51c764c1d71f47ecc57a6b2d40a1040048b7ed9f.tar.xz
ethdev: remove SCTP flow entries switch
The extended SCTP flow entries are now part of the standard API. Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Neil Horman <nhorman@tuxdriver.com>
Diffstat (limited to 'app')
-rw-r--r--app/test-pmd/cmdline.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 5799c9c..0f8f48f 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd/cmdline.c
@@ -7888,12 +7888,10 @@ cmd_flow_director_filter_parsed(void *parsed_result,
IPV4_ADDR_TO_UINT(res->ip_src,
entry.input.flow.sctp4_flow.ip.src_ip);
/* need convert to big endian. */
-#ifdef RTE_NEXT_ABI
entry.input.flow.sctp4_flow.dst_port =
rte_cpu_to_be_16(res->port_dst);
entry.input.flow.sctp4_flow.src_port =
rte_cpu_to_be_16(res->port_src);
-#endif
entry.input.flow.sctp4_flow.verify_tag =
rte_cpu_to_be_32(res->verify_tag_value);
break;
@@ -7917,12 +7915,10 @@ cmd_flow_director_filter_parsed(void *parsed_result,
IPV6_ADDR_TO_ARRAY(res->ip_src,
entry.input.flow.sctp6_flow.ip.src_ip);
/* need convert to big endian. */
-#ifdef RTE_NEXT_ABI
entry.input.flow.sctp6_flow.dst_port =
rte_cpu_to_be_16(res->port_dst);
entry.input.flow.sctp6_flow.src_port =
rte_cpu_to_be_16(res->port_src);
-#endif
entry.input.flow.sctp6_flow.verify_tag =
rte_cpu_to_be_32(res->verify_tag_value);
break;