On flow table creation, send the relevant flags according to what the FW currently supports. When FW doesn't support reformat option over SW-steering managed table, the driver shouldn't pass this.
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -688,7 +688,10 @@ struct mlx5_ifc_flow_table_nic_cap_bits { · 687 unmodified lines | |||
| 688 | u8 nic_rx_multi_path_tirs[0x1]; | 688 | u8 nic_rx_multi_path_tirs[0x1]; |
| 689 | u8 nic_rx_multi_path_tirs_fts[0x1]; | 689 | u8 nic_rx_multi_path_tirs_fts[0x1]; |
| 690 | u8 allow_sniffer_and_nic_rx_shared_tir[0x1]; | 690 | u8 allow_sniffer_and_nic_rx_shared_tir[0x1]; |
| 691 | u8 reserved_at_3[0x1d]; | 691 | u8 reserved_at_3[0x4]; |
| 692 | u8 sw_owner_reformat_supported[0x1]; | ||
| 693 | u8 reserved_at_8[0x18]; | ||
| 694 | |||
| 692 | u8 encap_general_header[0x1]; | 695 | u8 encap_general_header[0x1]; |
| 693 | u8 reserved_at_21[0xa]; | 696 | u8 reserved_at_21[0xa]; |
| 694 | u8 log_max_packet_reformat_context[0x5]; | 697 | u8 log_max_packet_reformat_context[0x5]; |