Skip to content

Commit

Permalink
tests: Remove FW reformat check for SW tables
Browse files Browse the repository at this point in the history
[ Upstream commit efa9333 ]

Only FW tables (root) have restriction for reformat, SW tables
(non-root) always support reformat action.

Fixes: 848e286 ("tests: Extend dr-reformat action test")
Signed-off-by: Daria Velikovsky <[email protected]>
Signed-off-by: Edward Srouji <[email protected]>
Signed-off-by: Nicolas Morey <[email protected]>
  • Loading branch information
dariavel authored and nmorey committed Oct 16, 2023
1 parent 362d074 commit 5b64f38
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/test_mlx5_dr.py
Expand Up @@ -975,7 +975,6 @@ def test_roce_bth_match_tx(self):
"""
self.roce_bth_match(domain_flag=dve.MLX5DV_DR_DOMAIN_TYPE_NIC_TX)

@requires_reformat_support
@skip_unsupported
def test_packet_reformat_l2_gre(self):
"""
Expand All @@ -998,7 +997,6 @@ def test_packet_reformat_root_l2_gre(self):
encap_header = self.gen_gre_tunnel_encap_header(self.client.msg_size, is_l2_tunnel=True)
self.packet_reformat_actions(outer=encap_header, root_only=True)

@requires_reformat_support
@skip_unsupported
def test_packet_reformat_l3_gre(self):
"""
Expand All @@ -1021,7 +1019,6 @@ def test_packet_reformat_root_l3_gre(self):
encap_header = self.gen_gre_tunnel_encap_header(self.client.msg_size, is_l2_tunnel=False)
self.packet_reformat_actions(outer=encap_header, root_only=True, l2_ref_type=False)

@requires_reformat_support
@skip_unsupported
def test_packet_reformat_l2_geneve(self):
"""
Expand All @@ -1044,7 +1041,6 @@ def test_packet_reformat_root_l2_geneve(self):
encap_header = self.gen_geneve_tunnel_encap_header(self.client.msg_size, is_l2_tunnel=True)
self.packet_reformat_actions(outer=encap_header, root_only=True)

@requires_reformat_support
@skip_unsupported
def test_packet_reformat_l3_geneve(self):
"""
Expand Down

0 comments on commit 5b64f38

Please sign in to comment.