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

Shahaf Shuler shahafs at mellanox.com
Wed Feb 7 15:23:36 CET 2018


Nor upstream kernel nor MLNX_OFED support such filter.

Reverts commit 0fb2c9842b20 ("net/mlx5: support IPv4 time-to-live filter")
Cc: nelio.laranjeiro at 6wind.com

Signed-off-by: Shahaf Shuler <shahafs at mellanox.com>
---
 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 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,
-- 
2.12.0



More information about the dev mailing list