[dpdk-dev,v2] net/mlx5: revert support in IPv4 time-to-live filter

Message ID 20180207143432.114645-1-shahafs@mellanox.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Shahaf Shuler Feb. 7, 2018, 2:34 p.m. UTC
  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")
Cc: nelio.laranjeiro@6wind.com

Signed-off-by: Shahaf Shuler <shahafs@mellanox.com>
---
On v2:
 - Changed commit log.
---

 doc/guides/rel_notes/release_18_02.rst | 1 -
 drivers/net/mlx5/mlx5_flow.c           | 1 -
 2 files changed, 2 deletions(-)
  

Patch

diff --git a/doc/guides/rel_notes/release_18_02.rst b/doc/guides/rel_notes/release_18_02.rst
index 32067969f..0d4630335 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 822705060..f88ece123 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,