net/mlx5: Eswitch, enable forwarding back to uplink port
Add dependencny on cap termination_table_raw_traffic to allow non encapsulated packets received from uplink to be forwarded back to the received uplink port. Refactor the conditions into a separate function. Signed-off-by: Eli Cohen <eli@mellanox.com> Reviewed-by: Oz Shlomo <ozsh@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
This commit is contained in:

committed by
Saeed Mahameed

parent
249ccc3c95
commit
613f53fe09
@@ -416,7 +416,8 @@ struct mlx5_ifc_flow_table_prop_layout_bits {
|
||||
u8 termination_table[0x1];
|
||||
u8 reformat_and_fwd_to_table[0x1];
|
||||
u8 reserved_at_1a[0x6];
|
||||
u8 reserved_at_20[0x2];
|
||||
u8 termination_table_raw_traffic[0x1];
|
||||
u8 reserved_at_21[0x1];
|
||||
u8 log_max_ft_size[0x6];
|
||||
u8 log_max_modify_header_context[0x8];
|
||||
u8 max_modify_header_actions[0x8];
|
||||
|
Reference in New Issue
Block a user