From 282da936f9ecc7ea60a7f48729af97e25c447fe6 Mon Sep 17 00:00:00 2001 From: Shahaf Shuler Date: Wed, 7 Feb 2018 16:34:32 +0200 Subject: [PATCH] net/mlx5: revert support of IPv4 time-to-live filter Neither upstream kernel nor MLNX_OFED support such filter. There is no point announcing this feature. Reverts commit 0fb2c9842b20 ("net/mlx5: support IPv4 time-to-live filter") Fixes: 0fb2c9842b20 ("net/mlx5: support IPv4 time-to-live filter") Signed-off-by: Shahaf Shuler Acked-by: Nelio Laranjeiro --- doc/guides/rel_notes/release_18_02.rst | 1 - drivers/net/mlx5/mlx5_flow.c | 1 - 2 files changed, 2 deletions(-) diff --git a/doc/guides/rel_notes/release_18_02.rst b/doc/guides/rel_notes/release_18_02.rst index 32067969f2..0d46303357 100644 --- a/doc/guides/rel_notes/release_18_02.rst +++ b/doc/guides/rel_notes/release_18_02.rst @@ -94,7 +94,6 @@ New Features * Improved multi-segment packet performance. * Changed driver name to use the PCI address to be compatible with OVS-DPDK APIs. * Extended statistics for physical port packet/byte counters. - * Supported IPv4 time-to-live filter. * Converted to the new offloads API. * Supported device removal check operation. diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c index 8227050604..f88ece123b 100644 --- a/drivers/net/mlx5/mlx5_flow.c +++ b/drivers/net/mlx5/mlx5_flow.c @@ -313,7 +313,6 @@ static const struct mlx5_flow_items mlx5_flow_items[] = { .dst_addr = -1, .type_of_service = -1, .next_proto_id = -1, - .time_to_live = -1, }, }, .default_mask = &rte_flow_item_ipv4_mask, -- 2.20.1